Package flyteidl.core
Class Workflow.Node.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
- flyteidl.core.Workflow.Node.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Workflow.NodeOrBuilder,Cloneable
- Enclosing class:
- Workflow.Node
public static final class Workflow.Node.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder> implements Workflow.NodeOrBuilder
A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch node.
Protobuf typeflyteidl.core.Node
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Workflow.Node.BuilderaddAllInputs(Iterable<? extends Literals.Binding> values)Specifies how to bind the underlying interface's inputs.Workflow.Node.BuilderaddAllOutputAliases(Iterable<? extends Workflow.Alias> values)+optional.Workflow.Node.BuilderaddAllUpstreamNodeIds(Iterable<String> values)+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed.Workflow.Node.BuilderaddInputs(int index, Literals.Binding value)Specifies how to bind the underlying interface's inputs.Workflow.Node.BuilderaddInputs(int index, Literals.Binding.Builder builderForValue)Specifies how to bind the underlying interface's inputs.Workflow.Node.BuilderaddInputs(Literals.Binding value)Specifies how to bind the underlying interface's inputs.Workflow.Node.BuilderaddInputs(Literals.Binding.Builder builderForValue)Specifies how to bind the underlying interface's inputs.Literals.Binding.BuilderaddInputsBuilder()Specifies how to bind the underlying interface's inputs.Literals.Binding.BuilderaddInputsBuilder(int index)Specifies how to bind the underlying interface's inputs.Workflow.Node.BuilderaddOutputAliases(int index, Workflow.Alias value)+optional.Workflow.Node.BuilderaddOutputAliases(int index, Workflow.Alias.Builder builderForValue)+optional.Workflow.Node.BuilderaddOutputAliases(Workflow.Alias value)+optional.Workflow.Node.BuilderaddOutputAliases(Workflow.Alias.Builder builderForValue)+optional.Workflow.Alias.BuilderaddOutputAliasesBuilder()+optional.Workflow.Alias.BuilderaddOutputAliasesBuilder(int index)+optional.Workflow.Node.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Workflow.Node.BuilderaddUpstreamNodeIds(String value)+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed.Workflow.Node.BuilderaddUpstreamNodeIdsBytes(com.google.protobuf.ByteString value)+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed.Workflow.Nodebuild()Workflow.NodebuildPartial()private voidbuildPartial0(Workflow.Node result)private voidbuildPartialOneofs(Workflow.Node result)private voidbuildPartialRepeatedFields(Workflow.Node result)Workflow.Node.Builderclear()Workflow.Node.BuilderclearBranchNode()Information about the branch node to evaluate in this node.Workflow.Node.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Workflow.Node.BuilderclearId()A workflow-level unique identifier that identifies this node in the workflow.Workflow.Node.BuilderclearInputs()Specifies how to bind the underlying interface's inputs.Workflow.Node.BuilderclearMetadata()Extra metadata about the node.Workflow.Node.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Workflow.Node.BuilderclearOutputAliases()+optional.Workflow.Node.BuilderclearTarget()Workflow.Node.BuilderclearTaskNode()Information about the Task to execute in this node.Workflow.Node.BuilderclearUpstreamNodeIds()+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed.Workflow.Node.BuilderclearWorkflowNode()Information about the Workflow to execute in this mode.Workflow.Node.Builderclone()private voidensureInputsIsMutable()private voidensureOutputAliasesIsMutable()private voidensureUpstreamNodeIdsIsMutable()Workflow.BranchNodegetBranchNode()Information about the branch node to evaluate in this node.Workflow.BranchNode.BuildergetBranchNodeBuilder()Information about the branch node to evaluate in this node.private com.google.protobuf.SingleFieldBuilderV3<Workflow.BranchNode,Workflow.BranchNode.Builder,Workflow.BranchNodeOrBuilder>getBranchNodeFieldBuilder()Information about the branch node to evaluate in this node.Workflow.BranchNodeOrBuildergetBranchNodeOrBuilder()Information about the branch node to evaluate in this node.Workflow.NodegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetId()A workflow-level unique identifier that identifies this node in the workflow.com.google.protobuf.ByteStringgetIdBytes()A workflow-level unique identifier that identifies this node in the workflow.Literals.BindinggetInputs(int index)Specifies how to bind the underlying interface's inputs.Literals.Binding.BuildergetInputsBuilder(int index)Specifies how to bind the underlying interface's inputs.List<Literals.Binding.Builder>getInputsBuilderList()Specifies how to bind the underlying interface's inputs.intgetInputsCount()Specifies how to bind the underlying interface's inputs.private com.google.protobuf.RepeatedFieldBuilderV3<Literals.Binding,Literals.Binding.Builder,Literals.BindingOrBuilder>getInputsFieldBuilder()List<Literals.Binding>getInputsList()Specifies how to bind the underlying interface's inputs.Literals.BindingOrBuildergetInputsOrBuilder(int index)Specifies how to bind the underlying interface's inputs.List<? extends Literals.BindingOrBuilder>getInputsOrBuilderList()Specifies how to bind the underlying interface's inputs.Workflow.NodeMetadatagetMetadata()Extra metadata about the node.Workflow.NodeMetadata.BuildergetMetadataBuilder()Extra metadata about the node.private com.google.protobuf.SingleFieldBuilderV3<Workflow.NodeMetadata,Workflow.NodeMetadata.Builder,Workflow.NodeMetadataOrBuilder>getMetadataFieldBuilder()Extra metadata about the node.Workflow.NodeMetadataOrBuildergetMetadataOrBuilder()Extra metadata about the node.Workflow.AliasgetOutputAliases(int index)+optional.Workflow.Alias.BuildergetOutputAliasesBuilder(int index)+optional.List<Workflow.Alias.Builder>getOutputAliasesBuilderList()+optional.intgetOutputAliasesCount()+optional.private com.google.protobuf.RepeatedFieldBuilderV3<Workflow.Alias,Workflow.Alias.Builder,Workflow.AliasOrBuilder>getOutputAliasesFieldBuilder()List<Workflow.Alias>getOutputAliasesList()+optional.Workflow.AliasOrBuildergetOutputAliasesOrBuilder(int index)+optional.List<? extends Workflow.AliasOrBuilder>getOutputAliasesOrBuilderList()+optional.Workflow.Node.TargetCasegetTargetCase()Workflow.TaskNodegetTaskNode()Information about the Task to execute in this node.Workflow.TaskNode.BuildergetTaskNodeBuilder()Information about the Task to execute in this node.private com.google.protobuf.SingleFieldBuilderV3<Workflow.TaskNode,Workflow.TaskNode.Builder,Workflow.TaskNodeOrBuilder>getTaskNodeFieldBuilder()Information about the Task to execute in this node.Workflow.TaskNodeOrBuildergetTaskNodeOrBuilder()Information about the Task to execute in this node.StringgetUpstreamNodeIds(int index)+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed.com.google.protobuf.ByteStringgetUpstreamNodeIdsBytes(int index)+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed.intgetUpstreamNodeIdsCount()+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed.com.google.protobuf.ProtocolStringListgetUpstreamNodeIdsList()+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed.Workflow.WorkflowNodegetWorkflowNode()Information about the Workflow to execute in this mode.Workflow.WorkflowNode.BuildergetWorkflowNodeBuilder()Information about the Workflow to execute in this mode.private com.google.protobuf.SingleFieldBuilderV3<Workflow.WorkflowNode,Workflow.WorkflowNode.Builder,Workflow.WorkflowNodeOrBuilder>getWorkflowNodeFieldBuilder()Information about the Workflow to execute in this mode.Workflow.WorkflowNodeOrBuildergetWorkflowNodeOrBuilder()Information about the Workflow to execute in this mode.booleanhasBranchNode()Information about the branch node to evaluate in this node.booleanhasMetadata()Extra metadata about the node.booleanhasTaskNode()Information about the Task to execute in this node.booleanhasWorkflowNode()Information about the Workflow to execute in this mode.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Workflow.Node.BuildermergeBranchNode(Workflow.BranchNode value)Information about the branch node to evaluate in this node.Workflow.Node.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Workflow.Node.BuildermergeFrom(com.google.protobuf.Message other)Workflow.Node.BuildermergeFrom(Workflow.Node other)Workflow.Node.BuildermergeMetadata(Workflow.NodeMetadata value)Extra metadata about the node.Workflow.Node.BuildermergeTaskNode(Workflow.TaskNode value)Information about the Task to execute in this node.Workflow.Node.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Workflow.Node.BuildermergeWorkflowNode(Workflow.WorkflowNode value)Information about the Workflow to execute in this mode.Workflow.Node.BuilderremoveInputs(int index)Specifies how to bind the underlying interface's inputs.Workflow.Node.BuilderremoveOutputAliases(int index)+optional.Workflow.Node.BuildersetBranchNode(Workflow.BranchNode value)Information about the branch node to evaluate in this node.Workflow.Node.BuildersetBranchNode(Workflow.BranchNode.Builder builderForValue)Information about the branch node to evaluate in this node.Workflow.Node.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Workflow.Node.BuildersetId(String value)A workflow-level unique identifier that identifies this node in the workflow.Workflow.Node.BuildersetIdBytes(com.google.protobuf.ByteString value)A workflow-level unique identifier that identifies this node in the workflow.Workflow.Node.BuildersetInputs(int index, Literals.Binding value)Specifies how to bind the underlying interface's inputs.Workflow.Node.BuildersetInputs(int index, Literals.Binding.Builder builderForValue)Specifies how to bind the underlying interface's inputs.Workflow.Node.BuildersetMetadata(Workflow.NodeMetadata value)Extra metadata about the node.Workflow.Node.BuildersetMetadata(Workflow.NodeMetadata.Builder builderForValue)Extra metadata about the node.Workflow.Node.BuildersetOutputAliases(int index, Workflow.Alias value)+optional.Workflow.Node.BuildersetOutputAliases(int index, Workflow.Alias.Builder builderForValue)+optional.Workflow.Node.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Workflow.Node.BuildersetTaskNode(Workflow.TaskNode value)Information about the Task to execute in this node.Workflow.Node.BuildersetTaskNode(Workflow.TaskNode.Builder builderForValue)Information about the Task to execute in this node.Workflow.Node.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Workflow.Node.BuildersetUpstreamNodeIds(int index, String value)+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed.Workflow.Node.BuildersetWorkflowNode(Workflow.WorkflowNode value)Information about the Workflow to execute in this mode.Workflow.Node.BuildersetWorkflowNode(Workflow.WorkflowNode.Builder builderForValue)Information about the Workflow to execute in this mode.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
targetCase_
private int targetCase_
-
target_
private Object target_
-
bitField0_
private int bitField0_
-
id_
private Object id_
-
metadata_
private Workflow.NodeMetadata metadata_
-
metadataBuilder_
private com.google.protobuf.SingleFieldBuilderV3<Workflow.NodeMetadata,Workflow.NodeMetadata.Builder,Workflow.NodeMetadataOrBuilder> metadataBuilder_
-
inputs_
private List<Literals.Binding> inputs_
-
inputsBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<Literals.Binding,Literals.Binding.Builder,Literals.BindingOrBuilder> inputsBuilder_
-
upstreamNodeIds_
private com.google.protobuf.LazyStringList upstreamNodeIds_
-
outputAliases_
private List<Workflow.Alias> outputAliases_
-
outputAliasesBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<Workflow.Alias,Workflow.Alias.Builder,Workflow.AliasOrBuilder> outputAliasesBuilder_
-
taskNodeBuilder_
private com.google.protobuf.SingleFieldBuilderV3<Workflow.TaskNode,Workflow.TaskNode.Builder,Workflow.TaskNodeOrBuilder> taskNodeBuilder_
-
workflowNodeBuilder_
private com.google.protobuf.SingleFieldBuilderV3<Workflow.WorkflowNode,Workflow.WorkflowNode.Builder,Workflow.WorkflowNodeOrBuilder> workflowNodeBuilder_
-
branchNodeBuilder_
private com.google.protobuf.SingleFieldBuilderV3<Workflow.BranchNode,Workflow.BranchNode.Builder,Workflow.BranchNodeOrBuilder> branchNodeBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
clear
public Workflow.Node.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
getDefaultInstanceForType
public Workflow.Node getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Workflow.Node build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Workflow.Node buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(Workflow.Node result)
-
buildPartial0
private void buildPartial0(Workflow.Node result)
-
buildPartialOneofs
private void buildPartialOneofs(Workflow.Node result)
-
clone
public Workflow.Node.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
setField
public Workflow.Node.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
clearField
public Workflow.Node.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
clearOneof
public Workflow.Node.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
setRepeatedField
public Workflow.Node.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
addRepeatedField
public Workflow.Node.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
mergeFrom
public Workflow.Node.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Workflow.Node.Builder>
-
mergeFrom
public Workflow.Node.Builder mergeFrom(Workflow.Node other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
mergeFrom
public Workflow.Node.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Workflow.Node.Builder>- Throws:
IOException
-
getTargetCase
public Workflow.Node.TargetCase getTargetCase()
- Specified by:
getTargetCasein interfaceWorkflow.NodeOrBuilder
-
clearTarget
public Workflow.Node.Builder clearTarget()
-
getId
public String getId()
A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes.
string id = 1;- Specified by:
getIdin interfaceWorkflow.NodeOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes.
string id = 1;- Specified by:
getIdBytesin interfaceWorkflow.NodeOrBuilder- Returns:
- The bytes for id.
-
setId
public Workflow.Node.Builder setId(String value)
A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Workflow.Node.Builder clearId()
A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public Workflow.Node.Builder setIdBytes(com.google.protobuf.ByteString value)
A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;- Specified by:
hasMetadatain interfaceWorkflow.NodeOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public Workflow.NodeMetadata getMetadata()
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;- Specified by:
getMetadatain interfaceWorkflow.NodeOrBuilder- Returns:
- The metadata.
-
setMetadata
public Workflow.Node.Builder setMetadata(Workflow.NodeMetadata value)
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;
-
setMetadata
public Workflow.Node.Builder setMetadata(Workflow.NodeMetadata.Builder builderForValue)
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;
-
mergeMetadata
public Workflow.Node.Builder mergeMetadata(Workflow.NodeMetadata value)
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;
-
clearMetadata
public Workflow.Node.Builder clearMetadata()
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;
-
getMetadataBuilder
public Workflow.NodeMetadata.Builder getMetadataBuilder()
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;
-
getMetadataOrBuilder
public Workflow.NodeMetadataOrBuilder getMetadataOrBuilder()
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;- Specified by:
getMetadataOrBuilderin interfaceWorkflow.NodeOrBuilder
-
getMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<Workflow.NodeMetadata,Workflow.NodeMetadata.Builder,Workflow.NodeMetadataOrBuilder> getMetadataFieldBuilder()
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;
-
ensureInputsIsMutable
private void ensureInputsIsMutable()
-
getInputsList
public List<Literals.Binding> getInputsList()
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;- Specified by:
getInputsListin interfaceWorkflow.NodeOrBuilder
-
getInputsCount
public int getInputsCount()
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;- Specified by:
getInputsCountin interfaceWorkflow.NodeOrBuilder
-
getInputs
public Literals.Binding getInputs(int index)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;- Specified by:
getInputsin interfaceWorkflow.NodeOrBuilder
-
setInputs
public Workflow.Node.Builder setInputs(int index, Literals.Binding value)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
setInputs
public Workflow.Node.Builder setInputs(int index, Literals.Binding.Builder builderForValue)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
addInputs
public Workflow.Node.Builder addInputs(Literals.Binding value)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
addInputs
public Workflow.Node.Builder addInputs(int index, Literals.Binding value)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
addInputs
public Workflow.Node.Builder addInputs(Literals.Binding.Builder builderForValue)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
addInputs
public Workflow.Node.Builder addInputs(int index, Literals.Binding.Builder builderForValue)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
addAllInputs
public Workflow.Node.Builder addAllInputs(Iterable<? extends Literals.Binding> values)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
clearInputs
public Workflow.Node.Builder clearInputs()
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
removeInputs
public Workflow.Node.Builder removeInputs(int index)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
getInputsBuilder
public Literals.Binding.Builder getInputsBuilder(int index)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
getInputsOrBuilder
public Literals.BindingOrBuilder getInputsOrBuilder(int index)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;- Specified by:
getInputsOrBuilderin interfaceWorkflow.NodeOrBuilder
-
getInputsOrBuilderList
public List<? extends Literals.BindingOrBuilder> getInputsOrBuilderList()
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;- Specified by:
getInputsOrBuilderListin interfaceWorkflow.NodeOrBuilder
-
addInputsBuilder
public Literals.Binding.Builder addInputsBuilder()
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
addInputsBuilder
public Literals.Binding.Builder addInputsBuilder(int index)
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
getInputsBuilderList
public List<Literals.Binding.Builder> getInputsBuilderList()
Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled.
repeated .flyteidl.core.Binding inputs = 3;
-
getInputsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<Literals.Binding,Literals.Binding.Builder,Literals.BindingOrBuilder> getInputsFieldBuilder()
-
ensureUpstreamNodeIdsIsMutable
private void ensureUpstreamNodeIdsIsMutable()
-
getUpstreamNodeIdsList
public com.google.protobuf.ProtocolStringList getUpstreamNodeIdsList()
+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field.
repeated string upstream_node_ids = 4;- Specified by:
getUpstreamNodeIdsListin interfaceWorkflow.NodeOrBuilder- Returns:
- A list containing the upstreamNodeIds.
-
getUpstreamNodeIdsCount
public int getUpstreamNodeIdsCount()
+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field.
repeated string upstream_node_ids = 4;- Specified by:
getUpstreamNodeIdsCountin interfaceWorkflow.NodeOrBuilder- Returns:
- The count of upstreamNodeIds.
-
getUpstreamNodeIds
public String getUpstreamNodeIds(int index)
+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field.
repeated string upstream_node_ids = 4;- Specified by:
getUpstreamNodeIdsin interfaceWorkflow.NodeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The upstreamNodeIds at the given index.
-
getUpstreamNodeIdsBytes
public com.google.protobuf.ByteString getUpstreamNodeIdsBytes(int index)
+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field.
repeated string upstream_node_ids = 4;- Specified by:
getUpstreamNodeIdsBytesin interfaceWorkflow.NodeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the upstreamNodeIds at the given index.
-
setUpstreamNodeIds
public Workflow.Node.Builder setUpstreamNodeIds(int index, String value)
+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field.
repeated string upstream_node_ids = 4;- Parameters:
index- The index to set the value at.value- The upstreamNodeIds to set.- Returns:
- This builder for chaining.
-
addUpstreamNodeIds
public Workflow.Node.Builder addUpstreamNodeIds(String value)
+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field.
repeated string upstream_node_ids = 4;- Parameters:
value- The upstreamNodeIds to add.- Returns:
- This builder for chaining.
-
addAllUpstreamNodeIds
public Workflow.Node.Builder addAllUpstreamNodeIds(Iterable<String> values)
+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field.
repeated string upstream_node_ids = 4;- Parameters:
values- The upstreamNodeIds to add.- Returns:
- This builder for chaining.
-
clearUpstreamNodeIds
public Workflow.Node.Builder clearUpstreamNodeIds()
+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field.
repeated string upstream_node_ids = 4;- Returns:
- This builder for chaining.
-
addUpstreamNodeIdsBytes
public Workflow.Node.Builder addUpstreamNodeIdsBytes(com.google.protobuf.ByteString value)
+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field.
repeated string upstream_node_ids = 4;- Parameters:
value- The bytes of the upstreamNodeIds to add.- Returns:
- This builder for chaining.
-
ensureOutputAliasesIsMutable
private void ensureOutputAliasesIsMutable()
-
getOutputAliasesList
public List<Workflow.Alias> getOutputAliasesList()
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;- Specified by:
getOutputAliasesListin interfaceWorkflow.NodeOrBuilder
-
getOutputAliasesCount
public int getOutputAliasesCount()
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;- Specified by:
getOutputAliasesCountin interfaceWorkflow.NodeOrBuilder
-
getOutputAliases
public Workflow.Alias getOutputAliases(int index)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;- Specified by:
getOutputAliasesin interfaceWorkflow.NodeOrBuilder
-
setOutputAliases
public Workflow.Node.Builder setOutputAliases(int index, Workflow.Alias value)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
setOutputAliases
public Workflow.Node.Builder setOutputAliases(int index, Workflow.Alias.Builder builderForValue)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
addOutputAliases
public Workflow.Node.Builder addOutputAliases(Workflow.Alias value)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
addOutputAliases
public Workflow.Node.Builder addOutputAliases(int index, Workflow.Alias value)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
addOutputAliases
public Workflow.Node.Builder addOutputAliases(Workflow.Alias.Builder builderForValue)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
addOutputAliases
public Workflow.Node.Builder addOutputAliases(int index, Workflow.Alias.Builder builderForValue)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
addAllOutputAliases
public Workflow.Node.Builder addAllOutputAliases(Iterable<? extends Workflow.Alias> values)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
clearOutputAliases
public Workflow.Node.Builder clearOutputAliases()
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
removeOutputAliases
public Workflow.Node.Builder removeOutputAliases(int index)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
getOutputAliasesBuilder
public Workflow.Alias.Builder getOutputAliasesBuilder(int index)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
getOutputAliasesOrBuilder
public Workflow.AliasOrBuilder getOutputAliasesOrBuilder(int index)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;- Specified by:
getOutputAliasesOrBuilderin interfaceWorkflow.NodeOrBuilder
-
getOutputAliasesOrBuilderList
public List<? extends Workflow.AliasOrBuilder> getOutputAliasesOrBuilderList()
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;- Specified by:
getOutputAliasesOrBuilderListin interfaceWorkflow.NodeOrBuilder
-
addOutputAliasesBuilder
public Workflow.Alias.Builder addOutputAliasesBuilder()
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
addOutputAliasesBuilder
public Workflow.Alias.Builder addOutputAliasesBuilder(int index)
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
getOutputAliasesBuilderList
public List<Workflow.Alias.Builder> getOutputAliasesBuilderList()
+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified.
repeated .flyteidl.core.Alias output_aliases = 5;
-
getOutputAliasesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<Workflow.Alias,Workflow.Alias.Builder,Workflow.AliasOrBuilder> getOutputAliasesFieldBuilder()
-
hasTaskNode
public boolean hasTaskNode()
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;- Specified by:
hasTaskNodein interfaceWorkflow.NodeOrBuilder- Returns:
- Whether the taskNode field is set.
-
getTaskNode
public Workflow.TaskNode getTaskNode()
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;- Specified by:
getTaskNodein interfaceWorkflow.NodeOrBuilder- Returns:
- The taskNode.
-
setTaskNode
public Workflow.Node.Builder setTaskNode(Workflow.TaskNode value)
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;
-
setTaskNode
public Workflow.Node.Builder setTaskNode(Workflow.TaskNode.Builder builderForValue)
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;
-
mergeTaskNode
public Workflow.Node.Builder mergeTaskNode(Workflow.TaskNode value)
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;
-
clearTaskNode
public Workflow.Node.Builder clearTaskNode()
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;
-
getTaskNodeBuilder
public Workflow.TaskNode.Builder getTaskNodeBuilder()
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;
-
getTaskNodeOrBuilder
public Workflow.TaskNodeOrBuilder getTaskNodeOrBuilder()
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;- Specified by:
getTaskNodeOrBuilderin interfaceWorkflow.NodeOrBuilder
-
getTaskNodeFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<Workflow.TaskNode,Workflow.TaskNode.Builder,Workflow.TaskNodeOrBuilder> getTaskNodeFieldBuilder()
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;
-
hasWorkflowNode
public boolean hasWorkflowNode()
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;- Specified by:
hasWorkflowNodein interfaceWorkflow.NodeOrBuilder- Returns:
- Whether the workflowNode field is set.
-
getWorkflowNode
public Workflow.WorkflowNode getWorkflowNode()
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;- Specified by:
getWorkflowNodein interfaceWorkflow.NodeOrBuilder- Returns:
- The workflowNode.
-
setWorkflowNode
public Workflow.Node.Builder setWorkflowNode(Workflow.WorkflowNode value)
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;
-
setWorkflowNode
public Workflow.Node.Builder setWorkflowNode(Workflow.WorkflowNode.Builder builderForValue)
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;
-
mergeWorkflowNode
public Workflow.Node.Builder mergeWorkflowNode(Workflow.WorkflowNode value)
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;
-
clearWorkflowNode
public Workflow.Node.Builder clearWorkflowNode()
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;
-
getWorkflowNodeBuilder
public Workflow.WorkflowNode.Builder getWorkflowNodeBuilder()
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;
-
getWorkflowNodeOrBuilder
public Workflow.WorkflowNodeOrBuilder getWorkflowNodeOrBuilder()
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;- Specified by:
getWorkflowNodeOrBuilderin interfaceWorkflow.NodeOrBuilder
-
getWorkflowNodeFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<Workflow.WorkflowNode,Workflow.WorkflowNode.Builder,Workflow.WorkflowNodeOrBuilder> getWorkflowNodeFieldBuilder()
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;
-
hasBranchNode
public boolean hasBranchNode()
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;- Specified by:
hasBranchNodein interfaceWorkflow.NodeOrBuilder- Returns:
- Whether the branchNode field is set.
-
getBranchNode
public Workflow.BranchNode getBranchNode()
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;- Specified by:
getBranchNodein interfaceWorkflow.NodeOrBuilder- Returns:
- The branchNode.
-
setBranchNode
public Workflow.Node.Builder setBranchNode(Workflow.BranchNode value)
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;
-
setBranchNode
public Workflow.Node.Builder setBranchNode(Workflow.BranchNode.Builder builderForValue)
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;
-
mergeBranchNode
public Workflow.Node.Builder mergeBranchNode(Workflow.BranchNode value)
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;
-
clearBranchNode
public Workflow.Node.Builder clearBranchNode()
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;
-
getBranchNodeBuilder
public Workflow.BranchNode.Builder getBranchNodeBuilder()
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;
-
getBranchNodeOrBuilder
public Workflow.BranchNodeOrBuilder getBranchNodeOrBuilder()
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;- Specified by:
getBranchNodeOrBuilderin interfaceWorkflow.NodeOrBuilder
-
getBranchNodeFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<Workflow.BranchNode,Workflow.BranchNode.Builder,Workflow.BranchNodeOrBuilder> getBranchNodeFieldBuilder()
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;
-
setUnknownFields
public final Workflow.Node.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
mergeUnknownFields
public final Workflow.Node.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Node.Builder>
-
-