Package com.google.bigtable.admin.v2
Class Table.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
com.google.bigtable.admin.v2.Table.Builder
- All Implemented Interfaces:
TableOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Table
public static final class Table.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()If specified, enable the change stream on this table.Set to true to make the table protected against data loss.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Immutable.The unique name of the table.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.clone()booleanOutput only.booleanThe column families configured for this table, mapped by column family ID.If specified, enable the change stream on this table.If specified, enable the change stream on this table.If specified, enable the change stream on this table.Deprecated.intOutput only.Output only.getClusterStatesOrDefault(String key, Table.ClusterState defaultValue) Output only.Output only.Deprecated.intThe column families configured for this table, mapped by column family ID.The column families configured for this table, mapped by column family ID.getColumnFamiliesOrDefault(String key, ColumnFamily defaultValue) The column families configured for this table, mapped by column family ID.The column families configured for this table, mapped by column family ID.booleanSet to true to make the table protected against data loss.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorImmutable.intImmutable.Deprecated.Deprecated.getName()The unique name of the table.com.google.protobuf.ByteStringThe unique name of the table.Output only.Output only.Output only.booleanIf specified, enable the change stream on this table.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanIf specified, enable the change stream on this table.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRestoreInfo(RestoreInfo value) Output only.final Table.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllClusterStates(Map<String, Table.ClusterState> values) Output only.putAllColumnFamilies(Map<String, ColumnFamily> values) The column families configured for this table, mapped by column family ID.putClusterStates(String key, Table.ClusterState value) Output only.putColumnFamilies(String key, ColumnFamily value) The column families configured for this table, mapped by column family ID.Output only.The column families configured for this table, mapped by column family ID.If specified, enable the change stream on this table.setChangeStreamConfig(ChangeStreamConfig.Builder builderForValue) If specified, enable the change stream on this table.setDeletionProtection(boolean value) Set to true to make the table protected against data loss.Immutable.setGranularityValue(int value) Immutable.The unique name of the table.setNameBytes(com.google.protobuf.ByteString value) The unique name of the table.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRestoreInfo(RestoreInfo value) Output only.setRestoreInfo(RestoreInfo.Builder builderForValue) Output only.final Table.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
setRepeatedField
public Table.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
addRepeatedField
public Table.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Table.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
mergeFrom
public Table.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Table.Builder>- Throws:
IOException
-
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`string name = 1;- Specified by:
getNamein interfaceTableOrBuilder- Returns:
- The name.
-
getNameBytes
public 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`string name = 1;- Specified by:
getNameBytesin interfaceTableOrBuilder- Returns:
- The bytes for name.
-
setName
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`string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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`string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
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`string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getClusterStatesCount
public int getClusterStatesCount()Description copied from interface:TableOrBuilderOutput only. 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: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterStatesCountin interfaceTableOrBuilder
-
containsClusterStates
Output only. 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: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsClusterStatesin interfaceTableOrBuilder
-
getClusterStates
Deprecated.UsegetClusterStatesMap()instead.- Specified by:
getClusterStatesin interfaceTableOrBuilder
-
getClusterStatesMap
Output only. 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: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterStatesMapin interfaceTableOrBuilder
-
getClusterStatesOrDefault
Output only. 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: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterStatesOrDefaultin interfaceTableOrBuilder
-
getClusterStatesOrThrow
Output only. 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: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterStatesOrThrowin interfaceTableOrBuilder
-
clearClusterStates
-
removeClusterStates
Output only. 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: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMutableClusterStates
Deprecated.Use alternate mutation accessors instead. -
putClusterStates
Output only. 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: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
putAllClusterStates
Output only. 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: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getColumnFamiliesCount
public int getColumnFamiliesCount()Description copied from interface:TableOrBuilderThe column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;- Specified by:
getColumnFamiliesCountin interfaceTableOrBuilder
-
containsColumnFamilies
The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;- Specified by:
containsColumnFamiliesin interfaceTableOrBuilder
-
getColumnFamilies
Deprecated.UsegetColumnFamiliesMap()instead.- Specified by:
getColumnFamiliesin interfaceTableOrBuilder
-
getColumnFamiliesMap
The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;- Specified by:
getColumnFamiliesMapin interfaceTableOrBuilder
-
getColumnFamiliesOrDefault
The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;- Specified by:
getColumnFamiliesOrDefaultin interfaceTableOrBuilder
-
getColumnFamiliesOrThrow
The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;- Specified by:
getColumnFamiliesOrThrowin interfaceTableOrBuilder
-
clearColumnFamilies
-
removeColumnFamilies
The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3; -
getMutableColumnFamilies
Deprecated.Use alternate mutation accessors instead. -
putColumnFamilies
The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3; -
putAllColumnFamilies
The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3; -
getGranularityValue
public int getGranularityValue()Immutable. The granularity (i.e. `MILLIS`) 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 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getGranularityValuein interfaceTableOrBuilder- Returns:
- The enum numeric value on the wire for granularity.
-
setGranularityValue
Immutable. The granularity (i.e. `MILLIS`) 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 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for granularity to set.- Returns:
- This builder for chaining.
-
getGranularity
Immutable. The granularity (i.e. `MILLIS`) 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 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getGranularityin interfaceTableOrBuilder- Returns:
- The granularity.
-
setGranularity
Immutable. The granularity (i.e. `MILLIS`) 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 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The granularity to set.- Returns:
- This builder for chaining.
-
clearGranularity
Immutable. The granularity (i.e. `MILLIS`) 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 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
hasRestoreInfo
public boolean hasRestoreInfo()Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
.google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRestoreInfoin interfaceTableOrBuilder- Returns:
- Whether the restoreInfo field is set.
-
getRestoreInfo
Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
.google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRestoreInfoin interfaceTableOrBuilder- Returns:
- The restoreInfo.
-
setRestoreInfo
Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
.google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setRestoreInfo
Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
.google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeRestoreInfo
Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
.google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRestoreInfo
Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
.google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRestoreInfoBuilder
Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
.google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRestoreInfoOrBuilder
Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
.google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRestoreInfoOrBuilderin interfaceTableOrBuilder
-
hasChangeStreamConfig
public boolean hasChangeStreamConfig()If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
.google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;- Specified by:
hasChangeStreamConfigin interfaceTableOrBuilder- Returns:
- Whether the changeStreamConfig field is set.
-
getChangeStreamConfig
If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
.google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;- Specified by:
getChangeStreamConfigin interfaceTableOrBuilder- Returns:
- The changeStreamConfig.
-
setChangeStreamConfig
If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
.google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; -
setChangeStreamConfig
If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
.google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; -
mergeChangeStreamConfig
If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
.google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; -
clearChangeStreamConfig
If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
.google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; -
getChangeStreamConfigBuilder
If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
.google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; -
getChangeStreamConfigOrBuilder
If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
.google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;- Specified by:
getChangeStreamConfigOrBuilderin interfaceTableOrBuilder
-
getDeletionProtection
public boolean getDeletionProtection()Set to true to make the table protected against data loss. i.e. deleting the following resources through Admin APIs are prohibited: * The table. * The column families in the table. * The instance containing the table. Note one can still delete the data stored in the table through Data APIs.
bool deletion_protection = 9;- Specified by:
getDeletionProtectionin interfaceTableOrBuilder- Returns:
- The deletionProtection.
-
setDeletionProtection
Set to true to make the table protected against data loss. i.e. deleting the following resources through Admin APIs are prohibited: * The table. * The column families in the table. * The instance containing the table. Note one can still delete the data stored in the table through Data APIs.
bool deletion_protection = 9;- Parameters:
value- The deletionProtection to set.- Returns:
- This builder for chaining.
-
clearDeletionProtection
Set to true to make the table protected against data loss. i.e. deleting the following resources through Admin APIs are prohibited: * The table. * The column families in the table. * The instance containing the table. Note one can still delete the data stored in the table through Data APIs.
bool deletion_protection = 9;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
-