Class ColumnDescription.Builder (0.24.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.area120.tables.v1alpha1.LabeledItem>
Returns
TypeDescription
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
NameDescription
valueLabeledItem
Returns
TypeDescription
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
NameDescription
builderForValueLabeledItem.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLabeledItem
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLabeledItem.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LabeledItem.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ColumnDescription.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ColumnDescription.Builder
Overrides

build()

public ColumnDescription build()
Returns
TypeDescription
ColumnDescription

buildPartial()

public ColumnDescription buildPartial()
Returns
TypeDescription
ColumnDescription

clear()

public ColumnDescription.Builder clear()
Returns
TypeDescription
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
TypeDescription
ColumnDescription.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ColumnDescription.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ColumnDescription.Builder
Overrides

clearId()

public ColumnDescription.Builder clearId()

Internal id for a column.

string id = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ColumnDescription.Builder

clearName()

public ColumnDescription.Builder clearName()

column name

string name = 1;

Returns
TypeDescription
ColumnDescription.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ColumnDescription.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ColumnDescription.Builder

clone()

public ColumnDescription.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataType.

getDefaultInstanceForType()

public ColumnDescription getDefaultInstanceForType()
Returns
TypeDescription
ColumnDescription

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

Internal id for a column.

string id = 3;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Internal id for a column.

string id = 3;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
LookupDetailsOrBuilder

getName()

public String getName()

column name

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

column name

string name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the relationshipDetails field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ColumnDescription other)

public ColumnDescription.Builder mergeFrom(ColumnDescription other)
Parameter
NameDescription
otherColumnDescription
Returns
TypeDescription
ColumnDescription.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ColumnDescription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnDescription.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ColumnDescription.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueLookupDetails
Returns
TypeDescription
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
NameDescription
valueRelationshipDetails
Returns
TypeDescription
ColumnDescription.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ColumnDescription.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The dataType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dataType to set.

Returns
TypeDescription
ColumnDescription.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ColumnDescription.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ColumnDescription.Builder
Overrides

setId(String value)

public ColumnDescription.Builder setId(String value)

Internal id for a column.

string id = 3;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
ColumnDescription.Builder

This builder for chaining.

setIdBytes(ByteString value)

public ColumnDescription.Builder setIdBytes(ByteString value)

Internal id for a column.

string id = 3;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
indexint
valueLabeledItem
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLabeledItem.Builder
Returns
TypeDescription
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
NameDescription
valueLookupDetails
Returns
TypeDescription
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
NameDescription
builderForValueLookupDetails.Builder
Returns
TypeDescription
ColumnDescription.Builder

setName(String value)

public ColumnDescription.Builder setName(String value)

column name

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ColumnDescription.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ColumnDescription.Builder setNameBytes(ByteString value)

column name

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueRelationshipDetails
Returns
TypeDescription
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
NameDescription
builderForValueRelationshipDetails.Builder
Returns
TypeDescription
ColumnDescription.Builder

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

public ColumnDescription.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ColumnDescription.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ColumnDescription.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ColumnDescription.Builder
Overrides