Class ColumnDescription.Builder (0.53.0)

public static final class ColumnDescription.Builder extends GeneratedMessageV3.Builder<ColumnDescription.Builder> implements ColumnDescriptionOrBuilder

Details on a column in the table.

Protobuf type google.area120.tables.v1alpha1.ColumnDescription

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllLabels(Iterable<? extends LabeledItem> values)

public ColumnDescription.Builder addAllLabels(Iterable<? extends LabeledItem> values)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.area120.tables.v1alpha1.LabeledItem>
Returns
Type Description
ColumnDescription.Builder

addLabels(LabeledItem value)

public ColumnDescription.Builder addLabels(LabeledItem value)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value LabeledItem
Returns
Type Description
ColumnDescription.Builder

addLabels(LabeledItem.Builder builderForValue)

public ColumnDescription.Builder addLabels(LabeledItem.Builder builderForValue)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue LabeledItem.Builder
Returns
Type Description
ColumnDescription.Builder

addLabels(int index, LabeledItem value)

public ColumnDescription.Builder addLabels(int index, LabeledItem value)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value LabeledItem
Returns
Type Description
ColumnDescription.Builder

addLabels(int index, LabeledItem.Builder builderForValue)

public ColumnDescription.Builder addLabels(int index, LabeledItem.Builder builderForValue)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue LabeledItem.Builder
Returns
Type Description
ColumnDescription.Builder

addLabelsBuilder()

public LabeledItem.Builder addLabelsBuilder()

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LabeledItem.Builder

addLabelsBuilder(int index)

public LabeledItem.Builder addLabelsBuilder(int index)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
LabeledItem.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ColumnDescription.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ColumnDescription.Builder
Overrides

build()

public ColumnDescription build()
Returns
Type Description
ColumnDescription

buildPartial()

public ColumnDescription buildPartial()
Returns
Type Description
ColumnDescription

clear()

public ColumnDescription.Builder clear()
Returns
Type Description
ColumnDescription.Builder
Overrides

clearDataType()

public ColumnDescription.Builder clearDataType()

Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website.

string data_type = 2;

Returns
Type Description
ColumnDescription.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ColumnDescription.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ColumnDescription.Builder
Overrides

clearId()

public ColumnDescription.Builder clearId()

Internal id for a column.

string id = 3;

Returns
Type Description
ColumnDescription.Builder

This builder for chaining.

clearLabels()

public ColumnDescription.Builder clearLabels()

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ColumnDescription.Builder

clearLookupDetails()

public ColumnDescription.Builder clearLookupDetails()

Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.

.google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ColumnDescription.Builder

clearName()

public ColumnDescription.Builder clearName()

column name

string name = 1;

Returns
Type Description
ColumnDescription.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ColumnDescription.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ColumnDescription.Builder
Overrides

clearRelationshipDetails()

public ColumnDescription.Builder clearRelationshipDetails()

Optional. Additional details about a relationship column. Specified when data_type is relationship.

.google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ColumnDescription.Builder

clone()

public ColumnDescription.Builder clone()
Returns
Type Description
ColumnDescription.Builder
Overrides

getDataType()

public String getDataType()

Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website.

string data_type = 2;

Returns
Type Description
String

The dataType.

getDataTypeBytes()

public ByteString getDataTypeBytes()

Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website.

string data_type = 2;

Returns
Type Description
ByteString

The bytes for dataType.

getDefaultInstanceForType()

public ColumnDescription getDefaultInstanceForType()
Returns
Type Description
ColumnDescription

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getId()

public String getId()

Internal id for a column.

string id = 3;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Internal id for a column.

string id = 3;

Returns
Type Description
ByteString

The bytes for id.

getLabels(int index)

public LabeledItem getLabels(int index)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
LabeledItem

getLabelsBuilder(int index)

public LabeledItem.Builder getLabelsBuilder(int index)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
LabeledItem.Builder

getLabelsBuilderList()

public List<LabeledItem.Builder> getLabelsBuilderList()

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getLabelsCount()

public int getLabelsCount()

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsList()

public List<LabeledItem> getLabelsList()

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<LabeledItem>

getLabelsOrBuilder(int index)

public LabeledItemOrBuilder getLabelsOrBuilder(int index)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
LabeledItemOrBuilder

getLabelsOrBuilderList()

public List<? extends LabeledItemOrBuilder> getLabelsOrBuilderList()

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.area120.tables.v1alpha1.LabeledItemOrBuilder>

getLookupDetails()

public LookupDetails getLookupDetails()

Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.

.google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LookupDetails

The lookupDetails.

getLookupDetailsBuilder()

public LookupDetails.Builder getLookupDetailsBuilder()

Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.

.google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LookupDetails.Builder

getLookupDetailsOrBuilder()

public LookupDetailsOrBuilder getLookupDetailsOrBuilder()

Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.

