public static enum EncryptionInfo.Type extends Enum<EncryptionInfo.Type> implements com.google.protobuf.ProtocolMessageEnum
Possible encryption types.Protobuf enum
google.cloud.alloydb.v1.EncryptionInfo.Type| Enum Constant and Description |
|---|
CUSTOMER_MANAGED_ENCRYPTION
The data is encrypted at rest with a key that is managed by the customer.
|
GOOGLE_DEFAULT_ENCRYPTION
The data is encrypted at rest with a key that is fully managed by Google.
|
TYPE_UNSPECIFIED
Encryption type not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOMER_MANAGED_ENCRYPTION_VALUE
The data is encrypted at rest with a key that is managed by the customer.
|
static int |
GOOGLE_DEFAULT_ENCRYPTION_VALUE
The data is encrypted at rest with a key that is fully managed by Google.
|
static int |
TYPE_UNSPECIFIED_VALUE
Encryption type not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static EncryptionInfo.Type |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<EncryptionInfo.Type> |
internalGetValueMap() |
static EncryptionInfo.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EncryptionInfo.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EncryptionInfo.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionInfo.Type TYPE_UNSPECIFIED
Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
TYPE_UNSPECIFIED = 0;public static final EncryptionInfo.Type GOOGLE_DEFAULT_ENCRYPTION
The data is encrypted at rest with a key that is fully managed by Google. No key version will be populated. This is the default state.
GOOGLE_DEFAULT_ENCRYPTION = 1;public static final EncryptionInfo.Type CUSTOMER_MANAGED_ENCRYPTION
The data is encrypted at rest with a key that is managed by the customer. KMS key versions will be populated.
CUSTOMER_MANAGED_ENCRYPTION = 2;public static final EncryptionInfo.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
TYPE_UNSPECIFIED = 0;public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE
The data is encrypted at rest with a key that is fully managed by Google. No key version will be populated. This is the default state.
GOOGLE_DEFAULT_ENCRYPTION = 1;public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE
The data is encrypted at rest with a key that is managed by the customer. KMS key versions will be populated.
CUSTOMER_MANAGED_ENCRYPTION = 2;public static EncryptionInfo.Type[] values()
for (EncryptionInfo.Type c : EncryptionInfo.Type.values()) System.out.println(c);
public static EncryptionInfo.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static EncryptionInfo.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static EncryptionInfo.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EncryptionInfo.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static EncryptionInfo.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.