public static final class Cluster.EncryptionConfig extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Cluster.EncryptionConfigImplements
Cluster.EncryptionConfigOrBuilderStatic Fields
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Cluster.EncryptionConfig getDefaultInstance()
Type | Description |
Cluster.EncryptionConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Cluster.EncryptionConfig.Builder newBuilder()
Type | Description |
Cluster.EncryptionConfig.Builder |
newBuilder(Cluster.EncryptionConfig prototype)
public static Cluster.EncryptionConfig.Builder newBuilder(Cluster.EncryptionConfig prototype)
Name | Description |
prototype | Cluster.EncryptionConfig |
Type | Description |
Cluster.EncryptionConfig.Builder |
parseDelimitedFrom(InputStream input)
public static Cluster.EncryptionConfig parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Cluster.EncryptionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Cluster.EncryptionConfig parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cluster.EncryptionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Cluster.EncryptionConfig parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cluster.EncryptionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Cluster.EncryptionConfig parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Cluster.EncryptionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Cluster.EncryptionConfig parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Cluster.EncryptionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Cluster.EncryptionConfig parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cluster.EncryptionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cluster.EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Cluster.EncryptionConfig> parser()
Type | Description |
Parser<EncryptionConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Cluster.EncryptionConfig getDefaultInstanceForType()
Type | Description |
Cluster.EncryptionConfig |
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. |
getParserForType()
public Parser<Cluster.EncryptionConfig> getParserForType()
Type | Description |
Parser<EncryptionConfig> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Cluster.EncryptionConfig.Builder newBuilderForType()
Type | Description |
Cluster.EncryptionConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Cluster.EncryptionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Cluster.EncryptionConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Cluster.EncryptionConfig.Builder toBuilder()
Type | Description |
Cluster.EncryptionConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |