Package flyteidl.core
Interface DynamicJob.DynamicJobSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DynamicJob.DynamicJobSpec,DynamicJob.DynamicJobSpec.Builder
- Enclosing class:
- DynamicJob
public static interface DynamicJob.DynamicJobSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetMinSuccesses()An absolute number of successful completions of nodes required to mark this job as succeeded.Workflow.NodegetNodes(int index)A collection of nodes to execute.intgetNodesCount()A collection of nodes to execute.List<Workflow.Node>getNodesList()A collection of nodes to execute.Workflow.NodeOrBuildergetNodesOrBuilder(int index)A collection of nodes to execute.List<? extends Workflow.NodeOrBuilder>getNodesOrBuilderList()A collection of nodes to execute.Literals.BindinggetOutputs(int index)Describes how to bind the final output of the dynamic job from the outputs of executed nodes.intgetOutputsCount()Describes how to bind the final output of the dynamic job from the outputs of executed nodes.List<Literals.Binding>getOutputsList()Describes how to bind the final output of the dynamic job from the outputs of executed nodes.Literals.BindingOrBuildergetOutputsOrBuilder(int index)Describes how to bind the final output of the dynamic job from the outputs of executed nodes.List<? extends Literals.BindingOrBuilder>getOutputsOrBuilderList()Describes how to bind the final output of the dynamic job from the outputs of executed nodes.Workflow.WorkflowTemplategetSubworkflows(int index)[Optional] A complete list of sub-workflows templates.intgetSubworkflowsCount()[Optional] A complete list of sub-workflows templates.List<Workflow.WorkflowTemplate>getSubworkflowsList()[Optional] A complete list of sub-workflows templates.Workflow.WorkflowTemplateOrBuildergetSubworkflowsOrBuilder(int index)[Optional] A complete list of sub-workflows templates.List<? extends Workflow.WorkflowTemplateOrBuilder>getSubworkflowsOrBuilderList()[Optional] A complete list of sub-workflows templates.Tasks.TaskTemplategetTasks(int index)[Optional] A complete list of task specs referenced in nodes.intgetTasksCount()[Optional] A complete list of task specs referenced in nodes.List<Tasks.TaskTemplate>getTasksList()[Optional] A complete list of task specs referenced in nodes.Tasks.TaskTemplateOrBuildergetTasksOrBuilder(int index)[Optional] A complete list of task specs referenced in nodes.List<? extends Tasks.TaskTemplateOrBuilder>getTasksOrBuilderList()[Optional] A complete list of task specs referenced in nodes.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
-