Package com.google.cloud.deploy.v1
Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionAn approver rejected the `Rollout`.The `Rollout` has been cancelled.The `Rollout` is in the process of being cancelled.The `Rollout` has failed.The `Rollout` is halted.The `Rollout` is being deployed.The `Rollout` is waiting for an earlier Rollout(s) to complete on this `Target`.The `Rollout` needs approval.The `Rollout` is waiting for the `Release` to be fully rendered.The `Rollout` has an unspecified state.The `Rollout` has completed successfully. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAn approver rejected the `Rollout`.static final intThe `Rollout` has been cancelled.static final intThe `Rollout` is in the process of being cancelled.static final intThe `Rollout` has failed.static final intThe `Rollout` is halted.static final intThe `Rollout` is being deployed.static final intThe `Rollout` needs approval.static final intThe `Rollout` is waiting for the `Release` to be fully rendered.static final intThe `Rollout` is waiting for an earlier Rollout(s) to complete on this `Target`.static final intThe `Rollout` has an unspecified state.static final intThe `Rollout` has completed successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic Rollout.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Rollout.State>static Rollout.StatevalueOf(int value) Deprecated.static Rollout.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Rollout.StateReturns 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 Details
-
STATE_UNSPECIFIED
The `Rollout` has an unspecified state.
STATE_UNSPECIFIED = 0; -
SUCCEEDED
The `Rollout` has completed successfully.
SUCCEEDED = 1; -
FAILED
The `Rollout` has failed.
FAILED = 2; -
IN_PROGRESS
The `Rollout` is being deployed.
IN_PROGRESS = 3; -
PENDING_APPROVAL
The `Rollout` needs approval.
PENDING_APPROVAL = 4; -
APPROVAL_REJECTED
An approver rejected the `Rollout`.
APPROVAL_REJECTED = 5; -
PENDING
The `Rollout` is waiting for an earlier Rollout(s) to complete on this `Target`.
PENDING = 6; -
PENDING_RELEASE
The `Rollout` is waiting for the `Release` to be fully rendered.
PENDING_RELEASE = 7; -
CANCELLING
The `Rollout` is in the process of being cancelled.
CANCELLING = 8; -
CANCELLED
The `Rollout` has been cancelled.
CANCELLED = 9; -
HALTED
The `Rollout` is halted.
HALTED = 10; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEThe `Rollout` has an unspecified state.
STATE_UNSPECIFIED = 0;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEThe `Rollout` has completed successfully.
SUCCEEDED = 1;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe `Rollout` has failed.
FAILED = 2;- See Also:
-
IN_PROGRESS_VALUE
public static final int IN_PROGRESS_VALUEThe `Rollout` is being deployed.
IN_PROGRESS = 3;- See Also:
-
PENDING_APPROVAL_VALUE
public static final int PENDING_APPROVAL_VALUEThe `Rollout` needs approval.
PENDING_APPROVAL = 4;- See Also:
-
APPROVAL_REJECTED_VALUE
public static final int APPROVAL_REJECTED_VALUEAn approver rejected the `Rollout`.
APPROVAL_REJECTED = 5;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEThe `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_VALUEThe `Rollout` is waiting for the `Release` to be fully rendered.
PENDING_RELEASE = 7;- See Also:
-
CANCELLING_VALUE
public static final int CANCELLING_VALUEThe `Rollout` is in the process of being cancelled.
CANCELLING = 8;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEThe `Rollout` has been cancelled.
CANCELLED = 9;- See Also:
-
HALTED_VALUE
public static final int HALTED_VALUEThe `Rollout` is halted.
HALTED = 10;- 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
-
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
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
-