public static final class Cluster.EncryptionConfig.Builder extends com.google.protobuf.GeneratedMessage.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| Modifier and Type | Method and Description |
|---|---|
Cluster.EncryptionConfig |
build() |
Cluster.EncryptionConfig |
buildPartial() |
Cluster.EncryptionConfig.Builder |
clear() |
Cluster.EncryptionConfig.Builder |
clearKmsKeyName()
Describes the Cloud KMS encryption key that will be used to protect the
destination Bigtable cluster.
|
Cluster.EncryptionConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKmsKeyName()
Describes the Cloud KMS encryption key that will be used to protect the
destination Bigtable cluster.
|
com.google.protobuf.ByteString |
getKmsKeyNameBytes()
Describes the Cloud KMS encryption key that will be used to protect the
destination Bigtable cluster.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Cluster.EncryptionConfig.Builder |
mergeFrom(Cluster.EncryptionConfig other) |
Cluster.EncryptionConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Cluster.EncryptionConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
Cluster.EncryptionConfig.Builder |
setKmsKeyName(String value)
Describes the Cloud KMS encryption key that will be used to protect the
destination Bigtable cluster.
|
Cluster.EncryptionConfig.Builder |
setKmsKeyNameBytes(com.google.protobuf.ByteString value)
Describes the Cloud KMS encryption key that will be used to protect the
destination Bigtable cluster.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Cluster.EncryptionConfig.Builder>public Cluster.EncryptionConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Cluster.EncryptionConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Cluster.EncryptionConfig.Builder>public Cluster.EncryptionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Cluster.EncryptionConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Cluster.EncryptionConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Cluster.EncryptionConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.EncryptionConfig.Builder>public Cluster.EncryptionConfig.Builder mergeFrom(Cluster.EncryptionConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Cluster.EncryptionConfig.Builder>public Cluster.EncryptionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.EncryptionConfig.Builder>IOExceptionpublic 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.
Values are of the form
`projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
string kms_key_name = 1 [(.google.api.resource_reference) = { ... }getKmsKeyName in interface Cluster.EncryptionConfigOrBuilderpublic com.google.protobuf.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.
Values are of the form
`projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
string kms_key_name = 1 [(.google.api.resource_reference) = { ... }getKmsKeyNameBytes in interface Cluster.EncryptionConfigOrBuilderpublic 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.
Values are of the form
`projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
string kms_key_name = 1 [(.google.api.resource_reference) = { ... }value - The kmsKeyName to set.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.
Values are of the form
`projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
string kms_key_name = 1 [(.google.api.resource_reference) = { ... }public Cluster.EncryptionConfig.Builder setKmsKeyNameBytes(com.google.protobuf.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.
Values are of the form
`projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
string kms_key_name = 1 [(.google.api.resource_reference) = { ... }value - The bytes for kmsKeyName to set.Copyright © 2026 Google LLC. All rights reserved.