public static final class Cluster.EncryptionConfig.Builder extends GeneratedMessageV3.Builder<Cluster.EncryptionConfig.Builder> implements Cluster.EncryptionConfigOrBuilder
Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.
Protobuf type google.bigtable.admin.v2.Cluster.EncryptionConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cluster.EncryptionConfig.BuilderImplements
Cluster.EncryptionConfigOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.EncryptionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cluster.EncryptionConfig.Builder |
build()
public Cluster.EncryptionConfig build()
Type | Description |
Cluster.EncryptionConfig |
buildPartial()
public Cluster.EncryptionConfig buildPartial()
Type | Description |
Cluster.EncryptionConfig |
clear()
public Cluster.EncryptionConfig.Builder clear()
Type | Description |
Cluster.EncryptionConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public Cluster.EncryptionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Cluster.EncryptionConfig.Builder |
clearKmsKeyName()
public Cluster.EncryptionConfig.Builder clearKmsKeyName()
Describes the Cloud KMS encryption key that will be used to protect the
destination Bigtable cluster. The requirements for this key are:
1) The Cloud Bigtable service account associated with the project that
contains this cluster must be granted the
cloudkms.cryptoKeyEncrypterDecrypter
role on the CMEK key.
2) Only regional keys can be used and the region of the CMEK key must
match the region of the cluster.
3) All clusters within an instance must use the same CMEK key.
string kms_key_name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
Cluster.EncryptionConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.EncryptionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Cluster.EncryptionConfig.Builder |
clone()
public Cluster.EncryptionConfig.Builder clone()
Type | Description |
Cluster.EncryptionConfig.Builder |
getDefaultInstanceForType()
public Cluster.EncryptionConfig getDefaultInstanceForType()
Type | Description |
Cluster.EncryptionConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKmsKeyName()
public String getKmsKeyName()
Describes the Cloud KMS encryption key that will be used to protect the
destination Bigtable cluster. The requirements for this key are:
1) The Cloud Bigtable service account associated with the project that
contains this cluster must be granted the
cloudkms.cryptoKeyEncrypterDecrypter
role on the CMEK key.
2) Only regional keys can be used and the region of the CMEK key must
match the region of the cluster.
3) All clusters within an instance must use the same CMEK key.
string kms_key_name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The kmsKeyName. |
getKmsKeyNameBytes()
public ByteString getKmsKeyNameBytes()
Describes the Cloud KMS encryption key that will be used to protect the
destination Bigtable cluster. The requirements for this key are:
1) The Cloud Bigtable service account associated with the project that
contains this cluster must be granted the
cloudkms.cryptoKeyEncrypterDecrypter
role on the CMEK key.
2) Only regional keys can be used and the region of the CMEK key must
match the region of the cluster.
3) All clusters within an instance must use the same CMEK key.
string kms_key_name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for kmsKeyName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Cluster.EncryptionConfig other)
public Cluster.EncryptionConfig.Builder mergeFrom(Cluster.EncryptionConfig other)
Name | Description |
other | Cluster.EncryptionConfig |
Type | Description |
Cluster.EncryptionConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.EncryptionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cluster.EncryptionConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Cluster.EncryptionConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Cluster.EncryptionConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.EncryptionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cluster.EncryptionConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.EncryptionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cluster.EncryptionConfig.Builder |
setKmsKeyName(String value)
public Cluster.EncryptionConfig.Builder setKmsKeyName(String value)
Describes the Cloud KMS encryption key that will be used to protect the
destination Bigtable cluster. The requirements for this key are:
1) The Cloud Bigtable service account associated with the project that
contains this cluster must be granted the
cloudkms.cryptoKeyEncrypterDecrypter
role on the CMEK key.
2) Only regional keys can be used and the region of the CMEK key must
match the region of the cluster.
3) All clusters within an instance must use the same CMEK key.
string kms_key_name = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The kmsKeyName to set. |
Type | Description |
Cluster.EncryptionConfig.Builder | This builder for chaining. |
setKmsKeyNameBytes(ByteString value)
public Cluster.EncryptionConfig.Builder setKmsKeyNameBytes(ByteString value)
Describes the Cloud KMS encryption key that will be used to protect the
destination Bigtable cluster. The requirements for this key are:
1) The Cloud Bigtable service account associated with the project that
contains this cluster must be granted the
cloudkms.cryptoKeyEncrypterDecrypter
role on the CMEK key.
2) Only regional keys can be used and the region of the CMEK key must
match the region of the cluster.
3) All clusters within an instance must use the same CMEK key.
string kms_key_name = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for kmsKeyName to set. |
Type | Description |
Cluster.EncryptionConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.EncryptionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Cluster.EncryptionConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.EncryptionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cluster.EncryptionConfig.Builder |