.google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LookupDetailsOrBuilder

getName()

public String getName()

column name

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

column name

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getRelationshipDetails()

public RelationshipDetails getRelationshipDetails()

Optional. Additional details about a relationship column. Specified when data_type is relationship.

.google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RelationshipDetails

The relationshipDetails.

getRelationshipDetailsBuilder()

public RelationshipDetails.Builder getRelationshipDetailsBuilder()

Optional. Additional details about a relationship column. Specified when data_type is relationship.

.google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RelationshipDetails.Builder

getRelationshipDetailsOrBuilder()

public RelationshipDetailsOrBuilder getRelationshipDetailsOrBuilder()

Optional. Additional details about a relationship column. Specified when data_type is relationship.

.google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RelationshipDetailsOrBuilder

hasLookupDetails()

public boolean hasLookupDetails()

Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.

.google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the lookupDetails field is set.

hasRelationshipDetails()

public boolean hasRelationshipDetails()

Optional. Additional details about a relationship column. Specified when data_type is relationship.

.google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the relationshipDetails field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ColumnDescription other)

public ColumnDescription.Builder mergeFrom(ColumnDescription other)
Parameter
Name Description
other ColumnDescription
Returns
Type Description
ColumnDescription.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ColumnDescription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDescription.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ColumnDescription.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ColumnDescription.Builder
Overrides

mergeLookupDetails(LookupDetails value)

public ColumnDescription.Builder mergeLookupDetails(LookupDetails value)

Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.

.google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value LookupDetails
Returns
Type Description
ColumnDescription.Builder

mergeRelationshipDetails(RelationshipDetails value)

public ColumnDescription.Builder mergeRelationshipDetails(RelationshipDetails value)

Optional. Additional details about a relationship column. Specified when data_type is relationship.

.google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RelationshipDetails
Returns
Type Description
ColumnDescription.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ColumnDescription.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ColumnDescription.Builder
Overrides

removeLabels(int index)

public ColumnDescription.Builder removeLabels(int index)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ColumnDescription.Builder

setDataType(String value)

public ColumnDescription.Builder setDataType(String value)

Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website.

string data_type = 2;

Parameter
Name Description
value String

The dataType to set.

Returns
Type Description
ColumnDescription.Builder

This builder for chaining.

setDataTypeBytes(ByteString value)

public ColumnDescription.Builder setDataTypeBytes(ByteString value)

Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website.

string data_type = 2;

Parameter
Name Description
value ByteString

The bytes for dataType to set.

Returns
Type Description
ColumnDescription.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ColumnDescription.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ColumnDescription.Builder
Overrides

setId(String value)

public ColumnDescription.Builder setId(String value)

Internal id for a column.

string id = 3;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
ColumnDescription.Builder

This builder for chaining.

setIdBytes(ByteString value)

public ColumnDescription.Builder setIdBytes(ByteString value)

Internal id for a column.

string id = 3;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
ColumnDescription.Builder

This builder for chaining.

setLabels(int index, LabeledItem value)

public ColumnDescription.Builder setLabels(int index, LabeledItem value)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value LabeledItem
Returns
Type Description
ColumnDescription.Builder

setLabels(int index, LabeledItem.Builder builderForValue)

public ColumnDescription.Builder setLabels(int index, LabeledItem.Builder builderForValue)

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue LabeledItem.Builder
Returns
Type Description
ColumnDescription.Builder

setLookupDetails(LookupDetails value)

public ColumnDescription.Builder setLookupDetails(LookupDetails value)

Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.

.google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value LookupDetails
Returns
Type Description
ColumnDescription.Builder

setLookupDetails(LookupDetails.Builder builderForValue)

public ColumnDescription.Builder setLookupDetails(LookupDetails.Builder builderForValue)

Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.

.google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue LookupDetails.Builder
Returns
Type Description
ColumnDescription.Builder

setName(String value)

public ColumnDescription.Builder setName(String value)

column name

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ColumnDescription.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ColumnDescription.Builder setNameBytes(ByteString value)

column name

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ColumnDescription.Builder

This builder for chaining.

setRelationshipDetails(RelationshipDetails value)

public ColumnDescription.Builder setRelationshipDetails(RelationshipDetails value)

Optional. Additional details about a relationship column. Specified when data_type is relationship.

.google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RelationshipDetails
Returns
Type Description
ColumnDescription.Builder

setRelationshipDetails(RelationshipDetails.Builder builderForValue)

public ColumnDescription.Builder setRelationshipDetails(RelationshipDetails.Builder builderForValue)

Optional. Additional details about a relationship column. Specified when data_type is relationship.

.google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue RelationshipDetails.Builder
Returns
Type Description
ColumnDescription.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ColumnDescription.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ColumnDescription.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ColumnDescription.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ColumnDescription.Builder
Overrides