Class Table.ClusterState.Builder (2.10.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllEncryptionInfo(Iterable<? extends EncryptionInfo> values)

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];

Parameter
NameDescription
valuesIterable<? extends com.google.bigtable.admin.v2.EncryptionInfo>
Returns
TypeDescription
Table.ClusterState.Builder

addEncryptionInfo(EncryptionInfo value)

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];

Parameter
NameDescription
valueEncryptionInfo
Returns
TypeDescription
Table.ClusterState.Builder

addEncryptionInfo(EncryptionInfo.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueEncryptionInfo.Builder
Returns
TypeDescription
Table.ClusterState.Builder

addEncryptionInfo(int index, EncryptionInfo value)

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];

Parameters
NameDescription
indexint
valueEncryptionInfo
Returns
TypeDescription
Table.ClusterState.Builder

addEncryptionInfo(int index, EncryptionInfo.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueEncryptionInfo.Builder
Returns
TypeDescription
Table.ClusterState.Builder

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];

Returns
TypeDescription
EncryptionInfo.Builder

addEncryptionInfoBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
EncryptionInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Table.ClusterState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Table.ClusterState.Builder
Overrides

build()

public Table.ClusterState build()
Returns
TypeDescription
Table.ClusterState

buildPartial()

public Table.ClusterState buildPartial()
Returns
TypeDescription
Table.ClusterState

clear()

public Table.ClusterState.Builder clear()
Returns
TypeDescription
Table.ClusterState.Builder
Overrides

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];

Returns
TypeDescription
Table.ClusterState.Builder

clearField(Descriptors.FieldDescriptor field)

public Table.ClusterState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Table.ClusterState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Table.ClusterState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Table.ClusterState.Builder
Overrides

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

This builder for chaining.

clone()

public Table.ClusterState.Builder clone()
Returns
TypeDescription
Table.ClusterState.Builder
Overrides

getDefaultInstanceForType()

public Table.ClusterState getDefaultInstanceForType()
Returns
TypeDescription
Table.ClusterState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEncryptionInfo(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
EncryptionInfo

getEncryptionInfoBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
EncryptionInfo.Builder

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];

Returns
TypeDescription
List<Builder>

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];

Returns
TypeDescription
int

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];

Returns
TypeDescription
List<EncryptionInfo>

getEncryptionInfoOrBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
EncryptionInfoOrBuilder

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];

Returns
TypeDescription
List<? extends com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>

getReplicationState()

public Table.ClusterState.ReplicationState getReplicationState()

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
TypeDescription
Table.ClusterState.ReplicationState

The replicationState.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for replicationState.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Table.ClusterState other)

public Table.ClusterState.Builder mergeFrom(Table.ClusterState other)
Parameter
NameDescription
otherTable.ClusterState
Returns
TypeDescription
Table.ClusterState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Table.ClusterState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Table.ClusterState.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Table.ClusterState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Table.ClusterState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Table.ClusterState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Table.ClusterState.Builder
Overrides

removeEncryptionInfo(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
Table.ClusterState.Builder

setEncryptionInfo(int index, EncryptionInfo value)

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];

Parameters
NameDescription
indexint
valueEncryptionInfo
Returns
TypeDescription
Table.ClusterState.Builder

setEncryptionInfo(int index, EncryptionInfo.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueEncryptionInfo.Builder
Returns
TypeDescription
Table.ClusterState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Table.ClusterState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Table.ClusterState.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Table.ClusterState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Table.ClusterState.Builder
Overrides

setReplicationState(Table.ClusterState.ReplicationState value)

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];

Parameter
NameDescription
valueTable.ClusterState.ReplicationState

The replicationState to set.

Returns
TypeDescription
Table.ClusterState.Builder

This builder for chaining.

setReplicationStateValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for replicationState to set.

Returns
TypeDescription
Table.ClusterState.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Table.ClusterState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Table.ClusterState.Builder
Overrides