Package flyteidl.core
Interface Workflow.WorkflowTemplateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Workflow.WorkflowTemplate,Workflow.WorkflowTemplate.Builder
- Enclosing class:
- Workflow
public static interface Workflow.WorkflowTemplateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Workflow.NodegetFailureNode()+optional A catch-all node.Workflow.NodeOrBuildergetFailureNodeOrBuilder()+optional A catch-all node.IdentifierOuterClass.IdentifiergetId()A globally unique identifier for the workflow.IdentifierOuterClass.IdentifierOrBuildergetIdOrBuilder()A globally unique identifier for the workflow.Interface.TypedInterfacegetInterface()Defines a strongly typed interface for the Workflow.Interface.TypedInterfaceOrBuildergetInterfaceOrBuilder()Defines a strongly typed interface for the Workflow.Workflow.WorkflowMetadatagetMetadata()Extra metadata about the workflow.Workflow.WorkflowMetadataDefaultsgetMetadataDefaults()workflow defaultsWorkflow.WorkflowMetadataDefaultsOrBuildergetMetadataDefaultsOrBuilder()workflow defaultsWorkflow.WorkflowMetadataOrBuildergetMetadataOrBuilder()Extra metadata about the workflow.Workflow.NodegetNodes(int index)A list of nodes.intgetNodesCount()A list of nodes.List<Workflow.Node>getNodesList()A list of nodes.Workflow.NodeOrBuildergetNodesOrBuilder(int index)A list of nodes.List<? extends Workflow.NodeOrBuilder>getNodesOrBuilderList()A list of nodes.Literals.BindinggetOutputs(int index)A list of output bindings that specify how to construct workflow outputs.intgetOutputsCount()A list of output bindings that specify how to construct workflow outputs.List<Literals.Binding>getOutputsList()A list of output bindings that specify how to construct workflow outputs.Literals.BindingOrBuildergetOutputsOrBuilder(int index)A list of output bindings that specify how to construct workflow outputs.List<? extends Literals.BindingOrBuilder>getOutputsOrBuilderList()A list of output bindings that specify how to construct workflow outputs.booleanhasFailureNode()+optional A catch-all node.booleanhasId()A globally unique identifier for the workflow.booleanhasInterface()Defines a strongly typed interface for the Workflow.booleanhasMetadata()Extra metadata about the workflow.booleanhasMetadataDefaults()workflow defaults-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasId
boolean hasId()
A globally unique identifier for the workflow.
.flyteidl.core.Identifier id = 1;- Returns:
- Whether the id field is set.
-
getId
IdentifierOuterClass.Identifier getId()
A globally unique identifier for the workflow.
.flyteidl.core.Identifier id = 1;- Returns:
- The id.
-
getIdOrBuilder
IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder()
A globally unique identifier for the workflow.
.flyteidl.core.Identifier id = 1;
-
hasMetadata
boolean hasMetadata()
Extra metadata about the workflow.
.flyteidl.core.WorkflowMetadata metadata = 2;- Returns:
- Whether the metadata field is set.
-
getMetadata
Workflow.WorkflowMetadata getMetadata()
Extra metadata about the workflow.
.flyteidl.core.WorkflowMetadata metadata = 2;- Returns:
- The metadata.
-
getMetadataOrBuilder
Workflow.WorkflowMetadataOrBuilder getMetadataOrBuilder()
Extra metadata about the workflow.
.flyteidl.core.WorkflowMetadata metadata = 2;
-
hasInterface
boolean hasInterface()
Defines a strongly typed interface for the Workflow. This can include some optional parameters.
.flyteidl.core.TypedInterface interface = 3;- Returns:
- Whether the interface field is set.
-
getInterface
Interface.TypedInterface getInterface()
Defines a strongly typed interface for the Workflow. This can include some optional parameters.
.flyteidl.core.TypedInterface interface = 3;- Returns:
- The interface.
-
getInterfaceOrBuilder
Interface.TypedInterfaceOrBuilder getInterfaceOrBuilder()
Defines a strongly typed interface for the Workflow. This can include some optional parameters.
.flyteidl.core.TypedInterface interface = 3;
-
getNodesList
List<Workflow.Node> getNodesList()
A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
repeated .flyteidl.core.Node nodes = 4;
-
getNodes
Workflow.Node getNodes(int index)
A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
repeated .flyteidl.core.Node nodes = 4;
-
getNodesCount
int getNodesCount()
A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
repeated .flyteidl.core.Node nodes = 4;
-
getNodesOrBuilderList
List<? extends Workflow.NodeOrBuilder> getNodesOrBuilderList()
A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
repeated .flyteidl.core.Node nodes = 4;
-
getNodesOrBuilder
Workflow.NodeOrBuilder getNodesOrBuilder(int index)
A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
repeated .flyteidl.core.Node nodes = 4;
-
getOutputsList
List<Literals.Binding> getOutputsList()
A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task.
repeated .flyteidl.core.Binding outputs = 5;
-
getOutputs
Literals.Binding getOutputs(int index)
A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task.
repeated .flyteidl.core.Binding outputs = 5;
-
getOutputsCount
int getOutputsCount()
A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task.
repeated .flyteidl.core.Binding outputs = 5;
-
getOutputsOrBuilderList
List<? extends Literals.BindingOrBuilder> getOutputsOrBuilderList()
A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task.
repeated .flyteidl.core.Binding outputs = 5;
-
getOutputsOrBuilder
Literals.BindingOrBuilder getOutputsOrBuilder(int index)
A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task.
repeated .flyteidl.core.Binding outputs = 5;
-
hasFailureNode
boolean hasFailureNode()
+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error.
.flyteidl.core.Node failure_node = 6;- Returns:
- Whether the failureNode field is set.
-
getFailureNode
Workflow.Node getFailureNode()
+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error.
.flyteidl.core.Node failure_node = 6;- Returns:
- The failureNode.
-
getFailureNodeOrBuilder
Workflow.NodeOrBuilder getFailureNodeOrBuilder()
+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error.
.flyteidl.core.Node failure_node = 6;
-
hasMetadataDefaults
boolean hasMetadataDefaults()
workflow defaults
.flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7;- Returns:
- Whether the metadataDefaults field is set.
-
getMetadataDefaults
Workflow.WorkflowMetadataDefaults getMetadataDefaults()
workflow defaults
.flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7;- Returns:
- The metadataDefaults.
-
getMetadataDefaultsOrBuilder
Workflow.WorkflowMetadataDefaultsOrBuilder getMetadataDefaultsOrBuilder()
workflow defaults
.flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7;
-
-