public static final class Schema.Builder extends GeneratedMessageV3.Builder<Schema.Builder> implements SchemaOrBuilder
The schema of a Datasource or QueryResult instance.
Protobuf type google.cloud.geminidataanalytics.v1beta.Schema
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Schema.BuilderImplements
SchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFields(Iterable<? extends Field> values)
public Schema.Builder addAllFields(Iterable<? extends Field> values)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.Field> |
Returns | |
---|---|
Type | Description |
Schema.Builder |
addAllFilters(Iterable<? extends DataFilter> values)
public Schema.Builder addAllFilters(Iterable<? extends DataFilter> values)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.DataFilter> |
Returns | |
---|---|
Type | Description |
Schema.Builder |
addAllSynonyms(Iterable<String> values)
public Schema.Builder addAllSynonyms(Iterable<String> values)
Optional. A list of alternative names or synonyms that can be used to refer to the table. For example: ["sales", "orders", "purchases"]
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The synonyms to add. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
addAllTags(Iterable<String> values)
public Schema.Builder addAllTags(Iterable<String> values)
Optional. A list of tags or keywords associated with the table, used for categorization. For example: ["transaction", "revenue", "customer_data"]
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The tags to add. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
addFields(Field value)
public Schema.Builder addFields(Field value)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Field |
Returns | |
---|---|
Type | Description |
Schema.Builder |
addFields(Field.Builder builderForValue)
public Schema.Builder addFields(Field.Builder builderForValue)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Field.Builder |
Returns | |
---|---|
Type | Description |
Schema.Builder |
addFields(int index, Field value)
public Schema.Builder addFields(int index, Field value)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Field |
Returns | |
---|---|
Type | Description |
Schema.Builder |
addFields(int index, Field.Builder builderForValue)
public Schema.Builder addFields(int index, Field.Builder builderForValue)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Field.Builder |
Returns | |
---|---|
Type | Description |
Schema.Builder |
addFieldsBuilder()
public Field.Builder addFieldsBuilder()
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
addFieldsBuilder(int index)
public Field.Builder addFieldsBuilder(int index)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Field.Builder |
addFilters(DataFilter value)
public Schema.Builder addFilters(DataFilter value)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
DataFilter |
Returns | |
---|---|
Type | Description |
Schema.Builder |
addFilters(DataFilter.Builder builderForValue)
public Schema.Builder addFilters(DataFilter.Builder builderForValue)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
DataFilter.Builder |
Returns | |
---|---|
Type | Description |
Schema.Builder |
addFilters(int index, DataFilter value)
public Schema.Builder addFilters(int index, DataFilter value)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
DataFilter |
Returns | |
---|---|
Type | Description |
Schema.Builder |
addFilters(int index, DataFilter.Builder builderForValue)
public Schema.Builder addFilters(int index, DataFilter.Builder builderForValue)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
DataFilter.Builder |
Returns | |
---|---|
Type | Description |
Schema.Builder |
addFiltersBuilder()
public DataFilter.Builder addFiltersBuilder()
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DataFilter.Builder |
addFiltersBuilder(int index)
public DataFilter.Builder addFiltersBuilder(int index)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DataFilter.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Schema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Schema.Builder |
addSynonyms(String value)
public Schema.Builder addSynonyms(String value)
Optional. A list of alternative names or synonyms that can be used to refer to the table. For example: ["sales", "orders", "purchases"]
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The synonyms to add. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
addSynonymsBytes(ByteString value)
public Schema.Builder addSynonymsBytes(ByteString value)
Optional. A list of alternative names or synonyms that can be used to refer to the table. For example: ["sales", "orders", "purchases"]
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the synonyms to add. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
addTags(String value)
public Schema.Builder addTags(String value)
Optional. A list of tags or keywords associated with the table, used for categorization. For example: ["transaction", "revenue", "customer_data"]
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The tags to add. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
addTagsBytes(ByteString value)
public Schema.Builder addTagsBytes(ByteString value)
Optional. A list of tags or keywords associated with the table, used for categorization. For example: ["transaction", "revenue", "customer_data"]
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the tags to add. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
build()
public Schema build()
Returns | |
---|---|
Type | Description |
Schema |
buildPartial()
public Schema buildPartial()
Returns | |
---|---|
Type | Description |
Schema |
clear()
public Schema.Builder clear()
Returns | |
---|---|
Type | Description |
Schema.Builder |
clearDescription()
public Schema.Builder clearDescription()
Optional. A textual description of the table's content and purpose. For example: "Contains information about customer orders in our e-commerce store."
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
clearDisplayName()
public Schema.Builder clearDisplayName()
Optional. Table display_name (same as label in cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not required, currently only Looker has this field.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Schema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Schema.Builder |
clearFields()
public Schema.Builder clearFields()
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Schema.Builder |
clearFilters()
public Schema.Builder clearFilters()
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Schema.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Schema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Schema.Builder |
clearSynonyms()
public Schema.Builder clearSynonyms()
Optional. A list of alternative names or synonyms that can be used to refer to the table. For example: ["sales", "orders", "purchases"]
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
clearTags()
public Schema.Builder clearTags()
Optional. A list of tags or keywords associated with the table, used for categorization. For example: ["transaction", "revenue", "customer_data"]
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
clone()
public Schema.Builder clone()
Returns | |
---|---|
Type | Description |
Schema.Builder |
getDefaultInstanceForType()
public Schema getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Schema |
getDescription()
public String getDescription()
Optional. A textual description of the table's content and purpose. For example: "Contains information about customer orders in our e-commerce store."
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. A textual description of the table's content and purpose. For example: "Contains information about customer orders in our e-commerce store."
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Optional. Table display_name (same as label in cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not required, currently only Looker has this field.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Table display_name (same as label in cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not required, currently only Looker has this field.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getFields(int index)
public Field getFields(int index)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Field |
getFieldsBuilder(int index)
public Field.Builder getFieldsBuilder(int index)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Field.Builder |
getFieldsBuilderList()
public List<Field.Builder> getFieldsBuilderList()
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getFieldsCount()
public int getFieldsCount()
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getFieldsList()
public List<Field> getFieldsList()
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Field> |
getFieldsOrBuilder(int index)
public FieldOrBuilder getFieldsOrBuilder(int index)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FieldOrBuilder |
getFieldsOrBuilderList()
public List<? extends FieldOrBuilder> getFieldsOrBuilderList()
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.FieldOrBuilder> |
getFilters(int index)
public DataFilter getFilters(int index)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DataFilter |
getFiltersBuilder(int index)
public DataFilter.Builder getFiltersBuilder(int index)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DataFilter.Builder |
getFiltersBuilderList()
public List<DataFilter.Builder> getFiltersBuilderList()
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getFiltersCount()
public int getFiltersCount()
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getFiltersList()
public List<DataFilter> getFiltersList()
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<DataFilter> |
getFiltersOrBuilder(int index)
public DataFilterOrBuilder getFiltersOrBuilder(int index)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DataFilterOrBuilder |
getFiltersOrBuilderList()
public List<? extends DataFilterOrBuilder> getFiltersOrBuilderList()
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.DataFilterOrBuilder> |
getSynonyms(int index)
public String getSynonyms(int index)
Optional. A list of alternative names or synonyms that can be used to refer to the table. For example: ["sales", "orders", "purchases"]
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The synonyms at the given index. |
getSynonymsBytes(int index)
public ByteString getSynonymsBytes(int index)
Optional. A list of alternative names or synonyms that can be used to refer to the table. For example: ["sales", "orders", "purchases"]
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the synonyms at the given index. |
getSynonymsCount()
public int getSynonymsCount()
Optional. A list of alternative names or synonyms that can be used to refer to the table. For example: ["sales", "orders", "purchases"]
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of synonyms. |
getSynonymsList()
public ProtocolStringList getSynonymsList()
Optional. A list of alternative names or synonyms that can be used to refer to the table. For example: ["sales", "orders", "purchases"]
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the synonyms. |
getTags(int index)
public String getTags(int index)
Optional. A list of tags or keywords associated with the table, used for categorization. For example: ["transaction", "revenue", "customer_data"]
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The tags at the given index. |
getTagsBytes(int index)
public ByteString getTagsBytes(int index)
Optional. A list of tags or keywords associated with the table, used for categorization. For example: ["transaction", "revenue", "customer_data"]
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the tags at the given index. |
getTagsCount()
public int getTagsCount()
Optional. A list of tags or keywords associated with the table, used for categorization. For example: ["transaction", "revenue", "customer_data"]
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of tags. |
getTagsList()
public ProtocolStringList getTagsList()
Optional. A list of tags or keywords associated with the table, used for categorization. For example: ["transaction", "revenue", "customer_data"]
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the tags. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Schema other)
public Schema.Builder mergeFrom(Schema other)
Parameter | |
---|---|
Name | Description |
other |
Schema |
Returns | |
---|---|
Type | Description |
Schema.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Schema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Schema.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Schema.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Schema.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Schema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Schema.Builder |
removeFields(int index)
public Schema.Builder removeFields(int index)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Schema.Builder |
removeFilters(int index)
public Schema.Builder removeFilters(int index)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Schema.Builder |
setDescription(String value)
public Schema.Builder setDescription(String value)
Optional. A textual description of the table's content and purpose. For example: "Contains information about customer orders in our e-commerce store."
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Schema.Builder setDescriptionBytes(ByteString value)
Optional. A textual description of the table's content and purpose. For example: "Contains information about customer orders in our e-commerce store."
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
setDisplayName(String value)
public Schema.Builder setDisplayName(String value)
Optional. Table display_name (same as label in cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not required, currently only Looker has this field.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Schema.Builder setDisplayNameBytes(ByteString value)
Optional. Table display_name (same as label in cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not required, currently only Looker has this field.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Schema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Schema.Builder |
setFields(int index, Field value)
public Schema.Builder setFields(int index, Field value)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Field |
Returns | |
---|---|
Type | Description |
Schema.Builder |
setFields(int index, Field.Builder builderForValue)
public Schema.Builder setFields(int index, Field.Builder builderForValue)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Field.Builder |
Returns | |
---|---|
Type | Description |
Schema.Builder |
setFilters(int index, DataFilter value)
public Schema.Builder setFilters(int index, DataFilter value)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
DataFilter |
Returns | |
---|---|
Type | Description |
Schema.Builder |
setFilters(int index, DataFilter.Builder builderForValue)
public Schema.Builder setFilters(int index, DataFilter.Builder builderForValue)
Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
DataFilter.Builder |
Returns | |
---|---|
Type | Description |
Schema.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Schema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Schema.Builder |
setSynonyms(int index, String value)
public Schema.Builder setSynonyms(int index, String value)
Optional. A list of alternative names or synonyms that can be used to refer to the table. For example: ["sales", "orders", "purchases"]
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The synonyms to set. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
setTags(int index, String value)
public Schema.Builder setTags(int index, String value)
Optional. A list of tags or keywords associated with the table, used for categorization. For example: ["transaction", "revenue", "customer_data"]
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The tags to set. |
Returns | |
---|---|
Type | Description |
Schema.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Schema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Schema.Builder |