Package com.google.container.v1
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 enumgoogle.container.v1.StatusCondition.Code
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CA_EXPIRINGCluster CA is expiring soon.CLOUD_KMS_KEY_ERRORUnable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.GCE_QUOTA_EXCEEDEDGoogle Compute Engine quota was exceeded.GCE_STOCKOUTGCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.GKE_SERVICE_ACCOUNT_DELETEDGKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.SET_BY_OPERATORCluster state was manually changed by an SRE due to a system logic error.UNKNOWNUNKNOWN indicates a generic condition.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCA_EXPIRING_VALUECluster CA is expiring soon.static intCLOUD_KMS_KEY_ERROR_VALUEUnable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.static intGCE_QUOTA_EXCEEDED_VALUEGoogle Compute Engine quota was exceeded.static intGCE_STOCKOUT_VALUEGCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.static intGKE_SERVICE_ACCOUNT_DELETED_VALUEGKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.static intSET_BY_OPERATOR_VALUECluster state was manually changed by an SRE due to a system logic error.static intUNKNOWN_VALUEUNKNOWN indicates a generic condition.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StatusCondition.CodeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<StatusCondition.Code>internalGetValueMap()static StatusCondition.CodevalueOf(int value)Deprecated.static StatusCondition.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static StatusCondition.CodevalueOf(String name)Returns the enum constant of this type with the specified name.static StatusCondition.Code[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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;
-
UNRECOGNIZED
public static final StatusCondition.Code UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN indicates a generic condition.
UNKNOWN = 0;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
GCE_QUOTA_EXCEEDED_VALUE
public static final int GCE_QUOTA_EXCEEDED_VALUE
Google Compute Engine quota was exceeded.
GCE_QUOTA_EXCEEDED = 3;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
CA_EXPIRING_VALUE
public static final int CA_EXPIRING_VALUE
Cluster CA is expiring soon.
CA_EXPIRING = 9;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static StatusCondition.Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StatusCondition.Code c : StatusCondition.Code.values()) System.out.println(c);
- 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 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 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 nameNullPointerException- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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 nameNullPointerException- if the argument is null
-
-