Enum WorkflowInvocation.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<WorkflowInvocation.State>
- Enclosing class:
- WorkflowInvocation
public static enum WorkflowInvocation.State
extends Enum<WorkflowInvocation.State>
implements com.google.protobuf.ProtocolMessageEnum
Represents the current state of a workflow invocation.Protobuf enum
google.cloud.dataform.v1beta1.WorkflowInvocation.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe workflow invocation is being cancelled, but some actions are still running.The workflow invocation was cancelled.The workflow invocation failed.The workflow invocation is currently running.Default value.The workflow invocation succeeded. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe workflow invocation is being cancelled, but some actions are still running.static final intThe workflow invocation was cancelled.static final intThe workflow invocation failed.static final intThe workflow invocation is currently running.static final intDefault value.static final intThe workflow invocation succeeded. -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowInvocation.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<WorkflowInvocation.State>static WorkflowInvocation.StatevalueOf(int value) Deprecated.static WorkflowInvocation.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static WorkflowInvocation.StateReturns the enum constant of this type with the specified name.static WorkflowInvocation.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
Default value. This value is unused.
STATE_UNSPECIFIED = 0; -
RUNNING
The workflow invocation is currently running.
RUNNING = 1; -
SUCCEEDED
The workflow invocation succeeded. A terminal state.
SUCCEEDED = 2; -
CANCELLED
The workflow invocation was cancelled. A terminal state.
CANCELLED = 3; -
FAILED
The workflow invocation failed. A terminal state.
FAILED = 4; -
CANCELING
The workflow invocation is being cancelled, but some actions are still running.
CANCELING = 5; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEDefault value. This value is unused.
STATE_UNSPECIFIED = 0;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUEThe workflow invocation is currently running.
RUNNING = 1;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEThe workflow invocation succeeded. A terminal state.
SUCCEEDED = 2;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEThe workflow invocation was cancelled. A terminal state.
CANCELLED = 3;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe workflow invocation failed. A terminal state.
FAILED = 4;- See Also:
-
CANCELING_VALUE
public static final int CANCELING_VALUEThe workflow invocation is being cancelled, but some actions are still running.
CANCELING = 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
public static com.google.protobuf.Internal.EnumLiteMap<WorkflowInvocation.State> 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
public static WorkflowInvocation.State 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
-