Enum StatusCondition.Code

java.lang.Object
java.lang.Enum<StatusCondition.Code>
com.google.container.v1.StatusCondition.Code
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<StatusCondition.Code>
Enclosing class:
StatusCondition

public static enum StatusCondition.Code extends Enum<StatusCondition.Code> implements com.google.protobuf.ProtocolMessageEnum
 Code for each condition
 
Protobuf enum google.container.v1.StatusCondition.Code
  • Enum Constant Details

    • UNKNOWN

      public static final StatusCondition.Code UNKNOWN
       UNKNOWN indicates a generic condition.
       
      UNKNOWN = 0;
    • GCE_STOCKOUT

      public static final StatusCondition.Code GCE_STOCKOUT
       GCE_STOCKOUT indicates that Google Compute Engine resources are
       temporarily unavailable.
       
      GCE_STOCKOUT = 1;
    • GKE_SERVICE_ACCOUNT_DELETED

      public static final StatusCondition.Code GKE_SERVICE_ACCOUNT_DELETED
       GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
       service account.
       
      GKE_SERVICE_ACCOUNT_DELETED = 2;
    • GCE_QUOTA_EXCEEDED

      public static final StatusCondition.Code GCE_QUOTA_EXCEEDED
       Google Compute Engine quota was exceeded.
       
      GCE_QUOTA_EXCEEDED = 3;
    • SET_BY_OPERATOR

      public static final StatusCondition.Code SET_BY_OPERATOR
       Cluster state was manually changed by an SRE due to a system logic error.
       
      SET_BY_OPERATOR = 4;
    • CLOUD_KMS_KEY_ERROR

      public static final StatusCondition.Code CLOUD_KMS_KEY_ERROR
       Unable to perform an encrypt operation against the CloudKMS key used for
       etcd level encryption.
       
      CLOUD_KMS_KEY_ERROR = 7;
    • CA_EXPIRING

      public static final StatusCondition.Code CA_EXPIRING
       Cluster CA is expiring soon.
       
      CA_EXPIRING = 9;
    • NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS

      public static final StatusCondition.Code NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS
       Node service account is missing permissions.
       
      NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS = 10;
    • CLOUD_KMS_KEY_DESTROYED

      public static final StatusCondition.Code CLOUD_KMS_KEY_DESTROYED
       Cloud KMS key version used for etcd level encryption has been destroyed.
       This is a permanent error.
       
      CLOUD_KMS_KEY_DESTROYED = 11;
    • UNRECOGNIZED

      public static final StatusCondition.Code UNRECOGNIZED
  • Field Details

    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       UNKNOWN indicates a generic condition.
       
      UNKNOWN = 0;
      See Also:
    • GCE_STOCKOUT_VALUE

      public static final int GCE_STOCKOUT_VALUE
       GCE_STOCKOUT indicates that Google Compute Engine resources are
       temporarily unavailable.
       
      GCE_STOCKOUT = 1;
      See Also:
    • GKE_SERVICE_ACCOUNT_DELETED_VALUE

      public static final int GKE_SERVICE_ACCOUNT_DELETED_VALUE
       GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
       service account.
       
      GKE_SERVICE_ACCOUNT_DELETED = 2;
      See Also:
    • GCE_QUOTA_EXCEEDED_VALUE

      public static final int GCE_QUOTA_EXCEEDED_VALUE
       Google Compute Engine quota was exceeded.
       
      GCE_QUOTA_EXCEEDED = 3;
      See Also:
    • SET_BY_OPERATOR_VALUE

      public static final int SET_BY_OPERATOR_VALUE
       Cluster state was manually changed by an SRE due to a system logic error.
       
      SET_BY_OPERATOR = 4;
      See Also:
    • CLOUD_KMS_KEY_ERROR_VALUE

      public static final int CLOUD_KMS_KEY_ERROR_VALUE
       Unable to perform an encrypt operation against the CloudKMS key used for
       etcd level encryption.
       
      CLOUD_KMS_KEY_ERROR = 7;
      See Also:
    • CA_EXPIRING_VALUE

      public static final int CA_EXPIRING_VALUE
       Cluster CA is expiring soon.
       
      CA_EXPIRING = 9;
      See Also:
    • NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS_VALUE

      public static final int NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS_VALUE
       Node service account is missing permissions.
       
      NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS = 10;
      See Also:
    • CLOUD_KMS_KEY_DESTROYED_VALUE

      public static final int CLOUD_KMS_KEY_DESTROYED_VALUE
       Cloud KMS key version used for etcd level encryption has been destroyed.
       This is a permanent error.
       
      CLOUD_KMS_KEY_DESTROYED = 11;
      See Also:
  • Method Details

    • values

      public static StatusCondition.Code[] 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 StatusCondition.Code 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 StatusCondition.Code 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 StatusCondition.Code 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<StatusCondition.Code> 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 StatusCondition.Code 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