public static enum WorkflowNode.NodeState extends Enum<WorkflowNode.NodeState> implements com.google.protobuf.ProtocolMessageEnum
The workflow node state.Protobuf enum
google.cloud.dataproc.v1.WorkflowNode.NodeState| Enum Constant and Description |
|---|
BLOCKED
The node is awaiting prerequisite node to finish.
|
COMPLETED
The node completed successfully.
|
FAILED
The node failed.
|
NODE_STATE_UNSPECIFIED
State is unspecified.
|
RUNNABLE
The node is runnable but not running.
|
RUNNING
The node is running.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCKED_VALUE
The node is awaiting prerequisite node to finish.
|
static int |
COMPLETED_VALUE
The node completed successfully.
|
static int |
FAILED_VALUE
The node failed.
|
static int |
NODE_STATE_UNSPECIFIED_VALUE
State is unspecified.
|
static int |
RUNNABLE_VALUE
The node is runnable but not running.
|
static int |
RUNNING_VALUE
The node is running.
|
| Modifier and Type | Method and Description |
|---|---|
static WorkflowNode.NodeState |
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<WorkflowNode.NodeState> |
internalGetValueMap() |
static WorkflowNode.NodeState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WorkflowNode.NodeState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WorkflowNode.NodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowNode.NodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowNode.NodeState NODE_STATE_UNSPECIFIED
State is unspecified.
NODE_STATE_UNSPECIFIED = 0;public static final WorkflowNode.NodeState BLOCKED
The node is awaiting prerequisite node to finish.
BLOCKED = 1;public static final WorkflowNode.NodeState RUNNABLE
The node is runnable but not running.
RUNNABLE = 2;public static final WorkflowNode.NodeState RUNNING
The node is running.
RUNNING = 3;public static final WorkflowNode.NodeState COMPLETED
The node completed successfully.
COMPLETED = 4;public static final WorkflowNode.NodeState FAILED
The node failed. A node can be marked FAILED because its ancestor or peer failed.
FAILED = 5;public static final WorkflowNode.NodeState UNRECOGNIZED
public static final int NODE_STATE_UNSPECIFIED_VALUE
State is unspecified.
NODE_STATE_UNSPECIFIED = 0;public static final int BLOCKED_VALUE
The node is awaiting prerequisite node to finish.
BLOCKED = 1;public static final int RUNNABLE_VALUE
The node is runnable but not running.
RUNNABLE = 2;public static final int RUNNING_VALUE
The node is running.
RUNNING = 3;public static final int COMPLETED_VALUE
The node completed successfully.
COMPLETED = 4;public static final int FAILED_VALUE
The node failed. A node can be marked FAILED because its ancestor or peer failed.
FAILED = 5;public static WorkflowNode.NodeState[] values()
for (WorkflowNode.NodeState c : WorkflowNode.NodeState.values()) System.out.println(c);
public static WorkflowNode.NodeState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static WorkflowNode.NodeState valueOf(int value)
forNumber(int) instead.public static WorkflowNode.NodeState forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<WorkflowNode.NodeState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static WorkflowNode.NodeState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.