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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 TableOrBuilder
public 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 TableOrBuilder
public int getClusterStatesCount()
TableOrBuilder
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;
getClusterStatesCount
in interface TableOrBuilder
public 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 TableOrBuilder
public 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 TableOrBuilder
public 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 TableOrBuilder
public 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 TableOrBuilder
public 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 TableOrBuilder
public 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 TableOrBuilder
public 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 TableOrBuilder
public 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 TableOrBuilder
public 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 TableOrBuilder
public 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 TableOrBuilder
public 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 TableOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Table parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Table parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Table parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Table parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Table parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Table parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Table parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Table parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Table parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Table parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Table parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Table parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Table.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Table.Builder newBuilder()
public static Table.Builder newBuilder(Table prototype)
public Table.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Table.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Table getDefaultInstance()
public Parser<Table> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Table getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder