Class WorkflowNode (4.49.0)

public final class WorkflowNode extends GeneratedMessageV3 implements WorkflowNodeOrBuilder

The workflow node.

Protobuf type google.cloud.dataproc.v1.WorkflowNode

Static Fields

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

JOB_ID_FIELD_NUMBER

public static final int JOB_ID_FIELD_NUMBER
Field Value
Type Description
int

PREREQUISITE_STEP_IDS_FIELD_NUMBER

public static final int PREREQUISITE_STEP_IDS_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STEP_ID_FIELD_NUMBER

public static final int STEP_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WorkflowNode getDefaultInstance()
Returns
Type Description
WorkflowNode

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WorkflowNode.Builder newBuilder()
Returns
Type Description
WorkflowNode.Builder

newBuilder(WorkflowNode prototype)

public static WorkflowNode.Builder newBuilder(WorkflowNode prototype)
Parameter
Name Description
prototype WorkflowNode
Returns
Type Description
WorkflowNode.Builder

parseDelimitedFrom(InputStream input)

public static WorkflowNode parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkflowNode
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkflowNode
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WorkflowNode parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WorkflowNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkflowNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkflowNode parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WorkflowNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkflowNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkflowNode parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WorkflowNode
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkflowNode
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WorkflowNode parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkflowNode
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkflowNode
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WorkflowNode parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WorkflowNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkflowNode
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WorkflowNode> parser()
Returns
Type Description
Parser<WorkflowNode>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public WorkflowNode getDefaultInstanceForType()
Returns
Type Description
WorkflowNode

getError()

public String getError()

Output only. The error detail.

string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The error.

getErrorBytes()

public ByteString getErrorBytes()

Output only. The error detail.

string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for error.

getJobId()

public String getJobId()

Output only. The job id; populated after the node enters RUNNING state.

string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

Output only. The job id; populated after the node enters RUNNING state.

string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for jobId.

getParserForType()

public Parser<WorkflowNode> getParserForType()
Returns
Type Description
Parser<WorkflowNode>
Overrides

getPrerequisiteStepIds(int index)

public String getPrerequisiteStepIds(int index)

Output only. Node's prerequisite nodes.

repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The prerequisiteStepIds at the given index.

getPrerequisiteStepIdsBytes(int index)

public ByteString getPrerequisiteStepIdsBytes(int index)

Output only. Node's prerequisite nodes.

repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the prerequisiteStepIds at the given index.

getPrerequisiteStepIdsCount()

public int getPrerequisiteStepIdsCount()

Output only. Node's prerequisite nodes.

repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of prerequisiteStepIds.

getPrerequisiteStepIdsList()

public ProtocolStringList getPrerequisiteStepIdsList()

Output only. Node's prerequisite nodes.

repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the prerequisiteStepIds.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public WorkflowNode.NodeState getState()

Output only. The node state.

.google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowNode.NodeState

The state.

getStateValue()

public int getStateValue()

Output only. The node state.

.google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getStepId()

public String getStepId()

Output only. The name of the node.

string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The stepId.

getStepIdBytes()

public ByteString getStepIdBytes()

Output only. The name of the node.

string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for stepId.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WorkflowNode.Builder newBuilderForType()
Returns
Type Description
WorkflowNode.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkflowNode.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WorkflowNode.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WorkflowNode.Builder toBuilder()
Returns
Type Description
WorkflowNode.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException