Package flyteidl.core
Interface Workflow.IfElseBlockOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Workflow.IfElseBlock,Workflow.IfElseBlock.Builder
- Enclosing class:
- Workflow
public static interface Workflow.IfElseBlockOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Workflow.IfBlockgetCase()+required.Workflow.IfBlockOrBuildergetCaseOrBuilder()+required.Workflow.IfElseBlock.DefaultCasegetDefaultCase()Workflow.NodegetElseNode()The node to execute in case none of the branches were taken.Workflow.NodeOrBuildergetElseNodeOrBuilder()The node to execute in case none of the branches were taken.Types.ErrorgetError()An error to throw in case none of the branches were taken.Types.ErrorOrBuildergetErrorOrBuilder()An error to throw in case none of the branches were taken.Workflow.IfBlockgetOther(int index)+optional.intgetOtherCount()+optional.List<Workflow.IfBlock>getOtherList()+optional.Workflow.IfBlockOrBuildergetOtherOrBuilder(int index)+optional.List<? extends Workflow.IfBlockOrBuilder>getOtherOrBuilderList()+optional.booleanhasCase()+required.booleanhasElseNode()The node to execute in case none of the branches were taken.booleanhasError()An error to throw in case none of the branches were taken.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCase
boolean hasCase()
+required. First condition to evaluate.
.flyteidl.core.IfBlock case = 1;- Returns:
- Whether the case field is set.
-
getCase
Workflow.IfBlock getCase()
+required. First condition to evaluate.
.flyteidl.core.IfBlock case = 1;- Returns:
- The case.
-
getCaseOrBuilder
Workflow.IfBlockOrBuilder getCaseOrBuilder()
+required. First condition to evaluate.
.flyteidl.core.IfBlock case = 1;
-
getOtherList
List<Workflow.IfBlock> getOtherList()
+optional. Additional branches to evaluate.
repeated .flyteidl.core.IfBlock other = 2;
-
getOther
Workflow.IfBlock getOther(int index)
+optional. Additional branches to evaluate.
repeated .flyteidl.core.IfBlock other = 2;
-
getOtherCount
int getOtherCount()
+optional. Additional branches to evaluate.
repeated .flyteidl.core.IfBlock other = 2;
-
getOtherOrBuilderList
List<? extends Workflow.IfBlockOrBuilder> getOtherOrBuilderList()
+optional. Additional branches to evaluate.
repeated .flyteidl.core.IfBlock other = 2;
-
getOtherOrBuilder
Workflow.IfBlockOrBuilder getOtherOrBuilder(int index)
+optional. Additional branches to evaluate.
repeated .flyteidl.core.IfBlock other = 2;
-
hasElseNode
boolean hasElseNode()
The node to execute in case none of the branches were taken.
.flyteidl.core.Node else_node = 3;- Returns:
- Whether the elseNode field is set.
-
getElseNode
Workflow.Node getElseNode()
The node to execute in case none of the branches were taken.
.flyteidl.core.Node else_node = 3;- Returns:
- The elseNode.
-
getElseNodeOrBuilder
Workflow.NodeOrBuilder getElseNodeOrBuilder()
The node to execute in case none of the branches were taken.
.flyteidl.core.Node else_node = 3;
-
hasError
boolean hasError()
An error to throw in case none of the branches were taken.
.flyteidl.core.Error error = 4;- Returns:
- Whether the error field is set.
-
getError
Types.Error getError()
An error to throw in case none of the branches were taken.
.flyteidl.core.Error error = 4;- Returns:
- The error.
-
getErrorOrBuilder
Types.ErrorOrBuilder getErrorOrBuilder()
An error to throw in case none of the branches were taken.
.flyteidl.core.Error error = 4;
-
getDefaultCase
Workflow.IfElseBlock.DefaultCase getDefaultCase()
-
-