public static enum WorkflowNode.NodeState extends Enum<WorkflowNode.NodeState> implements 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 Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<WorkflowNode.NodeState> |
internalGetValueMap() |
static WorkflowNode.NodeState |
valueOf(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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static WorkflowNode.NodeState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static WorkflowNode.NodeState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<WorkflowNode.NodeState> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static WorkflowNode.NodeState valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.