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
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
LOOKUP_DETAILS_FIELD_NUMBER
public static final int LOOKUP_DETAILS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
RELATIONSHIP_DETAILS_FIELD_NUMBER
public static final int RELATIONSHIP_DETAILS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ColumnDescription getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ColumnDescription.Builder newBuilder()
Returns
newBuilder(ColumnDescription prototype)
public static ColumnDescription.Builder newBuilder(ColumnDescription prototype)
Parameter
Returns
public static ColumnDescription parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ColumnDescription parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ColumnDescription parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ColumnDescription parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ColumnDescription parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ColumnDescription parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ColumnDescription parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ColumnDescription parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ColumnDescription parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ColumnDescription parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ColumnDescription parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ColumnDescription parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ColumnDescription> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getDefaultInstanceForType()
public ColumnDescription getDefaultInstanceForType()
Returns
getId()
Internal id for a column.
string id = 3;
Returns
getIdBytes()
public ByteString getIdBytes()
Internal id for a column.
string id = 3;
Returns
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
Returns
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
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
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
Returns
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
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
getName()
column name
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
column name
string name = 1;
Returns
getParserForType()
public Parser<ColumnDescription> getParserForType()
Returns
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ColumnDescription.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ColumnDescription.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ColumnDescription.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions