public final class Table extends 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.ClusterState
This is a private alpha release of Cloud Bigtable replication.
|
static interface |
Table.ClusterStateOrBuilder |
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.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_STATES_FIELD_NUMBER |
static int |
COLUMN_FAMILIES_FIELD_NUMBER |
static int |
GRANULARITY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
containsClusterStates(java.lang.String key)
This is a private alpha release of Cloud Bigtable replication.
|
boolean |
containsColumnFamilies(java.lang.String key)
(`CreationOnly`)
The column families configured for this table, mapped by column family ID.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,Table.ClusterState> |
getClusterStates()
Deprecated.
|
int |
getClusterStatesCount()
This is a private alpha release of Cloud Bigtable replication.
|
java.util.Map<java.lang.String,Table.ClusterState> |
getClusterStatesMap()
This is a private alpha release of Cloud Bigtable replication.
|
Table.ClusterState |
getClusterStatesOrDefault(java.lang.String key,
Table.ClusterState defaultValue)
This is a private alpha release of Cloud Bigtable replication.
|
Table.ClusterState |
getClusterStatesOrThrow(java.lang.String key)
This is a private alpha release of Cloud Bigtable replication.
|
java.util.Map<java.lang.String,ColumnFamily> |
getColumnFamilies()
Deprecated.
|
int |
getColumnFamiliesCount()
(`CreationOnly`)
The column families configured for this table, mapped by column family ID.
|
java.util.Map<java.lang.String,ColumnFamily> |
getColumnFamiliesMap()
(`CreationOnly`)
The column families configured for this table, mapped by column family ID.
|
ColumnFamily |
getColumnFamiliesOrDefault(java.lang.String key,
ColumnFamily defaultValue)
(`CreationOnly`)
The column families configured for this table, mapped by column family ID.
|
ColumnFamily |
getColumnFamiliesOrThrow(java.lang.String key)
(`CreationOnly`)
The column families configured for this table, mapped by column family ID.
|
static Table |
getDefaultInstance() |
Table |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Table.TimestampGranularity |
getGranularity()
(`CreationOnly`)
The granularity (e.g.
|
int |
getGranularityValue()
(`CreationOnly`)
The granularity (e.g.
|
java.lang.String |
getName()
(`OutputOnly`)
The unique name of the table.
|
ByteString |
getNameBytes()
(`OutputOnly`)
The unique name of the table.
|
Parser<Table> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Table.Builder |
newBuilder() |
static Table.Builder |
newBuilder(Table prototype) |
Table.Builder |
newBuilderForType() |
protected Table.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Table |
parseDelimitedFrom(java.io.InputStream input) |
static Table |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(byte[] data) |
static Table |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(java.nio.ByteBuffer data) |
static Table |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(ByteString data) |
static Table |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(CodedInputStream input) |
static Table |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(java.io.InputStream input) |
static Table |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Table> |
parser() |
Table.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int CLUSTER_STATES_FIELD_NUMBER
public static final int COLUMN_FAMILIES_FIELD_NUMBER
public static final int GRANULARITY_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getName()
(`OutputOnly`) 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`, `FULL`
string name = 1;getName in interface TableOrBuilderpublic ByteString getNameBytes()
(`OutputOnly`) 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`, `FULL`
string name = 1;getNameBytes in interface TableOrBuilderpublic int getClusterStatesCount()
TableOrBuilderThis is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy. (`OutputOnly`) Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN `replication_status`. Views: `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2;getClusterStatesCount in interface TableOrBuilderpublic boolean containsClusterStates(java.lang.String key)
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy. (`OutputOnly`) Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN `replication_status`. Views: `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2;containsClusterStates in interface TableOrBuilder@Deprecated public java.util.Map<java.lang.String,Table.ClusterState> getClusterStates()
getClusterStatesMap() instead.getClusterStates in interface TableOrBuilderpublic java.util.Map<java.lang.String,Table.ClusterState> getClusterStatesMap()
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy. (`OutputOnly`) Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN `replication_status`. Views: `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2;getClusterStatesMap in interface TableOrBuilderpublic Table.ClusterState getClusterStatesOrDefault(java.lang.String key, Table.ClusterState defaultValue)
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy. (`OutputOnly`) Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN `replication_status`. Views: `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2;getClusterStatesOrDefault in interface TableOrBuilderpublic Table.ClusterState getClusterStatesOrThrow(java.lang.String key)
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy. (`OutputOnly`) Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN `replication_status`. Views: `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2;getClusterStatesOrThrow in interface TableOrBuilderpublic int getColumnFamiliesCount()
TableOrBuilder(`CreationOnly`) The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;getColumnFamiliesCount in interface TableOrBuilderpublic boolean containsColumnFamilies(java.lang.String key)
(`CreationOnly`) The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;containsColumnFamilies in interface TableOrBuilder@Deprecated public java.util.Map<java.lang.String,ColumnFamily> getColumnFamilies()
getColumnFamiliesMap() instead.getColumnFamilies in interface TableOrBuilderpublic java.util.Map<java.lang.String,ColumnFamily> getColumnFamiliesMap()
(`CreationOnly`) The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;getColumnFamiliesMap in interface TableOrBuilderpublic ColumnFamily getColumnFamiliesOrDefault(java.lang.String key, ColumnFamily defaultValue)
(`CreationOnly`) The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;getColumnFamiliesOrDefault in interface TableOrBuilderpublic ColumnFamily getColumnFamiliesOrThrow(java.lang.String key)
(`CreationOnly`) The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;getColumnFamiliesOrThrow in interface TableOrBuilderpublic int getGranularityValue()
(`CreationOnly`) 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`
.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;getGranularityValue in interface TableOrBuilderpublic Table.TimestampGranularity getGranularity()
(`CreationOnly`) 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`
.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;getGranularity in interface TableOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Table parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Table parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Table parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Table parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Table parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Table parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Table parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Table parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Table parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Table parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Table parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Table parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Table.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Table.Builder newBuilder()
public static Table.Builder newBuilder(Table prototype)
public Table.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Table.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Table getDefaultInstance()
public Parser<Table> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Table getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder