public enum KmsKeyState extends Enum<KmsKeyState> implements com.google.protobuf.ProtocolMessageEnum
Represents the accessibility state of a customer-managed KMS key used for CMEK integration.Protobuf enum
google.cloud.edgecontainer.v1.KmsKeyState| Enum Constant and Description |
|---|
KMS_KEY_STATE_KEY_AVAILABLE
The key is available for use, and dependent resources should be accessible.
|
KMS_KEY_STATE_KEY_UNAVAILABLE
The key is unavailable for an unspecified reason.
|
KMS_KEY_STATE_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
KMS_KEY_STATE_KEY_AVAILABLE_VALUE
The key is available for use, and dependent resources should be accessible.
|
static int |
KMS_KEY_STATE_KEY_UNAVAILABLE_VALUE
The key is unavailable for an unspecified reason.
|
static int |
KMS_KEY_STATE_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static KmsKeyState |
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<KmsKeyState> |
internalGetValueMap() |
static KmsKeyState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static KmsKeyState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static KmsKeyState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KmsKeyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KmsKeyState KMS_KEY_STATE_UNSPECIFIED
Unspecified.
KMS_KEY_STATE_UNSPECIFIED = 0;public static final KmsKeyState KMS_KEY_STATE_KEY_AVAILABLE
The key is available for use, and dependent resources should be accessible.
KMS_KEY_STATE_KEY_AVAILABLE = 1;public static final KmsKeyState KMS_KEY_STATE_KEY_UNAVAILABLE
The key is unavailable for an unspecified reason. Dependent resources may be inaccessible.
KMS_KEY_STATE_KEY_UNAVAILABLE = 2;public static final KmsKeyState UNRECOGNIZED
public static final int KMS_KEY_STATE_UNSPECIFIED_VALUE
Unspecified.
KMS_KEY_STATE_UNSPECIFIED = 0;public static final int KMS_KEY_STATE_KEY_AVAILABLE_VALUE
The key is available for use, and dependent resources should be accessible.
KMS_KEY_STATE_KEY_AVAILABLE = 1;public static final int KMS_KEY_STATE_KEY_UNAVAILABLE_VALUE
The key is unavailable for an unspecified reason. Dependent resources may be inaccessible.
KMS_KEY_STATE_KEY_UNAVAILABLE = 2;public static KmsKeyState[] values()
for (KmsKeyState c : KmsKeyState.values()) System.out.println(c);
public static KmsKeyState 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 KmsKeyState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static KmsKeyState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<KmsKeyState> 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 KmsKeyState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.