Package flyteidl.admin
Enum ExecutionOuterClass.ExecutionMetadata.ExecutionMode
- java.lang.Object
-
- java.lang.Enum<ExecutionOuterClass.ExecutionMetadata.ExecutionMode>
-
- flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ExecutionOuterClass.ExecutionMetadata.ExecutionMode>
- Enclosing class:
- ExecutionOuterClass.ExecutionMetadata
public static enum ExecutionOuterClass.ExecutionMetadata.ExecutionMode extends Enum<ExecutionOuterClass.ExecutionMetadata.ExecutionMode> implements com.google.protobuf.ProtocolMessageEnum
The method by which this execution was launched.
Protobuf enumflyteidl.admin.ExecutionMetadata.ExecutionMode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILD_WORKFLOWThis execution was triggered by another execution.MANUALThe default execution mode, MANUAL implies that an execution was launched by an individual.RECOVEREDThis execution was recovered from another execution.RELAUNCHThis execution was launched with identical inputs as a previous execution.SCHEDULEDA schedule triggered this execution launch.SYSTEMA system process was responsible for launching this execution rather an individual.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCHILD_WORKFLOW_VALUEThis execution was triggered by another execution.private static com.google.protobuf.Internal.EnumLiteMap<ExecutionOuterClass.ExecutionMetadata.ExecutionMode>internalValueMapstatic intMANUAL_VALUEThe default execution mode, MANUAL implies that an execution was launched by an individual.static intRECOVERED_VALUEThis execution was recovered from another execution.static intRELAUNCH_VALUEThis execution was launched with identical inputs as a previous execution.static intSCHEDULED_VALUEA schedule triggered this execution launch.static intSYSTEM_VALUEA system process was responsible for launching this execution rather an individual.private intvalueprivate static ExecutionOuterClass.ExecutionMetadata.ExecutionMode[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateExecutionMode(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ExecutionOuterClass.ExecutionMetadata.ExecutionModeforNumber(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<ExecutionOuterClass.ExecutionMetadata.ExecutionMode>internalGetValueMap()static ExecutionOuterClass.ExecutionMetadata.ExecutionModevalueOf(int value)Deprecated.static ExecutionOuterClass.ExecutionMetadata.ExecutionModevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ExecutionOuterClass.ExecutionMetadata.ExecutionModevalueOf(String name)Returns the enum constant of this type with the specified name.static ExecutionOuterClass.ExecutionMetadata.ExecutionMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANUAL
public static final ExecutionOuterClass.ExecutionMetadata.ExecutionMode MANUAL
The default execution mode, MANUAL implies that an execution was launched by an individual.
MANUAL = 0;
-
SCHEDULED
public static final ExecutionOuterClass.ExecutionMetadata.ExecutionMode SCHEDULED
A schedule triggered this execution launch.
SCHEDULED = 1;
-
SYSTEM
public static final ExecutionOuterClass.ExecutionMetadata.ExecutionMode SYSTEM
A system process was responsible for launching this execution rather an individual.
SYSTEM = 2;
-
RELAUNCH
public static final ExecutionOuterClass.ExecutionMetadata.ExecutionMode RELAUNCH
This execution was launched with identical inputs as a previous execution.
RELAUNCH = 3;
-
CHILD_WORKFLOW
public static final ExecutionOuterClass.ExecutionMetadata.ExecutionMode CHILD_WORKFLOW
This execution was triggered by another execution.
CHILD_WORKFLOW = 4;
-
RECOVERED
public static final ExecutionOuterClass.ExecutionMetadata.ExecutionMode RECOVERED
This execution was recovered from another execution.
RECOVERED = 5;
-
UNRECOGNIZED
public static final ExecutionOuterClass.ExecutionMetadata.ExecutionMode UNRECOGNIZED
-
-
Field Detail
-
MANUAL_VALUE
public static final int MANUAL_VALUE
The default execution mode, MANUAL implies that an execution was launched by an individual.
MANUAL = 0;- See Also:
- Constant Field Values
-
SCHEDULED_VALUE
public static final int SCHEDULED_VALUE
A schedule triggered this execution launch.
SCHEDULED = 1;- See Also:
- Constant Field Values
-
SYSTEM_VALUE
public static final int SYSTEM_VALUE
A system process was responsible for launching this execution rather an individual.
SYSTEM = 2;- See Also:
- Constant Field Values
-
RELAUNCH_VALUE
public static final int RELAUNCH_VALUE
This execution was launched with identical inputs as a previous execution.
RELAUNCH = 3;- See Also:
- Constant Field Values
-
CHILD_WORKFLOW_VALUE
public static final int CHILD_WORKFLOW_VALUE
This execution was triggered by another execution.
CHILD_WORKFLOW = 4;- See Also:
- Constant Field Values
-
RECOVERED_VALUE
public static final int RECOVERED_VALUE
This execution was recovered from another execution.
RECOVERED = 5;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<ExecutionOuterClass.ExecutionMetadata.ExecutionMode> internalValueMap
-
VALUES
private static final ExecutionOuterClass.ExecutionMetadata.ExecutionMode[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static ExecutionOuterClass.ExecutionMetadata.ExecutionMode[] 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 (ExecutionOuterClass.ExecutionMetadata.ExecutionMode c : ExecutionOuterClass.ExecutionMetadata.ExecutionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionOuterClass.ExecutionMetadata.ExecutionMode 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 ExecutionOuterClass.ExecutionMetadata.ExecutionMode 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 ExecutionOuterClass.ExecutionMetadata.ExecutionMode 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<ExecutionOuterClass.ExecutionMetadata.ExecutionMode> 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 ExecutionOuterClass.ExecutionMetadata.ExecutionMode 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
-
-