public static final class Field.Builder extends GeneratedMessageV3.Builder<Field.Builder> implements FieldOrBuilder
A field in a schema.
Protobuf type google.cloud.geminidataanalytics.v1beta.Field
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Field.BuilderImplements
FieldOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSubfields(Iterable<? extends Field> values)
public Field.Builder addAllSubfields(Iterable<? extends Field> values)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.Field> |
Returns | |
---|---|
Type | Description |
Field.Builder |
addAllSynonyms(Iterable<String> values)
public Field.Builder addAllSynonyms(Iterable<String> values)
Optional. A list of alternative names or synonyms that can be used to refer to this field. For example: ["id", "customerid", "cust_id"]
repeated string synonyms = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The synonyms to add. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
addAllTags(Iterable<String> values)
public Field.Builder addAllTags(Iterable<String> values)
Optional. A list of tags or keywords associated with the field, used for categorization. For example: ["identifier", "customer", "pii"]
repeated string tags = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The tags to add. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Field.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Field.Builder |
addSubfields(Field value)
public Field.Builder addSubfields(Field value)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Field |
Returns | |
---|---|
Type | Description |
Field.Builder |
addSubfields(Field.Builder builderForValue)
public Field.Builder addSubfields(Field.Builder builderForValue)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Field.Builder |
Returns | |
---|---|
Type | Description |
Field.Builder |
addSubfields(int index, Field value)
public Field.Builder addSubfields(int index, Field value)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Field |
Returns | |
---|---|
Type | Description |
Field.Builder |
addSubfields(int index, Field.Builder builderForValue)
public Field.Builder addSubfields(int index, Field.Builder builderForValue)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Field.Builder |
Returns | |
---|---|
Type | Description |
Field.Builder |
addSubfieldsBuilder()
public Field.Builder addSubfieldsBuilder()
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
addSubfieldsBuilder(int index)
public Field.Builder addSubfieldsBuilder(int index)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Field.Builder |
addSynonyms(String value)
public Field.Builder addSynonyms(String value)
Optional. A list of alternative names or synonyms that can be used to refer to this field. For example: ["id", "customerid", "cust_id"]
repeated string synonyms = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The synonyms to add. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
addSynonymsBytes(ByteString value)
public Field.Builder addSynonymsBytes(ByteString value)
Optional. A list of alternative names or synonyms that can be used to refer to this field. For example: ["id", "customerid", "cust_id"]
repeated string synonyms = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the synonyms to add. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
addTags(String value)
public Field.Builder addTags(String value)
Optional. A list of tags or keywords associated with the field, used for categorization. For example: ["identifier", "customer", "pii"]
repeated string tags = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The tags to add. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
addTagsBytes(ByteString value)
public Field.Builder addTagsBytes(ByteString value)
Optional. A list of tags or keywords associated with the field, used for categorization. For example: ["identifier", "customer", "pii"]
repeated string tags = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the tags to add. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
build()
public Field build()
Returns | |
---|---|
Type | Description |
Field |
buildPartial()
public Field buildPartial()
Returns | |
---|---|
Type | Description |
Field |
clear()
public Field.Builder clear()
Returns | |
---|---|
Type | Description |
Field.Builder |
clearCategory()
public Field.Builder clearCategory()
Optional. Field category, not required, currently only useful for Looker. We are using a string to avoid depending on an external package and keep this package self-contained.
string category = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
clearDescription()
public Field.Builder clearDescription()
Optional. A brief description of the field.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
clearDisplayName()
public Field.Builder clearDisplayName()
Optional. Field display_name (same as label in
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Field.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Field.Builder |
clearMode()
public Field.Builder clearMode()
Optional. The mode of the field (e.g., NULLABLE, REPEATED).
string mode = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
clearName()
public Field.Builder clearName()
Optional. The name of the field.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Field.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Field.Builder |
clearSubfields()
public Field.Builder clearSubfields()
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
clearSynonyms()
public Field.Builder clearSynonyms()
Optional. A list of alternative names or synonyms that can be used to refer to this field. For example: ["id", "customerid", "cust_id"]
repeated string synonyms = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
clearTags()
public Field.Builder clearTags()
Optional. A list of tags or keywords associated with the field, used for categorization. For example: ["identifier", "customer", "pii"]
repeated string tags = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
clearType()
public Field.Builder clearType()
Optional. The type of the field.
string type = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
clearValueFormat()
public Field.Builder clearValueFormat()
Optional. Looker only. Value format of the field. Ref: https://cloud.google.com/looker/docs/reference/param-field-value-format
string value_format = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
clone()
public Field.Builder clone()
Returns | |
---|---|
Type | Description |
Field.Builder |
getCategory()
public String getCategory()
Optional. Field category, not required, currently only useful for Looker. We are using a string to avoid depending on an external package and keep this package self-contained.
string category = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The category. |
getCategoryBytes()
public ByteString getCategoryBytes()
Optional. Field category, not required, currently only useful for Looker. We are using a string to avoid depending on an external package and keep this package self-contained.
string category = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for category. |
getDefaultInstanceForType()
public Field getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Field |
getDescription()
public String getDescription()
Optional. A brief description of the field.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. A brief description of the field.
string description = 3 [(.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. Field display_name (same as label in
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Field display_name (same as label in
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getMode()
public String getMode()
Optional. The mode of the field (e.g., NULLABLE, REPEATED).
string mode = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The mode. |
getModeBytes()
public ByteString getModeBytes()
Optional. The mode of the field (e.g., NULLABLE, REPEATED).
string mode = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for mode. |
getName()
public String getName()
Optional. The name of the field.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Optional. The name of the field.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getSubfields(int index)
public Field getSubfields(int index)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Field |
getSubfieldsBuilder(int index)
public Field.Builder getSubfieldsBuilder(int index)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Field.Builder |
getSubfieldsBuilderList()
public List<Field.Builder> getSubfieldsBuilderList()
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getSubfieldsCount()
public int getSubfieldsCount()
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getSubfieldsList()
public List<Field> getSubfieldsList()
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Field> |
getSubfieldsOrBuilder(int index)
public FieldOrBuilder getSubfieldsOrBuilder(int index)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FieldOrBuilder |
getSubfieldsOrBuilderList()
public List<? extends FieldOrBuilder> getSubfieldsOrBuilderList()
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.FieldOrBuilder> |
getSynonyms(int index)
public String getSynonyms(int index)
Optional. A list of alternative names or synonyms that can be used to refer to this field. For example: ["id", "customerid", "cust_id"]
repeated string synonyms = 6 [(.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 this field. For example: ["id", "customerid", "cust_id"]
repeated string synonyms = 6 [(.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 this field. For example: ["id", "customerid", "cust_id"]
repeated string synonyms = 6 [(.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 this field. For example: ["id", "customerid", "cust_id"]
repeated string synonyms = 6 [(.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 field, used for categorization. For example: ["identifier", "customer", "pii"]
repeated string tags = 7 [(.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 field, used for categorization. For example: ["identifier", "customer", "pii"]
repeated string tags = 7 [(.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 field, used for categorization. For example: ["identifier", "customer", "pii"]
repeated string tags = 7 [(.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 field, used for categorization. For example: ["identifier", "customer", "pii"]
repeated string tags = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the tags. |
getType()
public String getType()
Optional. The type of the field.
string type = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()
Optional. The type of the field.
string type = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for type. |
getValueFormat()
public String getValueFormat()
Optional. Looker only. Value format of the field. Ref: https://cloud.google.com/looker/docs/reference/param-field-value-format
string value_format = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The valueFormat. |
getValueFormatBytes()
public ByteString getValueFormatBytes()
Optional. Looker only. Value format of the field. Ref: https://cloud.google.com/looker/docs/reference/param-field-value-format
string value_format = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for valueFormat. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Field other)
public Field.Builder mergeFrom(Field other)
Parameter | |
---|---|
Name | Description |
other |
Field |
Returns | |
---|---|
Type | Description |
Field.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Field.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Field.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Field.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Field.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Field.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Field.Builder |
removeSubfields(int index)
public Field.Builder removeSubfields(int index)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Field.Builder |
setCategory(String value)
public Field.Builder setCategory(String value)
Optional. Field category, not required, currently only useful for Looker. We are using a string to avoid depending on an external package and keep this package self-contained.
string category = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The category to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setCategoryBytes(ByteString value)
public Field.Builder setCategoryBytes(ByteString value)
Optional. Field category, not required, currently only useful for Looker. We are using a string to avoid depending on an external package and keep this package self-contained.
string category = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for category to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setDescription(String value)
public Field.Builder setDescription(String value)
Optional. A brief description of the field.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Field.Builder setDescriptionBytes(ByteString value)
Optional. A brief description of the field.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setDisplayName(String value)
public Field.Builder setDisplayName(String value)
Optional. Field display_name (same as label in
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Field.Builder setDisplayNameBytes(ByteString value)
Optional. Field display_name (same as label in
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Field.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Field.Builder |
setMode(String value)
public Field.Builder setMode(String value)
Optional. The mode of the field (e.g., NULLABLE, REPEATED).
string mode = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The mode to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setModeBytes(ByteString value)
public Field.Builder setModeBytes(ByteString value)
Optional. The mode of the field (e.g., NULLABLE, REPEATED).
string mode = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for mode to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setName(String value)
public Field.Builder setName(String value)
Optional. The name of the field.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Field.Builder setNameBytes(ByteString value)
Optional. The name of the field.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Field.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Field.Builder |
setSubfields(int index, Field value)
public Field.Builder setSubfields(int index, Field value)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Field |
Returns | |
---|---|
Type | Description |
Field.Builder |
setSubfields(int index, Field.Builder builderForValue)
public Field.Builder setSubfields(int index, Field.Builder builderForValue)
Optional. Recursive property for nested schema structures.
repeated .google.cloud.geminidataanalytics.v1beta.Field subfields = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Field.Builder |
Returns | |
---|---|
Type | Description |
Field.Builder |
setSynonyms(int index, String value)
public Field.Builder setSynonyms(int index, String value)
Optional. A list of alternative names or synonyms that can be used to refer to this field. For example: ["id", "customerid", "cust_id"]
repeated string synonyms = 6 [(.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 |
Field.Builder |
This builder for chaining. |
setTags(int index, String value)
public Field.Builder setTags(int index, String value)
Optional. A list of tags or keywords associated with the field, used for categorization. For example: ["identifier", "customer", "pii"]
repeated string tags = 7 [(.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 |
Field.Builder |
This builder for chaining. |
setType(String value)
public Field.Builder setType(String value)
Optional. The type of the field.
string type = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The type to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public Field.Builder setTypeBytes(ByteString value)
Optional. The type of the field.
string type = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for type to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Field.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Field.Builder |
setValueFormat(String value)
public Field.Builder setValueFormat(String value)
Optional. Looker only. Value format of the field. Ref: https://cloud.google.com/looker/docs/reference/param-field-value-format
string value_format = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The valueFormat to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |
setValueFormatBytes(ByteString value)
public Field.Builder setValueFormatBytes(ByteString value)
Optional. Looker only. Value format of the field. Ref: https://cloud.google.com/looker/docs/reference/param-field-value-format
string value_format = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for valueFormat to set. |
Returns | |
---|---|
Type | Description |
Field.Builder |
This builder for chaining. |