Package com.google.container.v1
Enum NodePoolUpgradeInfo.AutoUpgradePausedReason
java.lang.Object
java.lang.Enum<NodePoolUpgradeInfo.AutoUpgradePausedReason>
com.google.container.v1.NodePoolUpgradeInfo.AutoUpgradePausedReason
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<NodePoolUpgradeInfo.AutoUpgradePausedReason>
- Enclosing class:
- NodePoolUpgradeInfo
public static enum NodePoolUpgradeInfo.AutoUpgradePausedReason
extends Enum<NodePoolUpgradeInfo.AutoUpgradePausedReason>
implements com.google.protobuf.ProtocolMessageEnum
AutoUpgradePausedReason indicates the reason for auto upgrade paused status.Protobuf enum
google.container.v1.NodePoolUpgradeInfo.AutoUpgradePausedReason-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_MINOR_UPGRADES.MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_UPGRADES.MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance window.SYSTEM_CONFIG indicates the cluster upgrade is paused by system config. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.static final intMAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_MINOR_UPGRADES.static final intMAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_UPGRADES.static final intMAINTENANCE_WINDOW indicates the cluster is outside customer maintenance window.static final intSYSTEM_CONFIG indicates the cluster upgrade is paused by system config. -
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<NodePoolUpgradeInfo.AutoUpgradePausedReason>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.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED
public static final NodePoolUpgradeInfo.AutoUpgradePausedReason AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIEDAUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.
AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED = 0; -
MAINTENANCE_WINDOW
MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance window.
MAINTENANCE_WINDOW = 1; -
MAINTENANCE_EXCLUSION_NO_UPGRADES
MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_UPGRADES.
MAINTENANCE_EXCLUSION_NO_UPGRADES = 2; -
MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES
public static final NodePoolUpgradeInfo.AutoUpgradePausedReason MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADESMAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_MINOR_UPGRADES.
MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES = 3; -
SYSTEM_CONFIG
SYSTEM_CONFIG indicates the cluster upgrade is paused by system config.
SYSTEM_CONFIG = 4; -
UNRECOGNIZED
-
-
Field Details
-
AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED_VALUE
public static final int AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED_VALUEAUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.
AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED = 0;- See Also:
-
MAINTENANCE_WINDOW_VALUE
public static final int MAINTENANCE_WINDOW_VALUEMAINTENANCE_WINDOW indicates the cluster is outside customer maintenance window.
MAINTENANCE_WINDOW = 1;- See Also:
-
MAINTENANCE_EXCLUSION_NO_UPGRADES_VALUE
public static final int MAINTENANCE_EXCLUSION_NO_UPGRADES_VALUEMAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_UPGRADES.
MAINTENANCE_EXCLUSION_NO_UPGRADES = 2;- See Also:
-
MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES_VALUE
public static final int MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES_VALUEMAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_MINOR_UPGRADES.
MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES = 3;- See Also:
-
SYSTEM_CONFIG_VALUE
public static final int SYSTEM_CONFIG_VALUESYSTEM_CONFIG indicates the cluster upgrade is paused by system config.
SYSTEM_CONFIG = 4;- 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<NodePoolUpgradeInfo.AutoUpgradePausedReason> 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 NodePoolUpgradeInfo.AutoUpgradePausedReason 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
-