Package com.google.cloud.deploy.v1
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 enumgoogle.cloud.deploy.v1.Rollout.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPROVAL_REJECTED
An approver rejected the `Rollout`.CANCELLED
The `Rollout` has been cancelled.CANCELLING
The `Rollout` is in the process of being cancelled.FAILED
The `Rollout` has failed.HALTED
The `Rollout` is halted.IN_PROGRESS
The `Rollout` is being deployed.PENDING
The `Rollout` is waiting for an earlier Rollout(s) to complete on this `Target`.PENDING_APPROVAL
The `Rollout` needs approval.PENDING_RELEASE
The `Rollout` is waiting for the `Release` to be fully rendered.STATE_UNSPECIFIED
The `Rollout` has an unspecified state.SUCCEEDED
The `Rollout` has completed successfully.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
APPROVAL_REJECTED_VALUE
An approver rejected the `Rollout`.static int
CANCELLED_VALUE
The `Rollout` has been cancelled.static int
CANCELLING_VALUE
The `Rollout` is in the process of being cancelled.static int
FAILED_VALUE
The `Rollout` has failed.static int
HALTED_VALUE
The `Rollout` is halted.static int
IN_PROGRESS_VALUE
The `Rollout` is being deployed.static int
PENDING_APPROVAL_VALUE
The `Rollout` needs approval.static int
PENDING_RELEASE_VALUE
The `Rollout` is waiting for the `Release` to be fully rendered.static int
PENDING_VALUE
The `Rollout` is waiting for an earlier Rollout(s) to complete on this `Target`.static int
STATE_UNSPECIFIED_VALUE
The `Rollout` has an unspecified state.static int
SUCCEEDED_VALUE
The `Rollout` has completed successfully.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Rollout.State
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Rollout.State>
internalGetValueMap()
static Rollout.State
valueOf(int value)
Deprecated.static Rollout.State
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Rollout.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static Rollout.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
The `Rollout` has an unspecified state.
STATE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUE
The `Rollout` has completed successfully.
SUCCEEDED = 1;
- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
The `Rollout` has failed.
FAILED = 2;
- See Also:
- Constant Field Values
-
IN_PROGRESS_VALUE
public static final int IN_PROGRESS_VALUE
The `Rollout` is being deployed.
IN_PROGRESS = 3;
- See Also:
- Constant Field Values
-
PENDING_APPROVAL_VALUE
public static final int PENDING_APPROVAL_VALUE
The `Rollout` needs approval.
PENDING_APPROVAL = 4;
- See Also:
- Constant Field Values
-
APPROVAL_REJECTED_VALUE
public static final int APPROVAL_REJECTED_VALUE
An approver rejected the `Rollout`.
APPROVAL_REJECTED = 5;
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
CANCELLING_VALUE
public static final int CANCELLING_VALUE
The `Rollout` is in the process of being cancelled.
CANCELLING = 8;
- See Also:
- Constant Field Values
-
CANCELLED_VALUE
public static final int CANCELLED_VALUE
The `Rollout` has been cancelled.
CANCELLED = 9;
- See Also:
- Constant Field Values
-
HALTED_VALUE
public static final int HALTED_VALUE
The `Rollout` is halted.
HALTED = 10;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Rollout.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Rollout.State c : Rollout.State.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.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 nameNullPointerException
- 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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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 nameNullPointerException
- if the argument is null
-
-