Class Execution.Status.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Execution.Status.Builder>
com.google.cloud.workflows.executions.v1.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.GeneratedMessage.Builder<Execution.Status.Builder> implements Execution.StatusOrBuilder
 Represents the current status of this execution.
 
Protobuf type google.cloud.workflows.executions.v1.Execution.Status
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public Execution.Status.Builder mergeFrom(Execution.Status other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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;