Class Execution.Status.Builder

  • All Implemented Interfaces:
    Execution.StatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Execution.Status

    public static final class Execution.Status.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Execution.Status.Builder>
    implements Execution.StatusOrBuilder
     Represents the current status of this execution.
     
    Protobuf type google.cloud.workflows.executions.v1.Execution.Status
    • 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<Execution.Status.Builder>
      • clear

        public Execution.Status.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Execution.Status.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<Execution.Status.Builder>
      • getDefaultInstanceForType

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

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

        public Execution.Status buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Execution.Status.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Execution.Status.Builder>
      • setField

        public Execution.Status.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Execution.Status.Builder>
      • clearField

        public Execution.Status.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Execution.Status.Builder>
      • clearOneof

        public Execution.Status.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Execution.Status.Builder>
      • setRepeatedField

        public Execution.Status.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Execution.Status.Builder>
      • addRepeatedField

        public Execution.Status.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Execution.Status.Builder>
      • mergeFrom

        public Execution.Status.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Execution.Status.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Execution.Status.Builder>
      • mergeFrom

        public Execution.Status.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Execution.Status.Builder>
        Throws:
        IOException
      • getCurrentStepsList

        public List<Execution.Status.Step> getCurrentStepsList()
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
        Specified by:
        getCurrentStepsList in interface Execution.StatusOrBuilder
      • getCurrentStepsCount

        public int getCurrentStepsCount()
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
        Specified by:
        getCurrentStepsCount in interface Execution.StatusOrBuilder
      • getCurrentSteps

        public Execution.Status.Step getCurrentSteps​(int index)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
        Specified by:
        getCurrentSteps in interface Execution.StatusOrBuilder
      • setCurrentSteps

        public Execution.Status.Builder setCurrentSteps​(int index,
                                                        Execution.Status.Step value)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • setCurrentSteps

        public Execution.Status.Builder setCurrentSteps​(int index,
                                                        Execution.Status.Step.Builder builderForValue)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • addCurrentSteps

        public Execution.Status.Builder addCurrentSteps​(Execution.Status.Step value)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • addCurrentSteps

        public Execution.Status.Builder addCurrentSteps​(int index,
                                                        Execution.Status.Step value)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • addCurrentSteps

        public Execution.Status.Builder addCurrentSteps​(Execution.Status.Step.Builder builderForValue)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • addCurrentSteps

        public Execution.Status.Builder addCurrentSteps​(int index,
                                                        Execution.Status.Step.Builder builderForValue)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • addAllCurrentSteps

        public Execution.Status.Builder addAllCurrentSteps​(Iterable<? extends Execution.Status.Step> values)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • clearCurrentSteps

        public Execution.Status.Builder clearCurrentSteps()
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • removeCurrentSteps

        public Execution.Status.Builder removeCurrentSteps​(int index)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • getCurrentStepsBuilder

        public Execution.Status.Step.Builder getCurrentStepsBuilder​(int index)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • getCurrentStepsOrBuilder

        public Execution.Status.StepOrBuilder getCurrentStepsOrBuilder​(int index)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
        Specified by:
        getCurrentStepsOrBuilder in interface Execution.StatusOrBuilder
      • getCurrentStepsOrBuilderList

        public List<? extends Execution.Status.StepOrBuilder> getCurrentStepsOrBuilderList()
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
        Specified by:
        getCurrentStepsOrBuilderList in interface Execution.StatusOrBuilder
      • addCurrentStepsBuilder

        public Execution.Status.Step.Builder addCurrentStepsBuilder()
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • addCurrentStepsBuilder

        public Execution.Status.Step.Builder addCurrentStepsBuilder​(int index)
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • getCurrentStepsBuilderList

        public List<Execution.Status.Step.Builder> getCurrentStepsBuilderList()
         A list of currently executing or last executed step names for the
         workflow execution currently running. If the workflow has succeeded or
         failed, this is the last attempted or executed step. Presently, if the
         current step is inside a subworkflow, the list only includes that step.
         In the future, the list will contain items for each step in the call
         stack, starting with the outermost step in the `main` subworkflow, and
         ending with the most deeply nested step.
         
        repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
      • setUnknownFields

        public final Execution.Status.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Execution.Status.Builder>
      • mergeUnknownFields

        public final Execution.Status.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Execution.Status.Builder>