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 Details

    • KMS_KEY_STATE_UNSPECIFIED

      public static final EncryptionInfo.KmsKeyState KMS_KEY_STATE_UNSPECIFIED
       The default value. This value is unused.
       
      KMS_KEY_STATE_UNSPECIFIED = 0;
    • ENABLED

      public static final EncryptionInfo.KmsKeyState ENABLED
       The KMS key is enabled and correctly configured.
       
      ENABLED = 1;
    • PERMISSION_DENIED

      public static final EncryptionInfo.KmsKeyState PERMISSION_DENIED
       Permission denied on the KMS key.
       
      PERMISSION_DENIED = 2;
    • DISABLED

      public static final EncryptionInfo.KmsKeyState DISABLED
       The KMS key is disabled.
       
      DISABLED = 3;
    • DESTROYED

      public static final EncryptionInfo.KmsKeyState DESTROYED
       The KMS key is destroyed.
       
      DESTROYED = 4;
    • DESTROY_SCHEDULED

      public static final EncryptionInfo.KmsKeyState DESTROY_SCHEDULED
       The KMS key is scheduled to be destroyed.
       
      DESTROY_SCHEDULED = 5;
    • EKM_KEY_UNREACHABLE_DETECTED

      public static final EncryptionInfo.KmsKeyState EKM_KEY_UNREACHABLE_DETECTED
       The EKM key is unreachable.
       
      EKM_KEY_UNREACHABLE_DETECTED = 6;
    • BILLING_DISABLED

      public static final EncryptionInfo.KmsKeyState BILLING_DISABLED
       Billing is disabled for the project.
       
      BILLING_DISABLED = 7;
    • UNKNOWN_FAILURE

      public static final EncryptionInfo.KmsKeyState UNKNOWN_FAILURE
       All other unknown failures.
       
      UNKNOWN_FAILURE = 8;
    • UNRECOGNIZED

      public static final EncryptionInfo.KmsKeyState UNRECOGNIZED
  • Field Details

    • KMS_KEY_STATE_UNSPECIFIED_VALUE

      public static final int KMS_KEY_STATE_UNSPECIFIED_VALUE
       The default value. This value is unused.
       
      KMS_KEY_STATE_UNSPECIFIED = 0;
      See Also:
    • ENABLED_VALUE

      public static final int ENABLED_VALUE
       The KMS key is enabled and correctly configured.
       
      ENABLED = 1;
      See Also:
    • PERMISSION_DENIED_VALUE

      public static final int PERMISSION_DENIED_VALUE
       Permission denied on the KMS key.
       
      PERMISSION_DENIED = 2;
      See Also:
    • DISABLED_VALUE

      public static final int DISABLED_VALUE
       The KMS key is disabled.
       
      DISABLED = 3;
      See Also:
    • DESTROYED_VALUE

      public static final int DESTROYED_VALUE
       The KMS key is destroyed.
       
      DESTROYED = 4;
      See Also:
    • DESTROY_SCHEDULED_VALUE

      public static final int DESTROY_SCHEDULED_VALUE
       The 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_VALUE
       The EKM key is unreachable.
       
      EKM_KEY_UNREACHABLE_DETECTED = 6;
      See Also:
    • BILLING_DISABLED_VALUE

      public static final int BILLING_DISABLED_VALUE
       Billing is disabled for the project.
       
      BILLING_DISABLED = 7;
      See Also:
    • UNKNOWN_FAILURE_VALUE

      public static final int UNKNOWN_FAILURE_VALUE
       All other unknown failures.
       
      UNKNOWN_FAILURE = 8;
      See Also:
  • Method Details

    • values

      public static EncryptionInfo.KmsKeyState[] 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

      public static EncryptionInfo.KmsKeyState valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static EncryptionInfo.KmsKeyState valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static EncryptionInfo.KmsKeyState forNumber(int value)
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null