Enum ClusterInfo.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ClusterInfo.State>
- Enclosing class:
- ClusterInfo
public static enum ClusterInfo.State
extends Enum<ClusterInfo.State>
implements com.google.protobuf.ProtocolMessageEnum
State of the rollout for the cluster.Protobuf enum
google.cloud.configdelivery.v1beta.ClusterInfo.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAborted state.Cancelled state.Completed state.Error state.In progress state.Skipped state.Stalled state.Unspecified state.Unchanged state.Waiting state. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAborted state.static final intCancelled state.static final intCompleted state.static final intError state.static final intIn progress state.static final intSkipped state.static final intStalled state.static final intUnspecified state.static final intUnchanged state.static final intWaiting state. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterInfo.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<ClusterInfo.State>static ClusterInfo.StatevalueOf(int value) Deprecated.static ClusterInfo.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ClusterInfo.StateReturns the enum constant of this type with the specified name.static ClusterInfo.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; -
WAITING
Waiting state.
WAITING = 1; -
IN_PROGRESS
In progress state.
IN_PROGRESS = 2; -
STALLED
Stalled state.
STALLED = 3; -
COMPLETED
Completed state.
COMPLETED = 4; -
ABORTED
Aborted state.
ABORTED = 5; -
CANCELLED
Cancelled state.
CANCELLED = 6; -
ERROR
Error state.
ERROR = 7; -
UNCHANGED
Unchanged state.
UNCHANGED = 8; -
SKIPPED
Skipped state.
SKIPPED = 9; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEUnspecified state.
STATE_UNSPECIFIED = 0;- See Also:
-
WAITING_VALUE
public static final int WAITING_VALUEWaiting state.
WAITING = 1;- See Also:
-
IN_PROGRESS_VALUE
public static final int IN_PROGRESS_VALUEIn progress state.
IN_PROGRESS = 2;- See Also:
-
STALLED_VALUE
public static final int STALLED_VALUEStalled state.
STALLED = 3;- See Also:
-
COMPLETED_VALUE
public static final int COMPLETED_VALUECompleted state.
COMPLETED = 4;- See Also:
-
ABORTED_VALUE
public static final int ABORTED_VALUEAborted state.
ABORTED = 5;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUECancelled state.
CANCELLED = 6;- See Also:
-
ERROR_VALUE
public static final int ERROR_VALUEError state.
ERROR = 7;- See Also:
-
UNCHANGED_VALUE
public static final int UNCHANGED_VALUEUnchanged state.
UNCHANGED = 8;- See Also:
-
SKIPPED_VALUE
public static final int SKIPPED_VALUESkipped state.
SKIPPED = 9;- 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
-