Package com.google.container.v1
Enum ClusterUpgradeInfo.AutoUpgradePausedReason
java.lang.Object
java.lang.Enum<ClusterUpgradeInfo.AutoUpgradePausedReason>
com.google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ClusterUpgradeInfo.AutoUpgradePausedReason>
- Enclosing class:
- ClusterUpgradeInfo
public static enum ClusterUpgradeInfo.AutoUpgradePausedReason
extends Enum<ClusterUpgradeInfo.AutoUpgradePausedReason>
implements com.google.protobuf.ProtocolMessageEnum
AutoUpgradePausedReason indicates the reason for auto upgrade paused status.Protobuf enum
google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.CLUSTER_DISRUPTION_BUDGET indicates the cluster is outside the cluster disruption budget.CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE indicates the cluster is outside the cluster disruption budget for minor version upgrade.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 intCLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE indicates the cluster is outside the cluster disruption budget for minor version upgrade.static final intCLUSTER_DISRUPTION_BUDGET indicates the cluster is outside the cluster disruption budget.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<ClusterUpgradeInfo.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 ClusterUpgradeInfo.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 = 5; -
MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES
public static final ClusterUpgradeInfo.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 = 6; -
CLUSTER_DISRUPTION_BUDGET
CLUSTER_DISRUPTION_BUDGET indicates the cluster is outside the cluster disruption budget.
CLUSTER_DISRUPTION_BUDGET = 4; -
CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE
public static final ClusterUpgradeInfo.AutoUpgradePausedReason CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADECLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE indicates the cluster is outside the cluster disruption budget for minor version upgrade.
CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE = 7; -
SYSTEM_CONFIG
SYSTEM_CONFIG indicates the cluster upgrade is paused by system config.
SYSTEM_CONFIG = 8; -
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 = 5;- 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 = 6;- See Also:
-
CLUSTER_DISRUPTION_BUDGET_VALUE
public static final int CLUSTER_DISRUPTION_BUDGET_VALUECLUSTER_DISRUPTION_BUDGET indicates the cluster is outside the cluster disruption budget.
CLUSTER_DISRUPTION_BUDGET = 4;- See Also:
-
CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE_VALUE
public static final int CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE_VALUECLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE indicates the cluster is outside the cluster disruption budget for minor version upgrade.
CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE = 7;- See Also:
-
SYSTEM_CONFIG_VALUE
public static final int SYSTEM_CONFIG_VALUESYSTEM_CONFIG indicates the cluster upgrade is paused by system config.
SYSTEM_CONFIG = 8;- 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.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 ClusterUpgradeInfo.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
-