Package flyteidl.core

Interface DynamicJob.DynamicJobSpecOrBuilder

    • Method Detail

      • getNodesList

        List<Workflow.Node> getNodesList()
         A collection of nodes to execute.
         
        repeated .flyteidl.core.Node nodes = 1;
      • getNodes

        Workflow.Node getNodes​(int index)
         A collection of nodes to execute.
         
        repeated .flyteidl.core.Node nodes = 1;
      • getNodesCount

        int getNodesCount()
         A collection of nodes to execute.
         
        repeated .flyteidl.core.Node nodes = 1;
      • getNodesOrBuilderList

        List<? extends Workflow.NodeOrBuilder> getNodesOrBuilderList()
         A collection of nodes to execute.
         
        repeated .flyteidl.core.Node nodes = 1;
      • getNodesOrBuilder

        Workflow.NodeOrBuilder getNodesOrBuilder​(int index)
         A collection of nodes to execute.
         
        repeated .flyteidl.core.Node nodes = 1;
      • getMinSuccesses

        long getMinSuccesses()
         An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
         criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
         becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
         min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
         specified, is the count of nodes repeated field.
         
        int64 min_successes = 2;
        Returns:
        The minSuccesses.
      • getOutputsList

        List<Literals.Binding> getOutputsList()
         Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
         in bindings should have the generated id for the subtask.
         
        repeated .flyteidl.core.Binding outputs = 3;
      • getOutputs

        Literals.Binding getOutputs​(int index)
         Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
         in bindings should have the generated id for the subtask.
         
        repeated .flyteidl.core.Binding outputs = 3;
      • getOutputsCount

        int getOutputsCount()
         Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
         in bindings should have the generated id for the subtask.
         
        repeated .flyteidl.core.Binding outputs = 3;
      • getOutputsOrBuilderList

        List<? extends Literals.BindingOrBuilder> getOutputsOrBuilderList()
         Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
         in bindings should have the generated id for the subtask.
         
        repeated .flyteidl.core.Binding outputs = 3;
      • getOutputsOrBuilder

        Literals.BindingOrBuilder getOutputsOrBuilder​(int index)
         Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
         in bindings should have the generated id for the subtask.
         
        repeated .flyteidl.core.Binding outputs = 3;
      • getTasksList

        List<Tasks.TaskTemplate> getTasksList()
         [Optional] A complete list of task specs referenced in nodes.
         
        repeated .flyteidl.core.TaskTemplate tasks = 4;
      • getTasks

        Tasks.TaskTemplate getTasks​(int index)
         [Optional] A complete list of task specs referenced in nodes.
         
        repeated .flyteidl.core.TaskTemplate tasks = 4;
      • getTasksCount

        int getTasksCount()
         [Optional] A complete list of task specs referenced in nodes.
         
        repeated .flyteidl.core.TaskTemplate tasks = 4;
      • getTasksOrBuilderList

        List<? extends Tasks.TaskTemplateOrBuilder> getTasksOrBuilderList()
         [Optional] A complete list of task specs referenced in nodes.
         
        repeated .flyteidl.core.TaskTemplate tasks = 4;
      • getTasksOrBuilder

        Tasks.TaskTemplateOrBuilder getTasksOrBuilder​(int index)
         [Optional] A complete list of task specs referenced in nodes.
         
        repeated .flyteidl.core.TaskTemplate tasks = 4;
      • getSubworkflowsList

        List<Workflow.WorkflowTemplate> getSubworkflowsList()
         [Optional] A complete list of sub-workflows templates.
         
        repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
      • getSubworkflows

        Workflow.WorkflowTemplate getSubworkflows​(int index)
         [Optional] A complete list of sub-workflows templates.
         
        repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
      • getSubworkflowsCount

        int getSubworkflowsCount()
         [Optional] A complete list of sub-workflows templates.
         
        repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
      • getSubworkflowsOrBuilderList

        List<? extends Workflow.WorkflowTemplateOrBuilder> getSubworkflowsOrBuilderList()
         [Optional] A complete list of sub-workflows templates.
         
        repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
      • getSubworkflowsOrBuilder

        Workflow.WorkflowTemplateOrBuilder getSubworkflowsOrBuilder​(int index)
         [Optional] A complete list of sub-workflows templates.
         
        repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;