Package api
Enum SubmitOuterClass.JobState
- java.lang.Object
-
- java.lang.Enum<SubmitOuterClass.JobState>
-
- api.SubmitOuterClass.JobState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SubmitOuterClass.JobState>
- Enclosing class:
- SubmitOuterClass
public static enum SubmitOuterClass.JobState extends Enum<SubmitOuterClass.JobState> implements com.google.protobuf.ProtocolMessageEnum
swagger:model
Protobuf enumapi.JobState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDCANCELLED = 9;FAILEDFAILED = 4;LEASEDLEASED = 7;PENDINGPENDING = 1;PREEMPTEDPREEMPTED = 8;QUEUEDQUEUED = 0;REJECTEDREJECTED = 10;RUNNINGRUNNING = 2;SUBMITTEDSUBMITTED = 6;SUCCEEDEDSUCCEEDED = 3;UNKNOWNUNKNOWN = 5;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCANCELLED_VALUECANCELLED = 9;static intFAILED_VALUEFAILED = 4;static intLEASED_VALUELEASED = 7;static intPENDING_VALUEPENDING = 1;static intPREEMPTED_VALUEPREEMPTED = 8;static intQUEUED_VALUEQUEUED = 0;static intREJECTED_VALUEREJECTED = 10;static intRUNNING_VALUERUNNING = 2;static intSUBMITTED_VALUESUBMITTED = 6;static intSUCCEEDED_VALUESUCCEEDED = 3;static intUNKNOWN_VALUEUNKNOWN = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SubmitOuterClass.JobStateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<SubmitOuterClass.JobState>internalGetValueMap()static SubmitOuterClass.JobStatevalueOf(int value)Deprecated.static SubmitOuterClass.JobStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static SubmitOuterClass.JobStatevalueOf(String name)Returns the enum constant of this type with the specified name.static SubmitOuterClass.JobState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUED
public static final SubmitOuterClass.JobState QUEUED
QUEUED = 0;
-
PENDING
public static final SubmitOuterClass.JobState PENDING
PENDING = 1;
-
RUNNING
public static final SubmitOuterClass.JobState RUNNING
RUNNING = 2;
-
SUCCEEDED
public static final SubmitOuterClass.JobState SUCCEEDED
SUCCEEDED = 3;
-
FAILED
public static final SubmitOuterClass.JobState FAILED
FAILED = 4;
-
UNKNOWN
public static final SubmitOuterClass.JobState UNKNOWN
UNKNOWN = 5;
-
SUBMITTED
public static final SubmitOuterClass.JobState SUBMITTED
SUBMITTED = 6;
-
LEASED
public static final SubmitOuterClass.JobState LEASED
LEASED = 7;
-
PREEMPTED
public static final SubmitOuterClass.JobState PREEMPTED
PREEMPTED = 8;
-
CANCELLED
public static final SubmitOuterClass.JobState CANCELLED
CANCELLED = 9;
-
REJECTED
public static final SubmitOuterClass.JobState REJECTED
REJECTED = 10;
-
UNRECOGNIZED
public static final SubmitOuterClass.JobState UNRECOGNIZED
-
-
Field Detail
-
QUEUED_VALUE
public static final int QUEUED_VALUE
QUEUED = 0;- See Also:
- Constant Field Values
-
PENDING_VALUE
public static final int PENDING_VALUE
PENDING = 1;- See Also:
- Constant Field Values
-
RUNNING_VALUE
public static final int RUNNING_VALUE
RUNNING = 2;- See Also:
- Constant Field Values
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUE
SUCCEEDED = 3;- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
FAILED = 4;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN = 5;- See Also:
- Constant Field Values
-
SUBMITTED_VALUE
public static final int SUBMITTED_VALUE
SUBMITTED = 6;- See Also:
- Constant Field Values
-
LEASED_VALUE
public static final int LEASED_VALUE
LEASED = 7;- See Also:
- Constant Field Values
-
PREEMPTED_VALUE
public static final int PREEMPTED_VALUE
PREEMPTED = 8;- See Also:
- Constant Field Values
-
CANCELLED_VALUE
public static final int CANCELLED_VALUE
CANCELLED = 9;- See Also:
- Constant Field Values
-
REJECTED_VALUE
public static final int REJECTED_VALUE
REJECTED = 10;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SubmitOuterClass.JobState[] 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 (SubmitOuterClass.JobState c : SubmitOuterClass.JobState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubmitOuterClass.JobState 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static SubmitOuterClass.JobState 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 SubmitOuterClass.JobState 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<SubmitOuterClass.JobState> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static SubmitOuterClass.JobState 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
-
-