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 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;