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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic 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.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Table.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Table.Builder>public Table getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Table build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Table buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Table.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Table.Builder>public Table.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Table.Builder>public Table.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Table.Builder>public Table.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Table.Builder>public Table.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Table.Builder>public Table.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Table.Builder>public Table.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Table.Builder>public Table.Builder mergeFrom(Table other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Table.Builder>public Table.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Table.Builder>java.io.IOExceptionpublic 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 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()
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 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 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 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 TableOrBuilderpublic 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 TableOrBuilderpublic 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.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Table.Builder>public final Table.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Table.Builder>