Package com.google.dataflow.v1beta3
Enum ExecutionState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ExecutionState>
@Generated
public enum ExecutionState
extends Enum<ExecutionState>
implements com.google.protobuf.ProtocolMessageEnum
The state of some component of job execution.Protobuf enum
google.dataflow.v1beta3.ExecutionState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExecution of the component was cancelled.The component failed.The component is not yet running.The component is currently running.The component succeeded.The component state is unknown or unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExecution of the component was cancelled.static final intThe component failed.static final intThe component is not yet running.static final intThe component is currently running.static final intThe component succeeded.static final intThe component state is unknown or unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ExecutionState>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 ExecutionStateReturns 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 Details
-
EXECUTION_STATE_UNKNOWN
The component state is unknown or unspecified.
EXECUTION_STATE_UNKNOWN = 0; -
EXECUTION_STATE_NOT_STARTED
The component is not yet running.
EXECUTION_STATE_NOT_STARTED = 1; -
EXECUTION_STATE_RUNNING
The component is currently running.
EXECUTION_STATE_RUNNING = 2; -
EXECUTION_STATE_SUCCEEDED
The component succeeded.
EXECUTION_STATE_SUCCEEDED = 3; -
EXECUTION_STATE_FAILED
The component failed.
EXECUTION_STATE_FAILED = 4; -
EXECUTION_STATE_CANCELLED
Execution of the component was cancelled.
EXECUTION_STATE_CANCELLED = 5; -
UNRECOGNIZED
-
-
Field Details
-
EXECUTION_STATE_UNKNOWN_VALUE
public static final int EXECUTION_STATE_UNKNOWN_VALUEThe component state is unknown or unspecified.
EXECUTION_STATE_UNKNOWN = 0;- See Also:
-
EXECUTION_STATE_NOT_STARTED_VALUE
public static final int EXECUTION_STATE_NOT_STARTED_VALUEThe component is not yet running.
EXECUTION_STATE_NOT_STARTED = 1;- See Also:
-
EXECUTION_STATE_RUNNING_VALUE
public static final int EXECUTION_STATE_RUNNING_VALUEThe component is currently running.
EXECUTION_STATE_RUNNING = 2;- See Also:
-
EXECUTION_STATE_SUCCEEDED_VALUE
public static final int EXECUTION_STATE_SUCCEEDED_VALUEThe component succeeded.
EXECUTION_STATE_SUCCEEDED = 3;- See Also:
-
EXECUTION_STATE_FAILED_VALUE
public static final int EXECUTION_STATE_FAILED_VALUEThe component failed.
EXECUTION_STATE_FAILED = 4;- See Also:
-
EXECUTION_STATE_CANCELLED_VALUE
public static final int EXECUTION_STATE_CANCELLED_VALUEExecution of the component was cancelled.
EXECUTION_STATE_CANCELLED = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-