Class Table.ClusterState.Builder

  • All Implemented Interfaces:
    Table.ClusterStateOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Table.ClusterState

    public static final class Table.ClusterState.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Table.ClusterState.Builder>
    implements Table.ClusterStateOrBuilder
     The state of a table's data in a particular cluster.
     
    Protobuf type google.bigtable.admin.v2.Table.ClusterState
    • Method Detail

      • getDescriptor

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

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

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

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

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

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

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

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

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

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

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Table.ClusterState.Builder>
      • mergeFrom

        public Table.ClusterState.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.ClusterState.Builder>
        Throws:
        IOException
      • getReplicationStateValue

        public int getReplicationStateValue()
         Output only. The state of replication for the table in this cluster.
         
        .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getReplicationStateValue in interface Table.ClusterStateOrBuilder
        Returns:
        The enum numeric value on the wire for replicationState.
      • setReplicationStateValue

        public Table.ClusterState.Builder setReplicationStateValue​(int value)
         Output only. The state of replication for the table in this cluster.
         
        .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for replicationState to set.
        Returns:
        This builder for chaining.
      • setReplicationState

        public Table.ClusterState.Builder setReplicationState​(Table.ClusterState.ReplicationState value)
         Output only. The state of replication for the table in this cluster.
         
        .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The replicationState to set.
        Returns:
        This builder for chaining.
      • clearReplicationState

        public Table.ClusterState.Builder clearReplicationState()
         Output only. The state of replication for the table in this cluster.
         
        .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getEncryptionInfoList

        public List<EncryptionInfo> getEncryptionInfoList()
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEncryptionInfoList in interface Table.ClusterStateOrBuilder
      • getEncryptionInfoCount

        public int getEncryptionInfoCount()
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEncryptionInfoCount in interface Table.ClusterStateOrBuilder
      • getEncryptionInfo

        public EncryptionInfo getEncryptionInfo​(int index)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEncryptionInfo in interface Table.ClusterStateOrBuilder
      • setEncryptionInfo

        public Table.ClusterState.Builder setEncryptionInfo​(int index,
                                                            EncryptionInfo value)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setEncryptionInfo

        public Table.ClusterState.Builder setEncryptionInfo​(int index,
                                                            EncryptionInfo.Builder builderForValue)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addEncryptionInfo

        public Table.ClusterState.Builder addEncryptionInfo​(EncryptionInfo value)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addEncryptionInfo

        public Table.ClusterState.Builder addEncryptionInfo​(int index,
                                                            EncryptionInfo value)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addEncryptionInfo

        public Table.ClusterState.Builder addEncryptionInfo​(EncryptionInfo.Builder builderForValue)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addEncryptionInfo

        public Table.ClusterState.Builder addEncryptionInfo​(int index,
                                                            EncryptionInfo.Builder builderForValue)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllEncryptionInfo

        public Table.ClusterState.Builder addAllEncryptionInfo​(Iterable<? extends EncryptionInfo> values)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearEncryptionInfo

        public Table.ClusterState.Builder clearEncryptionInfo()
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeEncryptionInfo

        public Table.ClusterState.Builder removeEncryptionInfo​(int index)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEncryptionInfoBuilder

        public EncryptionInfo.Builder getEncryptionInfoBuilder​(int index)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEncryptionInfoOrBuilder

        public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder​(int index)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEncryptionInfoOrBuilder in interface Table.ClusterStateOrBuilder
      • getEncryptionInfoOrBuilderList

        public List<? extends EncryptionInfoOrBuilder> getEncryptionInfoOrBuilderList()
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEncryptionInfoOrBuilderList in interface Table.ClusterStateOrBuilder
      • addEncryptionInfoBuilder

        public EncryptionInfo.Builder addEncryptionInfoBuilder()
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addEncryptionInfoBuilder

        public EncryptionInfo.Builder addEncryptionInfoBuilder​(int index)
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEncryptionInfoBuilderList

        public List<EncryptionInfo.Builder> getEncryptionInfoBuilderList()
         Output only. The encryption information for the table in this cluster.
         If the encryption key protecting this resource is customer managed, then
         its version can be rotated in Cloud Key Management Service (Cloud KMS).
         The primary version of the key and its status will be reflected here when
         changes propagate from Cloud KMS.
         
        repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

        public final Table.ClusterState.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.ClusterState.Builder>
      • mergeUnknownFields

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