Package com.google.dataflow.v1beta3
Enum ExecutionState
- java.lang.Object
-
- java.lang.Enum<ExecutionState>
-
- com.google.dataflow.v1beta3.ExecutionState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ExecutionState>
public enum ExecutionState extends Enum<ExecutionState> implements com.google.protobuf.ProtocolMessageEnum
The state of some component of job execution.
Protobuf enumgoogle.dataflow.v1beta3.ExecutionState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTION_STATE_CANCELLEDExecution of the component was cancelled.EXECUTION_STATE_FAILEDThe component failed.EXECUTION_STATE_NOT_STARTEDThe component is not yet running.EXECUTION_STATE_RUNNINGThe component is currently running.EXECUTION_STATE_SUCCEEDEDThe component succeeded.EXECUTION_STATE_UNKNOWNThe component state is unknown or unspecified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intEXECUTION_STATE_CANCELLED_VALUEExecution of the component was cancelled.static intEXECUTION_STATE_FAILED_VALUEThe component failed.static intEXECUTION_STATE_NOT_STARTED_VALUEThe component is not yet running.static intEXECUTION_STATE_RUNNING_VALUEThe component is currently running.static intEXECUTION_STATE_SUCCEEDED_VALUEThe component succeeded.static intEXECUTION_STATE_UNKNOWN_VALUEThe component state is unknown or unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static 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<ExecutionState>internalGetValueMap()static ExecutionStatevalueOf(int value)Deprecated.static ExecutionStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ExecutionStatevalueOf(String name)Returns the enum constant of this type with the specified name.static ExecutionState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXECUTION_STATE_UNKNOWN
public static final ExecutionState EXECUTION_STATE_UNKNOWN
The component state is unknown or unspecified.
EXECUTION_STATE_UNKNOWN = 0;
-
EXECUTION_STATE_NOT_STARTED
public static final ExecutionState EXECUTION_STATE_NOT_STARTED
The component is not yet running.
EXECUTION_STATE_NOT_STARTED = 1;
-
EXECUTION_STATE_RUNNING
public static final ExecutionState EXECUTION_STATE_RUNNING
The component is currently running.
EXECUTION_STATE_RUNNING = 2;
-
EXECUTION_STATE_SUCCEEDED
public static final ExecutionState EXECUTION_STATE_SUCCEEDED
The component succeeded.
EXECUTION_STATE_SUCCEEDED = 3;
-
EXECUTION_STATE_FAILED
public static final ExecutionState EXECUTION_STATE_FAILED
The component failed.
EXECUTION_STATE_FAILED = 4;
-
EXECUTION_STATE_CANCELLED
public static final ExecutionState EXECUTION_STATE_CANCELLED
Execution of the component was cancelled.
EXECUTION_STATE_CANCELLED = 5;
-
UNRECOGNIZED
public static final ExecutionState UNRECOGNIZED
-
-
Field Detail
-
EXECUTION_STATE_UNKNOWN_VALUE
public static final int EXECUTION_STATE_UNKNOWN_VALUE
The component state is unknown or unspecified.
EXECUTION_STATE_UNKNOWN = 0;- See Also:
- Constant Field Values
-
EXECUTION_STATE_NOT_STARTED_VALUE
public static final int EXECUTION_STATE_NOT_STARTED_VALUE
The component is not yet running.
EXECUTION_STATE_NOT_STARTED = 1;- See Also:
- Constant Field Values
-
EXECUTION_STATE_RUNNING_VALUE
public static final int EXECUTION_STATE_RUNNING_VALUE
The component is currently running.
EXECUTION_STATE_RUNNING = 2;- See Also:
- Constant Field Values
-
EXECUTION_STATE_SUCCEEDED_VALUE
public static final int EXECUTION_STATE_SUCCEEDED_VALUE
The component succeeded.
EXECUTION_STATE_SUCCEEDED = 3;- See Also:
- Constant Field Values
-
EXECUTION_STATE_FAILED_VALUE
public static final int EXECUTION_STATE_FAILED_VALUE
The component failed.
EXECUTION_STATE_FAILED = 4;- See Also:
- Constant Field Values
-
EXECUTION_STATE_CANCELLED_VALUE
public static final int EXECUTION_STATE_CANCELLED_VALUE
Execution of the component was cancelled.
EXECUTION_STATE_CANCELLED = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static 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 (ExecutionState c : 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 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 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 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<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 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
-
-