Package flyteidl.core
Enum Execution.WorkflowExecution.Phase
- java.lang.Object
-
- java.lang.Enum<Execution.WorkflowExecution.Phase>
-
- flyteidl.core.Execution.WorkflowExecution.Phase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Execution.WorkflowExecution.Phase>
- Enclosing class:
- Execution.WorkflowExecution
public static enum Execution.WorkflowExecution.Phase extends Enum<Execution.WorkflowExecution.Phase> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumflyteidl.core.WorkflowExecution.Phase
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEDABORTED = 7;ABORTINGABORTING = 9;FAILEDFAILED = 6;FAILINGFAILING = 5;QUEUEDQUEUED = 1;RUNNINGRUNNING = 2;SUCCEEDEDSUCCEEDED = 4;SUCCEEDINGSUCCEEDING = 3;TIMED_OUTTIMED_OUT = 8;UNDEFINEDUNDEFINED = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intABORTED_VALUEABORTED = 7;static intABORTING_VALUEABORTING = 9;static intFAILED_VALUEFAILED = 6;static intFAILING_VALUEFAILING = 5;private static com.google.protobuf.Internal.EnumLiteMap<Execution.WorkflowExecution.Phase>internalValueMapstatic intQUEUED_VALUEQUEUED = 1;static intRUNNING_VALUERUNNING = 2;static intSUCCEEDED_VALUESUCCEEDED = 4;static intSUCCEEDING_VALUESUCCEEDING = 3;static intTIMED_OUT_VALUETIMED_OUT = 8;static intUNDEFINED_VALUEUNDEFINED = 0;private intvalueprivate static Execution.WorkflowExecution.Phase[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privatePhase(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Execution.WorkflowExecution.PhaseforNumber(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<Execution.WorkflowExecution.Phase>internalGetValueMap()static Execution.WorkflowExecution.PhasevalueOf(int value)Deprecated.static Execution.WorkflowExecution.PhasevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Execution.WorkflowExecution.PhasevalueOf(String name)Returns the enum constant of this type with the specified name.static Execution.WorkflowExecution.Phase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final Execution.WorkflowExecution.Phase UNDEFINED
UNDEFINED = 0;
-
QUEUED
public static final Execution.WorkflowExecution.Phase QUEUED
QUEUED = 1;
-
RUNNING
public static final Execution.WorkflowExecution.Phase RUNNING
RUNNING = 2;
-
SUCCEEDING
public static final Execution.WorkflowExecution.Phase SUCCEEDING
SUCCEEDING = 3;
-
SUCCEEDED
public static final Execution.WorkflowExecution.Phase SUCCEEDED
SUCCEEDED = 4;
-
FAILING
public static final Execution.WorkflowExecution.Phase FAILING
FAILING = 5;
-
FAILED
public static final Execution.WorkflowExecution.Phase FAILED
FAILED = 6;
-
ABORTED
public static final Execution.WorkflowExecution.Phase ABORTED
ABORTED = 7;
-
TIMED_OUT
public static final Execution.WorkflowExecution.Phase TIMED_OUT
TIMED_OUT = 8;
-
ABORTING
public static final Execution.WorkflowExecution.Phase ABORTING
ABORTING = 9;
-
UNRECOGNIZED
public static final Execution.WorkflowExecution.Phase UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_VALUE
public static final int UNDEFINED_VALUE
UNDEFINED = 0;- See Also:
- Constant Field Values
-
QUEUED_VALUE
public static final int QUEUED_VALUE
QUEUED = 1;- See Also:
- Constant Field Values
-
RUNNING_VALUE
public static final int RUNNING_VALUE
RUNNING = 2;- See Also:
- Constant Field Values
-
SUCCEEDING_VALUE
public static final int SUCCEEDING_VALUE
SUCCEEDING = 3;- See Also:
- Constant Field Values
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUE
SUCCEEDED = 4;- See Also:
- Constant Field Values
-
FAILING_VALUE
public static final int FAILING_VALUE
FAILING = 5;- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
FAILED = 6;- See Also:
- Constant Field Values
-
ABORTED_VALUE
public static final int ABORTED_VALUE
ABORTED = 7;- See Also:
- Constant Field Values
-
TIMED_OUT_VALUE
public static final int TIMED_OUT_VALUE
TIMED_OUT = 8;- See Also:
- Constant Field Values
-
ABORTING_VALUE
public static final int ABORTING_VALUE
ABORTING = 9;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Execution.WorkflowExecution.Phase> internalValueMap
-
VALUES
private static final Execution.WorkflowExecution.Phase[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static Execution.WorkflowExecution.Phase[] 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 (Execution.WorkflowExecution.Phase c : Execution.WorkflowExecution.Phase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Execution.WorkflowExecution.Phase 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 Execution.WorkflowExecution.Phase 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 Execution.WorkflowExecution.Phase 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<Execution.WorkflowExecution.Phase> 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 Execution.WorkflowExecution.Phase 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
-
-