Class WorkflowNode

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
TypeDescription
int

JOB_ID_FIELD_NUMBER

public static final int JOB_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PREREQUISITE_STEP_IDS_FIELD_NUMBER

public static final int PREREQUISITE_STEP_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

STEP_ID_FIELD_NUMBER

public static final int STEP_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkflowNode getDefaultInstance()
Returns
TypeDescription
WorkflowNode

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WorkflowNode.Builder newBuilder()
Returns
TypeDescription
WorkflowNode.Builder

newBuilder(WorkflowNode prototype)

public static WorkflowNode.Builder newBuilder(WorkflowNode prototype)
Parameter
NameDescription
prototypeWorkflowNode
Returns
TypeDescription
WorkflowNode.Builder

parseDelimitedFrom(InputStream input)

public static WorkflowNode parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WorkflowNode parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkflowNode parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkflowNode parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WorkflowNode parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WorkflowNode parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkflowNode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkflowNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WorkflowNode> parser()
Returns
TypeDescription
Parser<WorkflowNode>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public WorkflowNode getDefaultInstanceForType()
Returns
TypeDescription
WorkflowNode

getError()

public String getError()

Output only. The error detail.

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

Returns
TypeDescription
String

The error.

getErrorBytes()

public ByteString getErrorBytes()

Output only. The error detail.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for jobId.

getParserForType()

public Parser<WorkflowNode> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the prerequisiteStepIds.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for stepId.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WorkflowNode.Builder newBuilderForType()
Returns
TypeDescription
WorkflowNode.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkflowNode.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WorkflowNode.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WorkflowNode.Builder toBuilder()
Returns
TypeDescription
WorkflowNode.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException