Class ColumnDescription (0.50.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
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

LOOKUP_DETAILS_FIELD_NUMBER

public static final int LOOKUP_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RELATIONSHIP_DETAILS_FIELD_NUMBER

public static final int RELATIONSHIP_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ColumnDescription getDefaultInstance()
Returns
Type Description
ColumnDescription

getDescriptor()

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

newBuilder()

public static ColumnDescription.Builder newBuilder()
Returns
Type Description
ColumnDescription.Builder

newBuilder(ColumnDescription prototype)

public static ColumnDescription.Builder newBuilder(ColumnDescription prototype)
Parameter
Name Description
prototype ColumnDescription
Returns
Type Description
ColumnDescription.Builder

parseDelimitedFrom(InputStream input)

public static ColumnDescription parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ColumnDescription
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDescription
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ColumnDescription parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ColumnDescription
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDescription
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ColumnDescription parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ColumnDescription
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDescription
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ColumnDescription parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ColumnDescription
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDescription
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ColumnDescription parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ColumnDescription
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDescription
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ColumnDescription parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ColumnDescription
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ColumnDescription parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDescription
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ColumnDescription> parser()
Returns
Type Description
Parser<ColumnDescription>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
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

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

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.

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.

getParserForType()

public Parser<ColumnDescription> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
RelationshipDetailsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ColumnDescription.Builder newBuilderForType()
Returns
Type Description
ColumnDescription.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ColumnDescription.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ColumnDescription.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ColumnDescription.Builder toBuilder()
Returns
Type Description
ColumnDescription.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException