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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkflowGraph.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WorkflowGraph build()
Returns
buildPartial()
public WorkflowGraph buildPartial()
Returns
clear()
public WorkflowGraph.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WorkflowGraph.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkflowGraph.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public WorkflowGraph.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WorkflowGraph getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
getNodesCount()
public int getNodesCount()
Output only. The workflow nodes.
repeated .google.cloud.dataproc.v1.WorkflowNode nodes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WorkflowGraph other)
public WorkflowGraph.Builder mergeFrom(WorkflowGraph other)
Parameter
Returns
public WorkflowGraph.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WorkflowGraph.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkflowGraph.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public WorkflowGraph.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkflowGraph.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkflowGraph.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides