public static final class Cluster.EncryptionConfig.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
Cluster.EncryptionConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cluster.EncryptionConfig |
build() |
Cluster.EncryptionConfig |
buildPartial() |
Cluster.EncryptionConfig.Builder |
clear() |
Cluster.EncryptionConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Cluster.EncryptionConfig.Builder |
clearKmsKeyName()
Describes the Cloud KMS encryption key that will be used to protect the
destination Bigtable cluster.
|
Cluster.EncryptionConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Cluster.EncryptionConfig.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Cluster.EncryptionConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
Cluster.EncryptionConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Cluster.EncryptionConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.EncryptionConfig.Builder>public Cluster.EncryptionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.EncryptionConfig.Builder>public Cluster.EncryptionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.EncryptionConfig.Builder>public Cluster.EncryptionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.EncryptionConfig.Builder>public Cluster.EncryptionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.EncryptionConfig.Builder>public Cluster.EncryptionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.EncryptionConfig.Builder>public 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.GeneratedMessageV3.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.
3) All clusters within an instance must use the same CMEK key.
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.
3) All clusters within an instance must use the same CMEK key.
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.
3) All clusters within an instance must use the same CMEK key.
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.
3) All clusters within an instance must use the same CMEK key.
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.
3) All clusters within an instance must use the same CMEK key.
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.public final Cluster.EncryptionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.EncryptionConfig.Builder>public final Cluster.EncryptionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.EncryptionConfig.Builder>Copyright © 2023 Google LLC. All rights reserved.