public final class ColumnDescription extends GeneratedMessageV3 implements ColumnDescriptionOrBuilder
Details on a column in the table.
Protobuf type google.area120.tables.v1alpha1.ColumnDescription
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ColumnDescription.Builder newBuilder()
newBuilder(ColumnDescription prototype)
public static ColumnDescription.Builder newBuilder(ColumnDescription prototype)
public static ColumnDescription parseDelimitedFrom(InputStream input)
public static ColumnDescription parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ColumnDescription parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ColumnDescription parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ColumnDescription parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ColumnDescription parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ColumnDescription parseFrom(CodedInputStream input)
public static ColumnDescription parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ColumnDescription parseFrom(InputStream input)
public static ColumnDescription parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ColumnDescription parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ColumnDescription parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ColumnDescription> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
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
|
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];
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
|
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];
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];
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()
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];
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];
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ColumnDescription.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ColumnDescription.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ColumnDescription.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides