public static final class Table.Builder extends GeneratedMessageV3.Builder<Table.Builder> 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 | Method and Description |
---|---|
Table.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Table |
build() |
Table |
buildPartial() |
Table.Builder |
clear() |
Table.Builder |
clearClusterStates() |
Table.Builder |
clearColumnFamilies() |
Table.Builder |
clearField(Descriptors.FieldDescriptor field) |
Table.Builder |
clearGranularity()
(`CreationOnly`)
The granularity (e.g.
|
Table.Builder |
clearName()
(`OutputOnly`)
The unique name of the table.
|
Table.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Table.Builder |
clone() |
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.
|
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.
|
Table |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Table.TimestampGranularity |
getGranularity()
(`CreationOnly`)
The granularity (e.g.
|
int |
getGranularityValue()
(`CreationOnly`)
The granularity (e.g.
|
java.util.Map<java.lang.String,Table.ClusterState> |
getMutableClusterStates()
Deprecated.
|
java.util.Map<java.lang.String,ColumnFamily> |
getMutableColumnFamilies()
Deprecated.
|
java.lang.String |
getName()
(`OutputOnly`)
The unique name of the table.
|
ByteString |
getNameBytes()
(`OutputOnly`)
The unique name of the table.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
protected MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Table.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Table.Builder |
mergeFrom(Message other) |
Table.Builder |
mergeFrom(Table other) |
Table.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Table.Builder |
putAllClusterStates(java.util.Map<java.lang.String,Table.ClusterState> values)
This is a private alpha release of Cloud Bigtable replication.
|
Table.Builder |
putAllColumnFamilies(java.util.Map<java.lang.String,ColumnFamily> values)
(`CreationOnly`)
The column families configured for this table, mapped by column family ID.
|
Table.Builder |
putClusterStates(java.lang.String key,
Table.ClusterState value)
This is a private alpha release of Cloud Bigtable replication.
|
Table.Builder |
putColumnFamilies(java.lang.String key,
ColumnFamily value)
(`CreationOnly`)
The column families configured for this table, mapped by column family ID.
|
Table.Builder |
removeClusterStates(java.lang.String key)
This is a private alpha release of Cloud Bigtable replication.
|
Table.Builder |
removeColumnFamilies(java.lang.String key)
(`CreationOnly`)
The column families configured for this table, mapped by column family ID.
|
Table.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Table.Builder |
setGranularity(Table.TimestampGranularity value)
(`CreationOnly`)
The granularity (e.g.
|
Table.Builder |
setGranularityValue(int value)
(`CreationOnly`)
The granularity (e.g.
|
Table.Builder |
setName(java.lang.String value)
(`OutputOnly`)
The unique name of the table.
|
Table.Builder |
setNameBytes(ByteString value)
(`OutputOnly`)
The unique name of the table.
|
Table.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Table.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<Table.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<Table.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Table.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Table.Builder>
public Table getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Table build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Table buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Table.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Table.Builder>
public Table.Builder mergeFrom(Table other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Table.Builder>
java.io.IOException
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 Table.Builder setName(java.lang.String value)
(`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;
public Table.Builder clearName()
(`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;
public Table.Builder setNameBytes(ByteString value)
(`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;
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 Table.Builder clearClusterStates()
public Table.Builder removeClusterStates(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;
@Deprecated public java.util.Map<java.lang.String,Table.ClusterState> getMutableClusterStates()
public Table.Builder putClusterStates(java.lang.String key, Table.ClusterState value)
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;
public Table.Builder putAllClusterStates(java.util.Map<java.lang.String,Table.ClusterState> values)
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;
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 Table.Builder clearColumnFamilies()
public Table.Builder removeColumnFamilies(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;
@Deprecated public java.util.Map<java.lang.String,ColumnFamily> getMutableColumnFamilies()
public Table.Builder putColumnFamilies(java.lang.String key, ColumnFamily value)
(`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;
public Table.Builder putAllColumnFamilies(java.util.Map<java.lang.String,ColumnFamily> values)
(`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;
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.Builder setGranularityValue(int value)
(`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;
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 Table.Builder setGranularity(Table.TimestampGranularity value)
(`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;
public Table.Builder clearGranularity()
(`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;
public final Table.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Table.Builder>
public final Table.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Table.Builder>