Enum EncryptionInfo.KmsKeyState
java.lang.Object
java.lang.Enum<EncryptionInfo.KmsKeyState>
com.google.cloud.redis.cluster.v1beta1.EncryptionInfo.KmsKeyState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EncryptionInfo.KmsKeyState>
- Enclosing class:
- EncryptionInfo
public static enum EncryptionInfo.KmsKeyState
extends Enum<EncryptionInfo.KmsKeyState>
implements com.google.protobuf.ProtocolMessageEnum
The state of the KMS key perceived by the system. Refer to the public documentation for the impact of each state.Protobuf enum
google.cloud.redis.cluster.v1beta1.EncryptionInfo.KmsKeyState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBilling is disabled for the project.The KMS key is scheduled to be destroyed.The KMS key is destroyed.The KMS key is disabled.The EKM key is unreachable.The KMS key is enabled and correctly configured.The default value.Permission denied on the KMS key.All other unknown failures. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBilling is disabled for the project.static final intThe KMS key is scheduled to be destroyed.static final intThe KMS key is destroyed.static final intThe KMS key is disabled.static final intThe EKM key is unreachable.static final intThe KMS key is enabled and correctly configured.static final intThe default value.static final intPermission denied on the KMS key.static final intAll other unknown failures. -
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptionInfo.KmsKeyStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EncryptionInfo.KmsKeyState>static EncryptionInfo.KmsKeyStatevalueOf(int value) Deprecated.static EncryptionInfo.KmsKeyStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static EncryptionInfo.KmsKeyStateReturns the enum constant of this type with the specified name.static EncryptionInfo.KmsKeyState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
KMS_KEY_STATE_UNSPECIFIED
The default value. This value is unused.
KMS_KEY_STATE_UNSPECIFIED = 0; -
ENABLED
The KMS key is enabled and correctly configured.
ENABLED = 1; -
PERMISSION_DENIED
Permission denied on the KMS key.
PERMISSION_DENIED = 2; -
DISABLED
The KMS key is disabled.
DISABLED = 3; -
DESTROYED
The KMS key is destroyed.
DESTROYED = 4; -
DESTROY_SCHEDULED
The KMS key is scheduled to be destroyed.
DESTROY_SCHEDULED = 5; -
EKM_KEY_UNREACHABLE_DETECTED
The EKM key is unreachable.
EKM_KEY_UNREACHABLE_DETECTED = 6; -
BILLING_DISABLED
Billing is disabled for the project.
BILLING_DISABLED = 7; -
UNKNOWN_FAILURE
All other unknown failures.
UNKNOWN_FAILURE = 8; -
UNRECOGNIZED
-
-
Field Details
-
KMS_KEY_STATE_UNSPECIFIED_VALUE
public static final int KMS_KEY_STATE_UNSPECIFIED_VALUEThe default value. This value is unused.
KMS_KEY_STATE_UNSPECIFIED = 0;- See Also:
-
ENABLED_VALUE
public static final int ENABLED_VALUEThe KMS key is enabled and correctly configured.
ENABLED = 1;- See Also:
-
PERMISSION_DENIED_VALUE
public static final int PERMISSION_DENIED_VALUEPermission denied on the KMS key.
PERMISSION_DENIED = 2;- See Also:
-
DISABLED_VALUE
public static final int DISABLED_VALUEThe KMS key is disabled.
DISABLED = 3;- See Also:
-
DESTROYED_VALUE
public static final int DESTROYED_VALUEThe KMS key is destroyed.
DESTROYED = 4;- See Also:
-
DESTROY_SCHEDULED_VALUE
public static final int DESTROY_SCHEDULED_VALUEThe KMS key is scheduled to be destroyed.
DESTROY_SCHEDULED = 5;- See Also:
-
EKM_KEY_UNREACHABLE_DETECTED_VALUE
public static final int EKM_KEY_UNREACHABLE_DETECTED_VALUEThe EKM key is unreachable.
EKM_KEY_UNREACHABLE_DETECTED = 6;- See Also:
-
BILLING_DISABLED_VALUE
public static final int BILLING_DISABLED_VALUEBilling is disabled for the project.
BILLING_DISABLED = 7;- See Also:
-
UNKNOWN_FAILURE_VALUE
public static final int UNKNOWN_FAILURE_VALUEAll other unknown failures.
UNKNOWN_FAILURE = 8;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<EncryptionInfo.KmsKeyState> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static EncryptionInfo.KmsKeyState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-