Class ColumnDescription

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.area120.tables.v1alpha1.ColumnDescription
All Implemented Interfaces:
ColumnDescriptionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ColumnDescription extends com.google.protobuf.GeneratedMessage implements ColumnDescriptionOrBuilder
 Details on a column in the table.
 
Protobuf type google.area120.tables.v1alpha1.ColumnDescription
See Also:
  • Field Details

  • 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
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ColumnDescription parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDescription parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDescription parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDescription parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDescription parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDescription parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ColumnDescription parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ColumnDescription parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ColumnDescription parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ColumnDescription parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ColumnDescription parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ColumnDescription.Builder newBuilder()
    • newBuilder

      public static ColumnDescription.Builder newBuilder(ColumnDescription prototype)
    • toBuilder

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

      protected ColumnDescription.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ColumnDescription getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ColumnDescription> parser()
    • getParserForType

      public com.google.protobuf.Parser<ColumnDescription> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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