Class WorkflowGraph.Builder (4.14.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dataproc.v1.WorkflowNode>
Returns
TypeDescription
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
NameDescription
valueWorkflowNode
Returns
TypeDescription
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
NameDescription
builderForValueWorkflowNode.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWorkflowNode
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWorkflowNode.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WorkflowNode.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkflowGraph.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WorkflowGraph.Builder
Overrides

build()

public WorkflowGraph build()
Returns
TypeDescription
WorkflowGraph

buildPartial()

public WorkflowGraph buildPartial()
Returns
TypeDescription
WorkflowGraph

clear()

public WorkflowGraph.Builder clear()
Returns
TypeDescription
WorkflowGraph.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WorkflowGraph.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
WorkflowGraph.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkflowGraph.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
WorkflowGraph.Builder
Overrides

clone()

public WorkflowGraph.Builder clone()
Returns
TypeDescription
WorkflowGraph.Builder
Overrides

getDefaultInstanceForType()

public WorkflowGraph getDefaultInstanceForType()
Returns
TypeDescription
WorkflowGraph

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dataproc.v1.WorkflowNodeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkflowGraph other)

public WorkflowGraph.Builder mergeFrom(WorkflowGraph other)
Parameter
NameDescription
otherWorkflowGraph
Returns
TypeDescription
WorkflowGraph.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkflowGraph.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkflowGraph.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public WorkflowGraph.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WorkflowGraph.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowGraph.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WorkflowGraph.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public WorkflowGraph.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueWorkflowNode
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWorkflowNode.Builder
Returns
TypeDescription
WorkflowGraph.Builder

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

public WorkflowGraph.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WorkflowGraph.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowGraph.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WorkflowGraph.Builder
Overrides