Package com.google.container.v1beta1
Enum StatusCondition.Code
- java.lang.Object
-
- java.lang.Enum<StatusCondition.Code>
-
- com.google.container.v1beta1.StatusCondition.Code
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<StatusCondition.Code>
- Enclosing class:
- StatusCondition
@Deprecated public static enum StatusCondition.Code extends Enum<StatusCondition.Code> implements com.google.protobuf.ProtocolMessageEnum
Deprecated.Code for each condition
Protobuf enumgoogle.container.v1beta1.StatusCondition.Code
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CA_EXPIRINGDeprecated.Cluster CA is expiring soon.CLOUD_KMS_KEY_ERRORDeprecated.Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.GCE_QUOTA_EXCEEDEDDeprecated.Google Compute Engine quota was exceeded.GCE_STOCKOUTDeprecated.GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.GKE_SERVICE_ACCOUNT_DELETEDDeprecated.GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.SET_BY_OPERATORDeprecated.Cluster state was manually changed by an SRE due to a system logic error.UNKNOWNDeprecated.UNKNOWN indicates a generic condition.UNRECOGNIZEDDeprecated.
-
Field Summary
Fields Modifier and Type Field Description static intCA_EXPIRING_VALUEDeprecated.Cluster CA is expiring soon.static intCLOUD_KMS_KEY_ERROR_VALUEDeprecated.Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.static intGCE_QUOTA_EXCEEDED_VALUEDeprecated.Google Compute Engine quota was exceeded.static intGCE_STOCKOUT_VALUEDeprecated.GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.static intGKE_SERVICE_ACCOUNT_DELETED_VALUEDeprecated.GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.static intSET_BY_OPERATOR_VALUEDeprecated.Cluster state was manually changed by an SRE due to a system logic error.static intUNKNOWN_VALUEDeprecated.UNKNOWN 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)Deprecated.static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()Deprecated.com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()Deprecated.intgetNumber()Deprecated.com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()Deprecated.static com.google.protobuf.Internal.EnumLiteMap<StatusCondition.Code>internalGetValueMap()Deprecated.static StatusCondition.CodevalueOf(int value)Deprecated.static StatusCondition.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Deprecated.Returns the enum constant of this type with the specified name.static StatusCondition.CodevalueOf(String name)Deprecated.Returns the enum constant of this type with the specified name.static StatusCondition.Code[]values()Deprecated.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
Deprecated.UNKNOWN indicates a generic condition.
UNKNOWN = 0;
-
GCE_STOCKOUT
public static final StatusCondition.Code GCE_STOCKOUT
Deprecated.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
Deprecated.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
Deprecated.Google Compute Engine quota was exceeded.
GCE_QUOTA_EXCEEDED = 3;
-
SET_BY_OPERATOR
public static final StatusCondition.Code SET_BY_OPERATOR
Deprecated.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
Deprecated.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
Deprecated.Cluster CA is expiring soon. More codes TBA
CA_EXPIRING = 9;
-
UNRECOGNIZED
public static final StatusCondition.Code UNRECOGNIZED
Deprecated.
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
Deprecated.UNKNOWN indicates a generic condition.
UNKNOWN = 0;- See Also:
- Constant Field Values
-
GCE_STOCKOUT_VALUE
public static final int GCE_STOCKOUT_VALUE
Deprecated.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
Deprecated.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
Deprecated.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
Deprecated.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
Deprecated.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
Deprecated.Cluster CA is expiring soon. More codes TBA
CA_EXPIRING = 9;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static StatusCondition.Code[] values()
Deprecated.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)
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:
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()
Deprecated.- 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)
Deprecated.- 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()
Deprecated.
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
Deprecated.- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
Deprecated.- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
Deprecated.
-
valueOf
public static StatusCondition.Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
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
-
-