Package flyteidl.core
Class Compiler.CompiledWorkflowClosure
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.core.Compiler.CompiledWorkflowClosure
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Compiler.CompiledWorkflowClosureOrBuilder,Serializable
- Enclosing class:
- Compiler
public static final class Compiler.CompiledWorkflowClosure extends com.google.protobuf.GeneratedMessageV3 implements Compiler.CompiledWorkflowClosureOrBuilder
A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of compiled subworkflows.
Protobuf typeflyteidl.core.CompiledWorkflowClosure- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompiler.CompiledWorkflowClosure.BuilderA Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow and its details.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private static Compiler.CompiledWorkflowClosureDEFAULT_INSTANCEprivate bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Compiler.CompiledWorkflowClosure>PARSERprivate Compiler.CompiledWorkflowprimary_static intPRIMARY_FIELD_NUMBERprivate static longserialVersionUIDstatic intSUB_WORKFLOWS_FIELD_NUMBERprivate List<Compiler.CompiledWorkflow>subWorkflows_private List<Compiler.CompiledTask>tasks_static intTASKS_FIELD_NUMBER
-
Constructor Summary
Constructors Modifier Constructor Description privateCompiledWorkflowClosure()privateCompiledWorkflowClosure(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Compiler.CompiledWorkflowClosuregetDefaultInstance()Compiler.CompiledWorkflowClosuregetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Compiler.CompiledWorkflowClosure>getParserForType()Compiler.CompiledWorkflowgetPrimary()+requiredCompiler.CompiledWorkflowOrBuildergetPrimaryOrBuilder()+requiredintgetSerializedSize()Compiler.CompiledWorkflowgetSubWorkflows(int index)Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier.intgetSubWorkflowsCount()Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier.List<Compiler.CompiledWorkflow>getSubWorkflowsList()Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier.Compiler.CompiledWorkflowOrBuildergetSubWorkflowsOrBuilder(int index)Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier.List<? extends Compiler.CompiledWorkflowOrBuilder>getSubWorkflowsOrBuilderList()Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier.Compiler.CompiledTaskgetTasks(int index)Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)intgetTasksCount()Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)List<Compiler.CompiledTask>getTasksList()Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)Compiler.CompiledTaskOrBuildergetTasksOrBuilder(int index)Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)List<? extends Compiler.CompiledTaskOrBuilder>getTasksOrBuilderList()Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasPrimary()+requiredprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Compiler.CompiledWorkflowClosure.BuildernewBuilder()static Compiler.CompiledWorkflowClosure.BuildernewBuilder(Compiler.CompiledWorkflowClosure prototype)Compiler.CompiledWorkflowClosure.BuildernewBuilderForType()protected Compiler.CompiledWorkflowClosure.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Compiler.CompiledWorkflowClosureparseDelimitedFrom(InputStream input)static Compiler.CompiledWorkflowClosureparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Compiler.CompiledWorkflowClosureparseFrom(byte[] data)static Compiler.CompiledWorkflowClosureparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Compiler.CompiledWorkflowClosureparseFrom(com.google.protobuf.ByteString data)static Compiler.CompiledWorkflowClosureparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Compiler.CompiledWorkflowClosureparseFrom(com.google.protobuf.CodedInputStream input)static Compiler.CompiledWorkflowClosureparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Compiler.CompiledWorkflowClosureparseFrom(InputStream input)static Compiler.CompiledWorkflowClosureparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Compiler.CompiledWorkflowClosureparseFrom(ByteBuffer data)static Compiler.CompiledWorkflowClosureparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Compiler.CompiledWorkflowClosure>parser()Compiler.CompiledWorkflowClosure.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
PRIMARY_FIELD_NUMBER
public static final int PRIMARY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
primary_
private Compiler.CompiledWorkflow primary_
-
SUB_WORKFLOWS_FIELD_NUMBER
public static final int SUB_WORKFLOWS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
subWorkflows_
private List<Compiler.CompiledWorkflow> subWorkflows_
-
TASKS_FIELD_NUMBER
public static final int TASKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
tasks_
private List<Compiler.CompiledTask> tasks_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Compiler.CompiledWorkflowClosure DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Compiler.CompiledWorkflowClosure> PARSER
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasPrimary
public boolean hasPrimary()
+required
.flyteidl.core.CompiledWorkflow primary = 1;- Specified by:
hasPrimaryin interfaceCompiler.CompiledWorkflowClosureOrBuilder- Returns:
- Whether the primary field is set.
-
getPrimary
public Compiler.CompiledWorkflow getPrimary()
+required
.flyteidl.core.CompiledWorkflow primary = 1;- Specified by:
getPrimaryin interfaceCompiler.CompiledWorkflowClosureOrBuilder- Returns:
- The primary.
-
getPrimaryOrBuilder
public Compiler.CompiledWorkflowOrBuilder getPrimaryOrBuilder()
+required
.flyteidl.core.CompiledWorkflow primary = 1;- Specified by:
getPrimaryOrBuilderin interfaceCompiler.CompiledWorkflowClosureOrBuilder
-
getSubWorkflowsList
public List<Compiler.CompiledWorkflow> getSubWorkflowsList()
Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow as an inlined workflow +optional
repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2;- Specified by:
getSubWorkflowsListin interfaceCompiler.CompiledWorkflowClosureOrBuilder
-
getSubWorkflowsOrBuilderList
public List<? extends Compiler.CompiledWorkflowOrBuilder> getSubWorkflowsOrBuilderList()
Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow as an inlined workflow +optional
repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2;- Specified by:
getSubWorkflowsOrBuilderListin interfaceCompiler.CompiledWorkflowClosureOrBuilder
-
getSubWorkflowsCount
public int getSubWorkflowsCount()
Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow as an inlined workflow +optional
repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2;- Specified by:
getSubWorkflowsCountin interfaceCompiler.CompiledWorkflowClosureOrBuilder
-
getSubWorkflows
public Compiler.CompiledWorkflow getSubWorkflows(int index)
Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow as an inlined workflow +optional
repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2;- Specified by:
getSubWorkflowsin interfaceCompiler.CompiledWorkflowClosureOrBuilder
-
getSubWorkflowsOrBuilder
public Compiler.CompiledWorkflowOrBuilder getSubWorkflowsOrBuilder(int index)
Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow as an inlined workflow +optional
repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2;- Specified by:
getSubWorkflowsOrBuilderin interfaceCompiler.CompiledWorkflowClosureOrBuilder
-
getTasksList
public List<Compiler.CompiledTask> getTasksList()
Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)
repeated .flyteidl.core.CompiledTask tasks = 3;- Specified by:
getTasksListin interfaceCompiler.CompiledWorkflowClosureOrBuilder
-
getTasksOrBuilderList
public List<? extends Compiler.CompiledTaskOrBuilder> getTasksOrBuilderList()
Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)
repeated .flyteidl.core.CompiledTask tasks = 3;- Specified by:
getTasksOrBuilderListin interfaceCompiler.CompiledWorkflowClosureOrBuilder
-
getTasksCount
public int getTasksCount()
Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)
repeated .flyteidl.core.CompiledTask tasks = 3;- Specified by:
getTasksCountin interfaceCompiler.CompiledWorkflowClosureOrBuilder
-
getTasks
public Compiler.CompiledTask getTasks(int index)
Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)
repeated .flyteidl.core.CompiledTask tasks = 3;- Specified by:
getTasksin interfaceCompiler.CompiledWorkflowClosureOrBuilder
-
getTasksOrBuilder
public Compiler.CompiledTaskOrBuilder getTasksOrBuilder(int index)
Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)
repeated .flyteidl.core.CompiledTask tasks = 3;- Specified by:
getTasksOrBuilderin interfaceCompiler.CompiledWorkflowClosureOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Compiler.CompiledWorkflowClosure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compiler.CompiledWorkflowClosure parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compiler.CompiledWorkflowClosure parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compiler.CompiledWorkflowClosure parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compiler.CompiledWorkflowClosure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compiler.CompiledWorkflowClosure parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compiler.CompiledWorkflowClosure parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Compiler.CompiledWorkflowClosure parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Compiler.CompiledWorkflowClosure parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Compiler.CompiledWorkflowClosure parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Compiler.CompiledWorkflowClosure parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Compiler.CompiledWorkflowClosure parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Compiler.CompiledWorkflowClosure.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Compiler.CompiledWorkflowClosure.Builder newBuilder()
-
newBuilder
public static Compiler.CompiledWorkflowClosure.Builder newBuilder(Compiler.CompiledWorkflowClosure prototype)
-
toBuilder
public Compiler.CompiledWorkflowClosure.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Compiler.CompiledWorkflowClosure.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Compiler.CompiledWorkflowClosure getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Compiler.CompiledWorkflowClosure> parser()
-
getParserForType
public com.google.protobuf.Parser<Compiler.CompiledWorkflowClosure> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Compiler.CompiledWorkflowClosure getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-