public enum EncryptionStatus extends Enum<EncryptionStatus> implements com.google.protobuf.ProtocolMessageEnum
How a resource is encrypted.Protobuf enum
google.privacy.dlp.v2.EncryptionStatus| Enum Constant and Description |
|---|
ENCRYPTION_CUSTOMER_MANAGED
Customer provides the key.
|
ENCRYPTION_GOOGLE_MANAGED
Google manages server-side encryption keys on your behalf.
|
ENCRYPTION_STATUS_UNSPECIFIED
Unused.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ENCRYPTION_CUSTOMER_MANAGED_VALUE
Customer provides the key.
|
static int |
ENCRYPTION_GOOGLE_MANAGED_VALUE
Google manages server-side encryption keys on your behalf.
|
static int |
ENCRYPTION_STATUS_UNSPECIFIED_VALUE
Unused.
|
| Modifier and Type | Method and Description |
|---|---|
static EncryptionStatus |
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<EncryptionStatus> |
internalGetValueMap() |
static EncryptionStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EncryptionStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EncryptionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionStatus ENCRYPTION_STATUS_UNSPECIFIED
Unused.
ENCRYPTION_STATUS_UNSPECIFIED = 0;public static final EncryptionStatus ENCRYPTION_GOOGLE_MANAGED
Google manages server-side encryption keys on your behalf.
ENCRYPTION_GOOGLE_MANAGED = 1;public static final EncryptionStatus ENCRYPTION_CUSTOMER_MANAGED
Customer provides the key.
ENCRYPTION_CUSTOMER_MANAGED = 2;public static final EncryptionStatus UNRECOGNIZED
public static final int ENCRYPTION_STATUS_UNSPECIFIED_VALUE
Unused.
ENCRYPTION_STATUS_UNSPECIFIED = 0;public static final int ENCRYPTION_GOOGLE_MANAGED_VALUE
Google manages server-side encryption keys on your behalf.
ENCRYPTION_GOOGLE_MANAGED = 1;public static final int ENCRYPTION_CUSTOMER_MANAGED_VALUE
Customer provides the key.
ENCRYPTION_CUSTOMER_MANAGED = 2;public static EncryptionStatus[] values()
for (EncryptionStatus c : EncryptionStatus.values()) System.out.println(c);
public static EncryptionStatus 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 EncryptionStatus valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static EncryptionStatus forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EncryptionStatus> 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 EncryptionStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.