Class ColumnDescription (0.40.0)

public final class ColumnDescription extends GeneratedMessageV3 implements ColumnDescriptionOrBuilder

Details on a column in the table.

Protobuf type google.area120.tables.v1alpha1.ColumnDescription

Static Fields

DATA_TYPE_FIELD_NUMBER

public static final int DATA_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

LOOKUP_DETAILS_FIELD_NUMBER

public static final int LOOKUP_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RELATIONSHIP_DETAILS_FIELD_NUMBER

public static final int RELATIONSHIP_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ColumnDescription getDefaultInstance()
Returns
TypeDescription
ColumnDescription

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ColumnDescription.Builder newBuilder()
Returns
TypeDescription
ColumnDescription.Builder

newBuilder(ColumnDescription prototype)

public static ColumnDescription.Builder newBuilder(ColumnDescription prototype)
Parameter
NameDescription
prototypeColumnDescription
Returns
TypeDescription
ColumnDescription.Builder

parseDelimitedFrom(InputStream input)

public static ColumnDescription parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ColumnDescription parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ColumnDescription parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ColumnDescription parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ColumnDescription parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ColumnDescription parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ColumnDescription> parser()
Returns
TypeDescription
Parser<ColumnDescription>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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

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.

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.

getParserForType()

public Parser<ColumnDescription> getParserForType()
Returns
TypeDescription
Parser<ColumnDescription>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ColumnDescription.Builder newBuilderForType()
Returns
TypeDescription
ColumnDescription.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ColumnDescription.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ColumnDescription.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ColumnDescription.Builder toBuilder()
Returns
TypeDescription
ColumnDescription.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException