Package com.google.container.v1
Enum 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 conditionProtobuf enum
google.container.v1.StatusCondition.Code-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCluster CA is expiring soon.Cloud KMS key version used for etcd level encryption has been destroyed.Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.Google Compute Engine quota was exceeded.GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.Node service account is missing permissions.Cluster state was manually changed by an SRE due to a system logic error.UNKNOWN indicates a generic condition. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCluster CA is expiring soon.static final intCloud KMS key version used for etcd level encryption has been destroyed.static final intUnable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.static final intGoogle Compute Engine quota was exceeded.static final intGCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.static final intGKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.static final intNode service account is missing permissions.static final intCluster state was manually changed by an SRE due to a system logic error.static final intUNKNOWN indicates a generic condition. -
Method Summary
Modifier and TypeMethodDescriptionstatic StatusCondition.CodeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<StatusCondition.Code>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.CodeReturns 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 Details
-
UNKNOWN
UNKNOWN indicates a generic condition.
UNKNOWN = 0; -
GCE_STOCKOUT
GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.
GCE_STOCKOUT = 1; -
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
Google Compute Engine quota was exceeded.
GCE_QUOTA_EXCEEDED = 3; -
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
Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.
CLOUD_KMS_KEY_ERROR = 7; -
CA_EXPIRING
Cluster CA is expiring soon.
CA_EXPIRING = 9; -
NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS
Node service account is missing permissions.
NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS = 10; -
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
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUNKNOWN indicates a generic condition.
UNKNOWN = 0;- See Also:
-
GCE_STOCKOUT_VALUE
public static final int GCE_STOCKOUT_VALUEGCE_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_VALUEGKE_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_VALUEGoogle Compute Engine quota was exceeded.
GCE_QUOTA_EXCEEDED = 3;- See Also:
-
SET_BY_OPERATOR_VALUE
public static final int SET_BY_OPERATOR_VALUECluster 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_VALUEUnable 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_VALUECluster CA is expiring soon.
CA_EXPIRING = 9;- See Also:
-
NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS_VALUE
public static final int NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS_VALUENode 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_VALUECloud 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
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
-
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 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
-