Class WorkflowOuterClass.WorkflowSpec.Builder

    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowOuterClass.WorkflowSpec.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowOuterClass.WorkflowSpec.Builder>
      • getDefaultInstanceForType

        public WorkflowOuterClass.WorkflowSpec getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public WorkflowOuterClass.WorkflowSpec build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public WorkflowOuterClass.WorkflowSpec buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowOuterClass.WorkflowSpec.Builder>
      • hasTemplate

        public boolean hasTemplate()
         Template of the task that encapsulates all the metadata of the workflow.
         
        .flyteidl.core.WorkflowTemplate template = 1;
        Specified by:
        hasTemplate in interface WorkflowOuterClass.WorkflowSpecOrBuilder
        Returns:
        Whether the template field is set.
      • clearTemplate

        public WorkflowOuterClass.WorkflowSpec.Builder clearTemplate()
         Template of the task that encapsulates all the metadata of the workflow.
         
        .flyteidl.core.WorkflowTemplate template = 1;
      • getTemplateBuilder

        public Workflow.WorkflowTemplate.Builder getTemplateBuilder()
         Template of the task that encapsulates all the metadata of the workflow.
         
        .flyteidl.core.WorkflowTemplate template = 1;
      • ensureSubWorkflowsIsMutable

        private void ensureSubWorkflowsIsMutable()
      • getSubWorkflowsList

        public List<Workflow.WorkflowTemplate> getSubWorkflowsList()
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
        Specified by:
        getSubWorkflowsList in interface WorkflowOuterClass.WorkflowSpecOrBuilder
      • getSubWorkflowsCount

        public int getSubWorkflowsCount()
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
        Specified by:
        getSubWorkflowsCount in interface WorkflowOuterClass.WorkflowSpecOrBuilder
      • getSubWorkflows

        public Workflow.WorkflowTemplate getSubWorkflows​(int index)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
        Specified by:
        getSubWorkflows in interface WorkflowOuterClass.WorkflowSpecOrBuilder
      • setSubWorkflows

        public WorkflowOuterClass.WorkflowSpec.Builder setSubWorkflows​(int index,
                                                                       Workflow.WorkflowTemplate value)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • setSubWorkflows

        public WorkflowOuterClass.WorkflowSpec.Builder setSubWorkflows​(int index,
                                                                       Workflow.WorkflowTemplate.Builder builderForValue)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • addSubWorkflows

        public WorkflowOuterClass.WorkflowSpec.Builder addSubWorkflows​(Workflow.WorkflowTemplate value)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • addSubWorkflows

        public WorkflowOuterClass.WorkflowSpec.Builder addSubWorkflows​(int index,
                                                                       Workflow.WorkflowTemplate value)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • addSubWorkflows

        public WorkflowOuterClass.WorkflowSpec.Builder addSubWorkflows​(Workflow.WorkflowTemplate.Builder builderForValue)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • addSubWorkflows

        public WorkflowOuterClass.WorkflowSpec.Builder addSubWorkflows​(int index,
                                                                       Workflow.WorkflowTemplate.Builder builderForValue)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • addAllSubWorkflows

        public WorkflowOuterClass.WorkflowSpec.Builder addAllSubWorkflows​(Iterable<? extends Workflow.WorkflowTemplate> values)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • clearSubWorkflows

        public WorkflowOuterClass.WorkflowSpec.Builder clearSubWorkflows()
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • removeSubWorkflows

        public WorkflowOuterClass.WorkflowSpec.Builder removeSubWorkflows​(int index)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • getSubWorkflowsBuilder

        public Workflow.WorkflowTemplate.Builder getSubWorkflowsBuilder​(int index)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • getSubWorkflowsOrBuilder

        public Workflow.WorkflowTemplateOrBuilder getSubWorkflowsOrBuilder​(int index)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
        Specified by:
        getSubWorkflowsOrBuilder in interface WorkflowOuterClass.WorkflowSpecOrBuilder
      • getSubWorkflowsOrBuilderList

        public List<? extends Workflow.WorkflowTemplateOrBuilder> getSubWorkflowsOrBuilderList()
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
        Specified by:
        getSubWorkflowsOrBuilderList in interface WorkflowOuterClass.WorkflowSpecOrBuilder
      • addSubWorkflowsBuilder

        public Workflow.WorkflowTemplate.Builder addSubWorkflowsBuilder()
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • addSubWorkflowsBuilder

        public Workflow.WorkflowTemplate.Builder addSubWorkflowsBuilder​(int index)
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;
      • getSubWorkflowsBuilderList

        public List<Workflow.WorkflowTemplate.Builder> getSubWorkflowsBuilderList()
         Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
         propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
         to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
         
        repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2;