Package flyteidl.core
Interface Workflow.NodeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Workflow.Node,Workflow.Node.Builder
- Enclosing class:
- Workflow
public static interface Workflow.NodeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Workflow.BranchNodegetBranchNode()Information about the branch node to evaluate in this node.Workflow.BranchNodeOrBuildergetBranchNodeOrBuilder()Information about the branch node to evaluate in this node.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.intgetInputsCount()Specifies how to bind the underlying interface's inputs.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.NodeMetadataOrBuildergetMetadataOrBuilder()Extra metadata about the node.Workflow.AliasgetOutputAliases(int index)+optional.intgetOutputAliasesCount()+optional.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.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.List<String>getUpstreamNodeIdsList()+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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
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;- Returns:
- The id.
-
getIdBytes
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;- Returns:
- The bytes for id.
-
hasMetadata
boolean hasMetadata()
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;- Returns:
- Whether the metadata field is set.
-
getMetadata
Workflow.NodeMetadata getMetadata()
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;- Returns:
- The metadata.
-
getMetadataOrBuilder
Workflow.NodeMetadataOrBuilder getMetadataOrBuilder()
Extra metadata about the node.
.flyteidl.core.NodeMetadata metadata = 2;
-
getInputsList
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;
-
getInputs
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;
-
getInputsCount
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;
-
getInputsOrBuilderList
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;
-
getInputsOrBuilder
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;
-
getUpstreamNodeIdsList
List<String> 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;- Returns:
- A list containing the upstreamNodeIds.
-
getUpstreamNodeIdsCount
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;- Returns:
- The count of upstreamNodeIds.
-
getUpstreamNodeIds
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;- Parameters:
index- The index of the element to return.- Returns:
- The upstreamNodeIds at the given index.
-
getUpstreamNodeIdsBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the upstreamNodeIds at the given index.
-
getOutputAliasesList
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;
-
getOutputAliases
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;
-
getOutputAliasesCount
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;
-
getOutputAliasesOrBuilderList
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;
-
getOutputAliasesOrBuilder
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;
-
hasTaskNode
boolean hasTaskNode()
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;- Returns:
- Whether the taskNode field is set.
-
getTaskNode
Workflow.TaskNode getTaskNode()
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;- Returns:
- The taskNode.
-
getTaskNodeOrBuilder
Workflow.TaskNodeOrBuilder getTaskNodeOrBuilder()
Information about the Task to execute in this node.
.flyteidl.core.TaskNode task_node = 6;
-
hasWorkflowNode
boolean hasWorkflowNode()
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;- Returns:
- Whether the workflowNode field is set.
-
getWorkflowNode
Workflow.WorkflowNode getWorkflowNode()
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;- Returns:
- The workflowNode.
-
getWorkflowNodeOrBuilder
Workflow.WorkflowNodeOrBuilder getWorkflowNodeOrBuilder()
Information about the Workflow to execute in this mode.
.flyteidl.core.WorkflowNode workflow_node = 7;
-
hasBranchNode
boolean hasBranchNode()
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;- Returns:
- Whether the branchNode field is set.
-
getBranchNode
Workflow.BranchNode getBranchNode()
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;- Returns:
- The branchNode.
-
getBranchNodeOrBuilder
Workflow.BranchNodeOrBuilder getBranchNodeOrBuilder()
Information about the branch node to evaluate in this node.
.flyteidl.core.BranchNode branch_node = 8;
-
getTargetCase
Workflow.Node.TargetCase getTargetCase()
-
-