Class ColumnDescription.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ColumnDescription.Builder>
com.google.area120.tables.v1alpha1.ColumnDescription.Builder
All Implemented Interfaces:
ColumnDescriptionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ColumnDescription

public static final class ColumnDescription.Builder extends com.google.protobuf.GeneratedMessage.Builder<ColumnDescription.Builder> implements ColumnDescriptionOrBuilder
 Details on a column in the table.
 
Protobuf type google.area120.tables.v1alpha1.ColumnDescription
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ColumnDescription.Builder>
    • clear

      public ColumnDescription.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ColumnDescription.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ColumnDescription.Builder>
    • getDefaultInstanceForType

      public ColumnDescription getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ColumnDescription build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ColumnDescription buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ColumnDescription.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ColumnDescription.Builder>
    • mergeFrom

      public ColumnDescription.Builder mergeFrom(ColumnDescription other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ColumnDescription.Builder>
    • mergeFrom

      public ColumnDescription.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ColumnDescription.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       column name
       
      string name = 1;
      Specified by:
      getName in interface ColumnDescriptionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       column name
       
      string name = 1;
      Specified by:
      getNameBytes in interface ColumnDescriptionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ColumnDescription.Builder setName(String value)
       column name
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ColumnDescription.Builder clearName()
       column name
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ColumnDescription.Builder setNameBytes(com.google.protobuf.ByteString value)
       column name
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getDataType in interface ColumnDescriptionOrBuilder
      Returns:
      The dataType.
    • getDataTypeBytes

      public com.google.protobuf.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;
      Specified by:
      getDataTypeBytes in interface ColumnDescriptionOrBuilder
      Returns:
      The bytes for dataType.
    • setDataType

      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;
      Parameters:
      value - The dataType to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setDataTypeBytes

      public ColumnDescription.Builder setDataTypeBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for dataType to set.
      Returns:
      This builder for chaining.
    • getId

      public String getId()
       Internal id for a column.
       
      string id = 3;
      Specified by:
      getId in interface ColumnDescriptionOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Internal id for a column.
       
      string id = 3;
      Specified by:
      getIdBytes in interface ColumnDescriptionOrBuilder
      Returns:
      The bytes for id.
    • setId

      public ColumnDescription.Builder setId(String value)
       Internal id for a column.
       
      string id = 3;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public ColumnDescription.Builder clearId()
       Internal id for a column.
       
      string id = 3;
      Returns:
      This builder for chaining.
    • setIdBytes

      public ColumnDescription.Builder setIdBytes(com.google.protobuf.ByteString value)
       Internal id for a column.
       
      string id = 3;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getLabelsList in interface ColumnDescriptionOrBuilder
    • 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];
      Specified by:
      getLabelsCount in interface ColumnDescriptionOrBuilder
    • getLabels

      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];
      Specified by:
      getLabels in interface ColumnDescriptionOrBuilder
    • setLabels

      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];
    • setLabels

      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];
    • addLabels

      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];
    • addLabels

      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];
    • addLabels

      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];
    • addLabels

      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];
    • addAllLabels

      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];
    • 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];
    • removeLabels

      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];
    • getLabelsBuilder

      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];
    • getLabelsOrBuilder

      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];
      Specified by:
      getLabelsOrBuilder in interface ColumnDescriptionOrBuilder
    • 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];
      Specified by:
      getLabelsOrBuilderList in interface ColumnDescriptionOrBuilder
    • 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];
    • addLabelsBuilder

      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];
    • 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];
    • 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];
      Specified by:
      hasRelationshipDetails in interface ColumnDescriptionOrBuilder
      Returns:
      Whether the relationshipDetails field is set.
    • 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];
      Specified by:
      getRelationshipDetails in interface ColumnDescriptionOrBuilder
      Returns:
      The relationshipDetails.
    • setRelationshipDetails

      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];
    • setRelationshipDetails

      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];
    • mergeRelationshipDetails

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getRelationshipDetailsOrBuilder in interface ColumnDescriptionOrBuilder
    • 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];
      Specified by:
      hasLookupDetails in interface ColumnDescriptionOrBuilder
      Returns:
      Whether the lookupDetails field is set.
    • 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];
      Specified by:
      getLookupDetails in interface ColumnDescriptionOrBuilder
      Returns:
      The lookupDetails.
    • setLookupDetails

      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];
    • setLookupDetails

      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];
    • mergeLookupDetails

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getLookupDetailsOrBuilder in interface ColumnDescriptionOrBuilder