Package com.google.container.v1
Enum ClusterUpgradeInfo.AutoUpgradeStatus
java.lang.Object
java.lang.Enum<ClusterUpgradeInfo.AutoUpgradeStatus>
com.google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ClusterUpgradeInfo.AutoUpgradeStatus>
- Enclosing class:
- ClusterUpgradeInfo
public static enum ClusterUpgradeInfo.AutoUpgradeStatus
extends Enum<ClusterUpgradeInfo.AutoUpgradeStatus>
implements com.google.protobuf.ProtocolMessageEnum
AutoUpgradeStatus indicates the status of auto upgrade.Protobuf enum
google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionACTIVE indicates an active status.MINOR_UPGRADE_PAUSED indicates the minor version upgrade is paused.UNKNOWN indicates an unknown status.UPGRADE_PAUSED indicates the upgrade is paused. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intACTIVE indicates an active status.static final intMINOR_UPGRADE_PAUSED indicates the minor version upgrade is paused.static final intUNKNOWN indicates an unknown status.static final intUPGRADE_PAUSED indicates the upgrade is paused. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ClusterUpgradeInfo.AutoUpgradeStatus>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static ClusterUpgradeInfo.AutoUpgradeStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
UNKNOWN indicates an unknown status.
UNKNOWN = 0; -
ACTIVE
ACTIVE indicates an active status.
ACTIVE = 1; -
MINOR_UPGRADE_PAUSED
MINOR_UPGRADE_PAUSED indicates the minor version upgrade is paused.
MINOR_UPGRADE_PAUSED = 4; -
UPGRADE_PAUSED
UPGRADE_PAUSED indicates the upgrade is paused.
UPGRADE_PAUSED = 5; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUNKNOWN indicates an unknown status.
UNKNOWN = 0;- See Also:
-
ACTIVE_VALUE
public static final int ACTIVE_VALUEACTIVE indicates an active status.
ACTIVE = 1;- See Also:
-
MINOR_UPGRADE_PAUSED_VALUE
public static final int MINOR_UPGRADE_PAUSED_VALUEMINOR_UPGRADE_PAUSED indicates the minor version upgrade is paused.
MINOR_UPGRADE_PAUSED = 4;- See Also:
-
UPGRADE_PAUSED_VALUE
public static final int UPGRADE_PAUSED_VALUEUPGRADE_PAUSED indicates the upgrade is paused.
UPGRADE_PAUSED = 5;- 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
public static com.google.protobuf.Internal.EnumLiteMap<ClusterUpgradeInfo.AutoUpgradeStatus> 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 ClusterUpgradeInfo.AutoUpgradeStatus 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
-