Enum Rollout.State

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

public static enum Rollout.State extends Enum<Rollout.State> implements com.google.protobuf.ProtocolMessageEnum
 Valid states of a `Rollout`.
 
Protobuf enum google.cloud.deploy.v1.Rollout.State
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final Rollout.State STATE_UNSPECIFIED
       The `Rollout` has an unspecified state.
       
      STATE_UNSPECIFIED = 0;
    • SUCCEEDED

      public static final Rollout.State SUCCEEDED
       The `Rollout` has completed successfully.
       
      SUCCEEDED = 1;
    • FAILED

      public static final Rollout.State FAILED
       The `Rollout` has failed.
       
      FAILED = 2;
    • IN_PROGRESS

      public static final Rollout.State IN_PROGRESS
       The `Rollout` is being deployed.
       
      IN_PROGRESS = 3;
    • PENDING_APPROVAL

      public static final Rollout.State PENDING_APPROVAL
       The `Rollout` needs approval.
       
      PENDING_APPROVAL = 4;
    • APPROVAL_REJECTED

      public static final Rollout.State APPROVAL_REJECTED
       An approver rejected the `Rollout`.
       
      APPROVAL_REJECTED = 5;
    • PENDING

      public static final Rollout.State PENDING
       The `Rollout` is waiting for an earlier Rollout(s) to complete on this
       `Target`.
       
      PENDING = 6;
    • PENDING_RELEASE

      public static final Rollout.State PENDING_RELEASE
       The `Rollout` is waiting for the `Release` to be fully rendered.
       
      PENDING_RELEASE = 7;
    • CANCELLING

      public static final Rollout.State CANCELLING
       The `Rollout` is in the process of being cancelled.
       
      CANCELLING = 8;
    • CANCELLED

      public static final Rollout.State CANCELLED
       The `Rollout` has been cancelled.
       
      CANCELLED = 9;
    • HALTED

      public static final Rollout.State HALTED
       The `Rollout` is halted.
       
      HALTED = 10;
    • UNRECOGNIZED

      public static final Rollout.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
       The `Rollout` has an unspecified state.
       
      STATE_UNSPECIFIED = 0;
      See Also:
    • SUCCEEDED_VALUE

      public static final int SUCCEEDED_VALUE
       The `Rollout` has completed successfully.
       
      SUCCEEDED = 1;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       The `Rollout` has failed.
       
      FAILED = 2;
      See Also:
    • IN_PROGRESS_VALUE

      public static final int IN_PROGRESS_VALUE
       The `Rollout` is being deployed.
       
      IN_PROGRESS = 3;
      See Also:
    • PENDING_APPROVAL_VALUE

      public static final int PENDING_APPROVAL_VALUE
       The `Rollout` needs approval.
       
      PENDING_APPROVAL = 4;
      See Also:
    • APPROVAL_REJECTED_VALUE

      public static final int APPROVAL_REJECTED_VALUE
       An approver rejected the `Rollout`.
       
      APPROVAL_REJECTED = 5;
      See Also:
    • PENDING_VALUE

      public static final int PENDING_VALUE
       The `Rollout` is waiting for an earlier Rollout(s) to complete on this
       `Target`.
       
      PENDING = 6;
      See Also:
    • PENDING_RELEASE_VALUE

      public static final int PENDING_RELEASE_VALUE
       The `Rollout` is waiting for the `Release` to be fully rendered.
       
      PENDING_RELEASE = 7;
      See Also:
    • CANCELLING_VALUE

      public static final int CANCELLING_VALUE
       The `Rollout` is in the process of being cancelled.
       
      CANCELLING = 8;
      See Also:
    • CANCELLED_VALUE

      public static final int CANCELLED_VALUE
       The `Rollout` has been cancelled.
       
      CANCELLED = 9;
      See Also:
    • HALTED_VALUE

      public static final int HALTED_VALUE
       The `Rollout` is halted.
       
      HALTED = 10;
      See Also:
  • Method Details

    • values

      public static Rollout.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 Rollout.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 Rollout.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 Rollout.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<Rollout.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 Rollout.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