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_CANCELLED
Execution of the component was cancelled.EXECUTION_STATE_FAILED
The component failed.EXECUTION_STATE_NOT_STARTED
The component is not yet running.EXECUTION_STATE_RUNNING
The component is currently running.EXECUTION_STATE_SUCCEEDED
The component succeeded.EXECUTION_STATE_UNKNOWN
The component state is unknown or unspecified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
EXECUTION_STATE_CANCELLED_VALUE
Execution of the component was cancelled.static int
EXECUTION_STATE_FAILED_VALUE
The component failed.static int
EXECUTION_STATE_NOT_STARTED_VALUE
The component is not yet running.static int
EXECUTION_STATE_RUNNING_VALUE
The component is currently running.static int
EXECUTION_STATE_SUCCEEDED_VALUE
The component succeeded.static int
EXECUTION_STATE_UNKNOWN_VALUE
The component state is unknown or unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ExecutionState
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<ExecutionState>
internalGetValueMap()
static ExecutionState
valueOf(int value)
Deprecated.static ExecutionState
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ExecutionState
valueOf(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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in 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
-
-