public static enum EncryptionInfo.EncryptionType extends Enum<EncryptionInfo.EncryptionType> implements com.google.protobuf.ProtocolMessageEnum
Possible encryption types for a resource.Protobuf enum
google.bigtable.admin.v2.EncryptionInfo.EncryptionType| Enum Constant and Description |
|---|
CUSTOMER_MANAGED_ENCRYPTION
The data backing this resource is encrypted at rest with a key that is
managed by the customer.
|
ENCRYPTION_TYPE_UNSPECIFIED
Encryption type was not specified, though data at rest remains encrypted.
|
GOOGLE_DEFAULT_ENCRYPTION
The data backing this resource is encrypted at rest with a key that is
fully managed by Google.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOMER_MANAGED_ENCRYPTION_VALUE
The data backing this resource is encrypted at rest with a key that is
managed by the customer.
|
static int |
ENCRYPTION_TYPE_UNSPECIFIED_VALUE
Encryption type was not specified, though data at rest remains encrypted.
|
static int |
GOOGLE_DEFAULT_ENCRYPTION_VALUE
The data backing this resource is encrypted at rest with a key that is
fully managed by Google.
|
| Modifier and Type | Method and Description |
|---|---|
static EncryptionInfo.EncryptionType |
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.EncryptionType> |
internalGetValueMap() |
static EncryptionInfo.EncryptionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EncryptionInfo.EncryptionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EncryptionInfo.EncryptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionInfo.EncryptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionInfo.EncryptionType ENCRYPTION_TYPE_UNSPECIFIED
Encryption type was not specified, though data at rest remains encrypted.
ENCRYPTION_TYPE_UNSPECIFIED = 0;public static final EncryptionInfo.EncryptionType GOOGLE_DEFAULT_ENCRYPTION
The data backing this resource is encrypted at rest with a key that is fully managed by Google. No key version or status will be populated. This is the default state.
GOOGLE_DEFAULT_ENCRYPTION = 1;public static final EncryptionInfo.EncryptionType CUSTOMER_MANAGED_ENCRYPTION
The data backing this resource is encrypted at rest with a key that is managed by the customer. The in-use version of the key and its status are populated for CMEK-protected tables. CMEK-protected backups are pinned to the key version that was in use at the time the backup was taken. This key version is populated but its status is not tracked and is reported as `UNKNOWN`.
CUSTOMER_MANAGED_ENCRYPTION = 2;public static final EncryptionInfo.EncryptionType UNRECOGNIZED
public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE
Encryption type was not specified, though data at rest remains encrypted.
ENCRYPTION_TYPE_UNSPECIFIED = 0;public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE
The data backing this resource is encrypted at rest with a key that is fully managed by Google. No key version or status will be populated. This is the default state.
GOOGLE_DEFAULT_ENCRYPTION = 1;public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE
The data backing this resource is encrypted at rest with a key that is managed by the customer. The in-use version of the key and its status are populated for CMEK-protected tables. CMEK-protected backups are pinned to the key version that was in use at the time the backup was taken. This key version is populated but its status is not tracked and is reported as `UNKNOWN`.
CUSTOMER_MANAGED_ENCRYPTION = 2;public static EncryptionInfo.EncryptionType[] values()
for (EncryptionInfo.EncryptionType c : EncryptionInfo.EncryptionType.values()) System.out.println(c);
public static EncryptionInfo.EncryptionType 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.EncryptionType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static EncryptionInfo.EncryptionType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EncryptionInfo.EncryptionType> 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.EncryptionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.