Enum UpgradeInfoEvent.State

java.lang.Object
java.lang.Enum<UpgradeInfoEvent.State>
com.google.container.v1.UpgradeInfoEvent.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<UpgradeInfoEvent.State>
Enclosing class:
UpgradeInfoEvent

public static enum UpgradeInfoEvent.State extends Enum<UpgradeInfoEvent.State> implements com.google.protobuf.ProtocolMessageEnum
 The state of the upgrade.
 
Protobuf enum google.container.v1.UpgradeInfoEvent.State
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final UpgradeInfoEvent.State STATE_UNSPECIFIED
       STATE_UNSPECIFIED indicates the state is unspecified.
       
      STATE_UNSPECIFIED = 0;
    • SCHEDULED

      public static final UpgradeInfoEvent.State SCHEDULED
       SCHEDULED indicates the upgrade was scheduled.
       
      SCHEDULED = 1;
    • STARTED

      public static final UpgradeInfoEvent.State STARTED
       STARTED indicates the upgrade has started.
       
      STARTED = 3;
    • SUCCEEDED

      public static final UpgradeInfoEvent.State SUCCEEDED
       SUCCEEDED indicates the upgrade has completed successfully.
       
      SUCCEEDED = 4;
    • FAILED

      public static final UpgradeInfoEvent.State FAILED
       FAILED indicates the upgrade has failed.
       
      FAILED = 5;
    • CANCELED

      public static final UpgradeInfoEvent.State CANCELED
       CANCELED indicates the upgrade has canceled.
       
      CANCELED = 6;
    • UNRECOGNIZED

      public static final UpgradeInfoEvent.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
       STATE_UNSPECIFIED indicates the state is unspecified.
       
      STATE_UNSPECIFIED = 0;
      See Also:
    • SCHEDULED_VALUE

      public static final int SCHEDULED_VALUE
       SCHEDULED indicates the upgrade was scheduled.
       
      SCHEDULED = 1;
      See Also:
    • STARTED_VALUE

      public static final int STARTED_VALUE
       STARTED indicates the upgrade has started.
       
      STARTED = 3;
      See Also:
    • SUCCEEDED_VALUE

      public static final int SUCCEEDED_VALUE
       SUCCEEDED indicates the upgrade has completed successfully.
       
      SUCCEEDED = 4;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       FAILED indicates the upgrade has failed.
       
      FAILED = 5;
      See Also:
    • CANCELED_VALUE

      public static final int CANCELED_VALUE
       CANCELED indicates the upgrade has canceled.
       
      CANCELED = 6;
      See Also:
  • Method Details

    • values

      public static UpgradeInfoEvent.State[] 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

      public static UpgradeInfoEvent.State valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static UpgradeInfoEvent.State valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static UpgradeInfoEvent.State forNumber(int value)
      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.State> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static UpgradeInfoEvent.State 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 name
      NullPointerException - if the argument is null