public final class EncryptionConfig extends GeneratedMessageV3 implements EncryptionConfigOrBuilder
EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
Protobuf type google.cloud.alloydb.v1beta.EncryptionConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EncryptionConfigImplements
EncryptionConfigOrBuilderStatic Fields
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static EncryptionConfig getDefaultInstance()
Type | Description |
EncryptionConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static EncryptionConfig.Builder newBuilder()
Type | Description |
EncryptionConfig.Builder |
newBuilder(EncryptionConfig prototype)
public static EncryptionConfig.Builder newBuilder(EncryptionConfig prototype)
Name | Description |
prototype |
EncryptionConfig |
Type | Description |
EncryptionConfig.Builder |
parseDelimitedFrom(InputStream input)
public static EncryptionConfig parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static EncryptionConfig parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static EncryptionConfig parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static EncryptionConfig parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static EncryptionConfig parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static EncryptionConfig parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<EncryptionConfig> parser()
Type | Description |
Parser<EncryptionConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public EncryptionConfig getDefaultInstanceForType()
Type | Description |
EncryptionConfig |
getKmsKeyName()
public String getKmsKeyName()
The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
string kms_key_name = 1;
Type | Description |
String |
The kmsKeyName. |
getKmsKeyNameBytes()
public ByteString getKmsKeyNameBytes()
The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
string kms_key_name = 1;
Type | Description |
ByteString |
The bytes for kmsKeyName. |
getParserForType()
public Parser<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 EncryptionConfig.Builder newBuilderForType()
Type | Description |
EncryptionConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EncryptionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
EncryptionConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public EncryptionConfig.Builder toBuilder()
Type | Description |
EncryptionConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |