Enum RolloutAction
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RolloutAction>
@Generated
public enum RolloutAction
extends Enum<RolloutAction>
implements com.google.protobuf.ProtocolMessageEnum
RolloutAction indicates the action to be performed on the Rollout.Protobuf enum
google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutAction-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCancel the Rollout permanently.Pause the Rollout until it is resumed (i.e.Run the Rollout until it naturally reaches a terminal state.Unspecified action, will be treated as RUN by default. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCancel the Rollout permanently.static final intPause the Rollout until it is resumed (i.e.static final intRun the Rollout until it naturally reaches a terminal state.static final intUnspecified action, will be treated as RUN by default. -
Method Summary
Modifier and TypeMethodDescriptionstatic RolloutActionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<RolloutAction>static RolloutActionvalueOf(int value) Deprecated.static RolloutActionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static RolloutActionReturns the enum constant of this type with the specified name.static RolloutAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ROLLOUT_ACTION_UNSPECIFIED
Unspecified action, will be treated as RUN by default.
ROLLOUT_ACTION_UNSPECIFIED = 0; -
ROLLOUT_ACTION_RUN
Run the Rollout until it naturally reaches a terminal state. A rollout requested to run will progress through all natural Rollout States (such as RUNNING -> SUCCEEDED or RUNNING -> FAILED). If retriable errors are encountered during the rollout, the rollout will paused by default and can be resumed by re-requesting this RUN action.
ROLLOUT_ACTION_RUN = 1; -
ROLLOUT_ACTION_PAUSE
Pause the Rollout until it is resumed (i.e. RUN is requested).
ROLLOUT_ACTION_PAUSE = 2; -
ROLLOUT_ACTION_CANCEL
Cancel the Rollout permanently.
ROLLOUT_ACTION_CANCEL = 3; -
UNRECOGNIZED
-
-
Field Details
-
ROLLOUT_ACTION_UNSPECIFIED_VALUE
public static final int ROLLOUT_ACTION_UNSPECIFIED_VALUEUnspecified action, will be treated as RUN by default.
ROLLOUT_ACTION_UNSPECIFIED = 0;- See Also:
-
ROLLOUT_ACTION_RUN_VALUE
public static final int ROLLOUT_ACTION_RUN_VALUERun the Rollout until it naturally reaches a terminal state. A rollout requested to run will progress through all natural Rollout States (such as RUNNING -> SUCCEEDED or RUNNING -> FAILED). If retriable errors are encountered during the rollout, the rollout will paused by default and can be resumed by re-requesting this RUN action.
ROLLOUT_ACTION_RUN = 1;- See Also:
-
ROLLOUT_ACTION_PAUSE_VALUE
public static final int ROLLOUT_ACTION_PAUSE_VALUEPause the Rollout until it is resumed (i.e. RUN is requested).
ROLLOUT_ACTION_PAUSE = 2;- See Also:
-
ROLLOUT_ACTION_CANCEL_VALUE
public static final int ROLLOUT_ACTION_CANCEL_VALUECancel the Rollout permanently.
ROLLOUT_ACTION_CANCEL = 3;- 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
-