Class WorkflowGraph.Builder (4.39.0)

public static final class WorkflowGraph.Builder extends GeneratedMessageV3.Builder<WorkflowGraph.Builder> implements WorkflowGraphOrBuilder

The workflow graph.

Protobuf type google.cloud.dataproc.v1.WorkflowGraph

Static Methods

getDescriptor()

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

Methods

addAllNodes(Iterable<? extends WorkflowNode> values)

public WorkflowGraph.Builder addAllNodes(Iterable<? extends WorkflowNode> values)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataproc.v1.WorkflowNode>
Returns
Type Description
WorkflowGraph.Builder

addNodes(WorkflowNode value)

public WorkflowGraph.Builder addNodes(WorkflowNode value)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WorkflowNode
Returns
Type Description
WorkflowGraph.Builder

addNodes(WorkflowNode.Builder builderForValue)

public WorkflowGraph.Builder addNodes(WorkflowNode.Builder builderForValue)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue WorkflowNode.Builder
Returns
Type Description
WorkflowGraph.Builder

addNodes(int index, WorkflowNode value)

public WorkflowGraph.Builder addNodes(int index, WorkflowNode value)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value WorkflowNode
Returns
Type Description
WorkflowGraph.Builder

addNodes(int index, WorkflowNode.Builder builderForValue)

public WorkflowGraph.Builder addNodes(int index, WorkflowNode.Builder builderForValue)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue WorkflowNode.Builder
Returns
Type Description
WorkflowGraph.Builder

addNodesBuilder()

public WorkflowNode.Builder addNodesBuilder()

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowNode.Builder

addNodesBuilder(int index)

public WorkflowNode.Builder addNodesBuilder(int index)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WorkflowNode.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkflowGraph.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkflowGraph.Builder
Overrides

build()

public WorkflowGraph build()
Returns
Type Description
WorkflowGraph

buildPartial()

public WorkflowGraph buildPartial()
Returns
Type Description
WorkflowGraph

clear()

public WorkflowGraph.Builder clear()
Returns
Type Description
WorkflowGraph.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WorkflowGraph.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WorkflowGraph.Builder
Overrides

clearNodes()

public WorkflowGraph.Builder clearNodes()

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowGraph.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkflowGraph.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WorkflowGraph.Builder
Overrides

clone()

public WorkflowGraph.Builder clone()
Returns
Type Description
WorkflowGraph.Builder
Overrides

getDefaultInstanceForType()

public WorkflowGraph getDefaultInstanceForType()
Returns
Type Description
WorkflowGraph

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNodes(int index)

public WorkflowNode getNodes(int index)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WorkflowNode

getNodesBuilder(int index)

public WorkflowNode.Builder getNodesBuilder(int index)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WorkflowNode.Builder

getNodesBuilderList()

public List<WorkflowNode.Builder> getNodesBuilderList()

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getNodesCount()

public int getNodesCount()

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getNodesList()

public List<WorkflowNode> getNodesList()

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<WorkflowNode>

getNodesOrBuilder(int index)

public WorkflowNodeOrBuilder getNodesOrBuilder(int index)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WorkflowNodeOrBuilder

getNodesOrBuilderList()

public List<? extends WorkflowNodeOrBuilder> getNodesOrBuilderList()

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dataproc.v1.WorkflowNodeOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkflowGraph other)

public WorkflowGraph.Builder mergeFrom(WorkflowGraph other)
Parameter
Name Description
other WorkflowGraph
Returns
Type Description
WorkflowGraph.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkflowGraph.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkflowGraph.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WorkflowGraph.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WorkflowGraph.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowGraph.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkflowGraph.Builder
Overrides

removeNodes(int index)

public WorkflowGraph.Builder removeNodes(int index)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WorkflowGraph.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public WorkflowGraph.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkflowGraph.Builder
Overrides

setNodes(int index, WorkflowNode value)

public WorkflowGraph.Builder setNodes(int index, WorkflowNode value)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value WorkflowNode
Returns
Type Description
WorkflowGraph.Builder

setNodes(int index, WorkflowNode.Builder builderForValue)

public WorkflowGraph.Builder setNodes(int index, WorkflowNode.Builder builderForValue)

Output only. The workflow nodes.

repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue WorkflowNode.Builder
Returns
Type Description
WorkflowGraph.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WorkflowGraph.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WorkflowGraph.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowGraph.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkflowGraph.Builder
Overrides