public final class Table extends com.google.protobuf.GeneratedMessageV3 implements TableOrBuilder
A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.Protobuf type
google.bigtable.admin.v2.Table| Modifier and Type | Class and Description |
|---|---|
static class |
Table.Builder
A collection of user data indexed by row, column, and timestamp.
|
static class |
Table.TimestampGranularity
Possible timestamp granularities to use when keeping multiple versions
of data in a table.
|
static class |
Table.View
Defines a view over a table's fields.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
COLUMN_FAMILIES_FIELD_NUMBER |
static int |
GRANULARITY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsColumnFamilies(String key)
The column families configured for this table, mapped by column family ID.
|
boolean |
equals(Object obj) |
Map<String,ColumnFamily> |
getColumnFamilies()
Deprecated.
|
int |
getColumnFamiliesCount()
The column families configured for this table, mapped by column family ID.
|
Map<String,ColumnFamily> |
getColumnFamiliesMap()
The column families configured for this table, mapped by column family ID.
|
ColumnFamily |
getColumnFamiliesOrDefault(String key,
ColumnFamily defaultValue)
The column families configured for this table, mapped by column family ID.
|
ColumnFamily |
getColumnFamiliesOrThrow(String key)
The column families configured for this table, mapped by column family ID.
|
static Table |
getDefaultInstance() |
Table |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Table.TimestampGranularity |
getGranularity()
The granularity (e.g.
|
int |
getGranularityValue()
The granularity (e.g.
|
String |
getName()
The unique name of the table.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique name of the table.
|
com.google.protobuf.Parser<Table> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Table.Builder |
newBuilder() |
static Table.Builder |
newBuilder(Table prototype) |
Table.Builder |
newBuilderForType() |
protected Table.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Table |
parseDelimitedFrom(InputStream input) |
static Table |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(byte[] data) |
static Table |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(com.google.protobuf.ByteString data) |
static Table |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Table |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(InputStream input) |
static Table |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Table> |
parser() |
Table.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int COLUMN_FAMILIES_FIELD_NUMBER
public static final int GRANULARITY_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The unique name of the table. Values are of the form projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]* Views: NAME_ONLY, SCHEMA_VIEW, REPLICATION_VIEW, FULL @OutputOnly
string name = 1;getName in interface TableOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The unique name of the table. Values are of the form projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]* Views: NAME_ONLY, SCHEMA_VIEW, REPLICATION_VIEW, FULL @OutputOnly
string name = 1;getNameBytes in interface TableOrBuilderpublic int getColumnFamiliesCount()
TableOrBuilderThe column families configured for this table, mapped by column family ID. Views: SCHEMA_VIEW, FULL @CreationOnly
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;getColumnFamiliesCount in interface TableOrBuilderpublic boolean containsColumnFamilies(String key)
The column families configured for this table, mapped by column family ID. Views: SCHEMA_VIEW, FULL @CreationOnly
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;containsColumnFamilies in interface TableOrBuilder@Deprecated public Map<String,ColumnFamily> getColumnFamilies()
getColumnFamiliesMap() instead.getColumnFamilies in interface TableOrBuilderpublic Map<String,ColumnFamily> getColumnFamiliesMap()
The column families configured for this table, mapped by column family ID. Views: SCHEMA_VIEW, FULL @CreationOnly
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;getColumnFamiliesMap in interface TableOrBuilderpublic ColumnFamily getColumnFamiliesOrDefault(String key, ColumnFamily defaultValue)
The column families configured for this table, mapped by column family ID. Views: SCHEMA_VIEW, FULL @CreationOnly
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;getColumnFamiliesOrDefault in interface TableOrBuilderpublic ColumnFamily getColumnFamiliesOrThrow(String key)
The column families configured for this table, mapped by column family ID. Views: SCHEMA_VIEW, FULL @CreationOnly
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;getColumnFamiliesOrThrow in interface TableOrBuilderpublic int getGranularityValue()
The granularity (e.g. MILLIS, MICROS) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set to MILLIS. Views: SCHEMA_VIEW, FULL @CreationOnly
.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;getGranularityValue in interface TableOrBuilderpublic Table.TimestampGranularity getGranularity()
The granularity (e.g. MILLIS, MICROS) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set to MILLIS. Views: SCHEMA_VIEW, FULL @CreationOnly
.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;getGranularity in interface TableOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Table parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table parseFrom(InputStream input) throws IOException
IOExceptionpublic static Table parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Table parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Table parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Table parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Table parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Table.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Table.Builder newBuilder()
public static Table.Builder newBuilder(Table prototype)
public Table.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Table.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Table getDefaultInstance()
public static com.google.protobuf.Parser<Table> parser()
public com.google.protobuf.Parser<Table> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Table getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder