Package flyteidl.admin
Enum ExecutionOuterClass.ExecutionState
- java.lang.Object
-
- java.lang.Enum<ExecutionOuterClass.ExecutionState>
-
- flyteidl.admin.ExecutionOuterClass.ExecutionState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ExecutionOuterClass.ExecutionState>
- Enclosing class:
- ExecutionOuterClass
public static enum ExecutionOuterClass.ExecutionState extends Enum<ExecutionOuterClass.ExecutionState> implements com.google.protobuf.ProtocolMessageEnum
The state of the execution is used to control its visibility in the UI/CLI.
Protobuf enumflyteidl.admin.ExecutionState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTION_ACTIVEBy default, all executions are considered active.EXECUTION_ARCHIVEDArchived executions are no longer visible in the UI.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intEXECUTION_ACTIVE_VALUEBy default, all executions are considered active.static intEXECUTION_ARCHIVED_VALUEArchived executions are no longer visible in the UI.private static com.google.protobuf.Internal.EnumLiteMap<ExecutionOuterClass.ExecutionState>internalValueMapprivate intvalueprivate static ExecutionOuterClass.ExecutionState[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateExecutionState(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ExecutionOuterClass.ExecutionStateforNumber(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.ExecutionState>internalGetValueMap()static ExecutionOuterClass.ExecutionStatevalueOf(int value)Deprecated.static ExecutionOuterClass.ExecutionStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ExecutionOuterClass.ExecutionStatevalueOf(String name)Returns the enum constant of this type with the specified name.static ExecutionOuterClass.ExecutionState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXECUTION_ACTIVE
public static final ExecutionOuterClass.ExecutionState EXECUTION_ACTIVE
By default, all executions are considered active.
EXECUTION_ACTIVE = 0;
-
EXECUTION_ARCHIVED
public static final ExecutionOuterClass.ExecutionState EXECUTION_ARCHIVED
Archived executions are no longer visible in the UI.
EXECUTION_ARCHIVED = 1;
-
UNRECOGNIZED
public static final ExecutionOuterClass.ExecutionState UNRECOGNIZED
-
-
Field Detail
-
EXECUTION_ACTIVE_VALUE
public static final int EXECUTION_ACTIVE_VALUE
By default, all executions are considered active.
EXECUTION_ACTIVE = 0;- See Also:
- Constant Field Values
-
EXECUTION_ARCHIVED_VALUE
public static final int EXECUTION_ARCHIVED_VALUE
Archived executions are no longer visible in the UI.
EXECUTION_ARCHIVED = 1;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<ExecutionOuterClass.ExecutionState> internalValueMap
-
VALUES
private static final ExecutionOuterClass.ExecutionState[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static ExecutionOuterClass.ExecutionState[] 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.ExecutionState c : ExecutionOuterClass.ExecutionState.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.ExecutionState 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.ExecutionState 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.ExecutionState 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.ExecutionState> 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.ExecutionState 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
-
-