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
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER
Field Value
PREREQUISITE_STEP_IDS_FIELD_NUMBER
public static final int PREREQUISITE_STEP_IDS_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
STEP_ID_FIELD_NUMBER
public static final int STEP_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static WorkflowNode getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static WorkflowNode.Builder newBuilder()
Returns
newBuilder(WorkflowNode prototype)
public static WorkflowNode.Builder newBuilder(WorkflowNode prototype)
Parameter
Returns
public static WorkflowNode parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WorkflowNode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static WorkflowNode parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WorkflowNode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static WorkflowNode parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkflowNode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WorkflowNode parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WorkflowNode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WorkflowNode parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WorkflowNode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static WorkflowNode parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WorkflowNode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<WorkflowNode> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public WorkflowNode getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<WorkflowNode> getParserForType()
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
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
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public WorkflowNode.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WorkflowNode.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public WorkflowNode.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions