Enum RolloutInfo.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RolloutInfo.State>
- Enclosing class:
- RolloutInfo
public static enum RolloutInfo.State
extends Enum<RolloutInfo.State>
implements com.google.protobuf.ProtocolMessageEnum
State of the rolloutProtobuf enum
google.cloud.configdelivery.v1beta.RolloutInfo.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRollout aborted.Rollout aborting.Rollout cancelled.Rollout completed.Rollout in progress.Rollout stalled.Unspecified state.Rollout suspended. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRollout aborted.static final intRollout aborting.static final intRollout cancelled.static final intRollout completed.static final intRollout in progress.static final intRollout stalled.static final intUnspecified state.static final intRollout suspended. -
Method Summary
Modifier and TypeMethodDescriptionstatic RolloutInfo.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<RolloutInfo.State>static RolloutInfo.StatevalueOf(int value) Deprecated.static RolloutInfo.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static RolloutInfo.StateReturns the enum constant of this type with the specified name.static RolloutInfo.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
Unspecified state.
STATE_UNSPECIFIED = 0; -
COMPLETED
Rollout completed.
COMPLETED = 1; -
SUSPENDED
Rollout suspended.
SUSPENDED = 2; -
ABORTED
Rollout aborted.
ABORTED = 3; -
IN_PROGRESS
Rollout in progress.
IN_PROGRESS = 5; -
STALLED
Rollout stalled.
STALLED = 6; -
CANCELLED
Rollout cancelled.
CANCELLED = 7; -
ABORTING
Rollout aborting.
ABORTING = 8; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEUnspecified state.
STATE_UNSPECIFIED = 0;- See Also:
-
COMPLETED_VALUE
public static final int COMPLETED_VALUERollout completed.
COMPLETED = 1;- See Also:
-
SUSPENDED_VALUE
public static final int SUSPENDED_VALUERollout suspended.
SUSPENDED = 2;- See Also:
-
ABORTED_VALUE
public static final int ABORTED_VALUERollout aborted.
ABORTED = 3;- See Also:
-
IN_PROGRESS_VALUE
public static final int IN_PROGRESS_VALUERollout in progress.
IN_PROGRESS = 5;- See Also:
-
STALLED_VALUE
public static final int STALLED_VALUERollout stalled.
STALLED = 6;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUERollout cancelled.
CANCELLED = 7;- See Also:
-
ABORTING_VALUE
public static final int ABORTING_VALUERollout aborting.
ABORTING = 8;- 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
-