Package com.google.container.v1
Enum UpgradeInfoEvent.EventType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<UpgradeInfoEvent.EventType>
- Enclosing class:
- UpgradeInfoEvent
public static enum UpgradeInfoEvent.EventType
extends Enum<UpgradeInfoEvent.EventType>
implements com.google.protobuf.ProtocolMessageEnum
The type of the event.Protobuf enum
google.container.v1.UpgradeInfoEvent.EventType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCOS_MILESTONE_VERSION_UPDATE indicates that the COS node image will update COS milestone version for new patch versions starting with the one in the description.DISRUPTION_EVENT indicates the event is about the disruption.END_OF_SUPPORT indicates GKE version reaches end of support, check standard_support_end_time and extended_support_end_time for more details.EVENT_TYPE_UNSPECIFIED indicates the event type is unspecified.UPGRADE_LIFECYCLE indicates the event is about the upgrade lifecycle. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCOS_MILESTONE_VERSION_UPDATE indicates that the COS node image will update COS milestone version for new patch versions starting with the one in the description.static final intDISRUPTION_EVENT indicates the event is about the disruption.static final intEND_OF_SUPPORT indicates GKE version reaches end of support, check standard_support_end_time and extended_support_end_time for more details.static final intEVENT_TYPE_UNSPECIFIED indicates the event type is unspecified.static final intUPGRADE_LIFECYCLE indicates the event is about the upgrade lifecycle. -
Method Summary
Modifier and TypeMethodDescriptionstatic UpgradeInfoEvent.EventTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<UpgradeInfoEvent.EventType>static UpgradeInfoEvent.EventTypevalueOf(int value) Deprecated.static UpgradeInfoEvent.EventTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static UpgradeInfoEvent.EventTypeReturns the enum constant of this type with the specified name.static UpgradeInfoEvent.EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EVENT_TYPE_UNSPECIFIED
EVENT_TYPE_UNSPECIFIED indicates the event type is unspecified.
EVENT_TYPE_UNSPECIFIED = 0; -
END_OF_SUPPORT
END_OF_SUPPORT indicates GKE version reaches end of support, check standard_support_end_time and extended_support_end_time for more details.
END_OF_SUPPORT = 1; -
COS_MILESTONE_VERSION_UPDATE
COS_MILESTONE_VERSION_UPDATE indicates that the COS node image will update COS milestone version for new patch versions starting with the one in the description.
COS_MILESTONE_VERSION_UPDATE = 2; -
UPGRADE_LIFECYCLE
UPGRADE_LIFECYCLE indicates the event is about the upgrade lifecycle.
UPGRADE_LIFECYCLE = 3; -
DISRUPTION_EVENT
DISRUPTION_EVENT indicates the event is about the disruption.
DISRUPTION_EVENT = 4; -
UNRECOGNIZED
-
-
Field Details
-
EVENT_TYPE_UNSPECIFIED_VALUE
public static final int EVENT_TYPE_UNSPECIFIED_VALUEEVENT_TYPE_UNSPECIFIED indicates the event type is unspecified.
EVENT_TYPE_UNSPECIFIED = 0;- See Also:
-
END_OF_SUPPORT_VALUE
public static final int END_OF_SUPPORT_VALUEEND_OF_SUPPORT indicates GKE version reaches end of support, check standard_support_end_time and extended_support_end_time for more details.
END_OF_SUPPORT = 1;- See Also:
-
COS_MILESTONE_VERSION_UPDATE_VALUE
public static final int COS_MILESTONE_VERSION_UPDATE_VALUECOS_MILESTONE_VERSION_UPDATE indicates that the COS node image will update COS milestone version for new patch versions starting with the one in the description.
COS_MILESTONE_VERSION_UPDATE = 2;- See Also:
-
UPGRADE_LIFECYCLE_VALUE
public static final int UPGRADE_LIFECYCLE_VALUEUPGRADE_LIFECYCLE indicates the event is about the upgrade lifecycle.
UPGRADE_LIFECYCLE = 3;- See Also:
-
DISRUPTION_EVENT_VALUE
public static final int DISRUPTION_EVENT_VALUEDISRUPTION_EVENT indicates the event is about the disruption.
DISRUPTION_EVENT = 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<UpgradeInfoEvent.EventType> 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 UpgradeInfoEvent.EventType 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
-