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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • clear

      public Table.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • getDefaultInstanceForType

      public Table getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Table build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Table buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Table.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • setField

      public Table.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • clearField

      public Table.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • clearOneof

      public Table.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • setRepeatedField

      public Table.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • addRepeatedField

      public Table.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • mergeFrom

      public Table.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Table.Builder>
    • mergeFrom

      public Table.Builder mergeFrom(Table other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Table.Builder>
      Throws:
      IOException
    • getName

      public String 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:
      getName in interface TableOrBuilder
      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:
      getNameBytes in interface TableOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Table.Builder setName(String value)
       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

      public Table.Builder 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

      public Table.Builder setNameBytes(com.google.protobuf.ByteString value)
       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: TableOrBuilder
       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:
      getClusterStatesCount in interface TableOrBuilder
    • containsClusterStates

      public boolean containsClusterStates(String key)
       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:
      containsClusterStates in interface TableOrBuilder
    • getClusterStates

      @Deprecated public Map<String,Table.ClusterState> getClusterStates()
      Deprecated.
      Specified by:
      getClusterStates in interface TableOrBuilder
    • getClusterStatesMap

      public Map<String,Table.ClusterState> 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:
      getClusterStatesMap in interface TableOrBuilder
    • getClusterStatesOrDefault

      public Table.ClusterState getClusterStatesOrDefault(String key, Table.ClusterState defaultValue)
       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:
      getClusterStatesOrDefault in interface TableOrBuilder
    • getClusterStatesOrThrow

      public Table.ClusterState getClusterStatesOrThrow(String key)
       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:
      getClusterStatesOrThrow in interface TableOrBuilder
    • clearClusterStates

      public Table.Builder clearClusterStates()
    • removeClusterStates

      public Table.Builder removeClusterStates(String key)
       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 public Map<String,Table.ClusterState> getMutableClusterStates()
      Deprecated.
      Use alternate mutation accessors instead.
    • putClusterStates

      public Table.Builder putClusterStates(String key, Table.ClusterState value)
       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

      public Table.Builder putAllClusterStates(Map<String,Table.ClusterState> values)
       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: TableOrBuilder
       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:
      getColumnFamiliesCount in interface TableOrBuilder
    • containsColumnFamilies

      public boolean containsColumnFamilies(String key)
       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:
      containsColumnFamilies in interface TableOrBuilder
    • getColumnFamilies

      @Deprecated public Map<String,ColumnFamily> getColumnFamilies()
      Deprecated.
      Specified by:
      getColumnFamilies in interface TableOrBuilder
    • getColumnFamiliesMap

      public Map<String,ColumnFamily> 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:
      getColumnFamiliesMap in interface TableOrBuilder
    • getColumnFamiliesOrDefault

      public ColumnFamily getColumnFamiliesOrDefault(String key, ColumnFamily defaultValue)
       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:
      getColumnFamiliesOrDefault in interface TableOrBuilder
    • getColumnFamiliesOrThrow

      public ColumnFamily getColumnFamiliesOrThrow(String key)
       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:
      getColumnFamiliesOrThrow in interface TableOrBuilder
    • clearColumnFamilies

      public Table.Builder clearColumnFamilies()
    • removeColumnFamilies

      public Table.Builder removeColumnFamilies(String key)
       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 public Map<String,ColumnFamily> getMutableColumnFamilies()
      Deprecated.
      Use alternate mutation accessors instead.
    • putColumnFamilies

      public Table.Builder putColumnFamilies(String key, ColumnFamily value)
       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

      public Table.Builder putAllColumnFamilies(Map<String,ColumnFamily> values)
       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:
      getGranularityValue in interface TableOrBuilder
      Returns:
      The enum numeric value on the wire for granularity.
    • setGranularityValue

      public Table.Builder setGranularityValue(int value)
       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

      public Table.TimestampGranularity 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:
      getGranularity in interface TableOrBuilder
      Returns:
      The granularity.
    • setGranularity

      public Table.Builder setGranularity(Table.TimestampGranularity value)
       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

      public Table.Builder 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:
      hasRestoreInfo in interface TableOrBuilder
      Returns:
      Whether the restoreInfo field is set.
    • getRestoreInfo

      public RestoreInfo 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:
      getRestoreInfo in interface TableOrBuilder
      Returns:
      The restoreInfo.
    • setRestoreInfo

      public Table.Builder setRestoreInfo(RestoreInfo value)
       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

      public Table.Builder setRestoreInfo(RestoreInfo.Builder builderForValue)
       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

      public Table.Builder mergeRestoreInfo(RestoreInfo value)
       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

      public Table.Builder 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

      public RestoreInfo.Builder 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

      public RestoreInfoOrBuilder 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:
      getRestoreInfoOrBuilder in interface TableOrBuilder
    • 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:
      hasChangeStreamConfig in interface TableOrBuilder
      Returns:
      Whether the changeStreamConfig field is set.
    • getChangeStreamConfig

      public ChangeStreamConfig 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:
      getChangeStreamConfig in interface TableOrBuilder
      Returns:
      The changeStreamConfig.
    • setChangeStreamConfig

      public Table.Builder setChangeStreamConfig(ChangeStreamConfig value)
       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

      public Table.Builder setChangeStreamConfig(ChangeStreamConfig.Builder builderForValue)
       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

      public Table.Builder mergeChangeStreamConfig(ChangeStreamConfig value)
       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

      public Table.Builder 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

      public ChangeStreamConfig.Builder 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

      public ChangeStreamConfigOrBuilder 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:
      getChangeStreamConfigOrBuilder in interface TableOrBuilder
    • 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:
      getDeletionProtection in interface TableOrBuilder
      Returns:
      The deletionProtection.
    • setDeletionProtection

      public Table.Builder setDeletionProtection(boolean value)
       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

      public Table.Builder 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

      public final Table.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
    • mergeUnknownFields

      public final Table.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>