Class UpdateWorkflowExecutionResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateWorkflowExecutionResponseOrBuilder, Cloneable
Enclosing class:
UpdateWorkflowExecutionResponse

public static final class UpdateWorkflowExecutionResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder> implements UpdateWorkflowExecutionResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse
  • Method Details

    • 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<UpdateWorkflowExecutionResponse.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<UpdateWorkflowExecutionResponse.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<UpdateWorkflowExecutionResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateWorkflowExecutionResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<UpdateWorkflowExecutionResponse.Builder>
    • setField

      public UpdateWorkflowExecutionResponse.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<UpdateWorkflowExecutionResponse.Builder>
    • clearField

      public UpdateWorkflowExecutionResponse.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<UpdateWorkflowExecutionResponse.Builder>
    • clearOneof

      public UpdateWorkflowExecutionResponse.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<UpdateWorkflowExecutionResponse.Builder>
    • setRepeatedField

      public UpdateWorkflowExecutionResponse.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<UpdateWorkflowExecutionResponse.Builder>
    • addRepeatedField

      public UpdateWorkflowExecutionResponse.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<UpdateWorkflowExecutionResponse.Builder>
    • mergeFrom

      public UpdateWorkflowExecutionResponse.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<UpdateWorkflowExecutionResponse.Builder>
    • mergeFrom

    • isInitialized

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

      public UpdateWorkflowExecutionResponse.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<UpdateWorkflowExecutionResponse.Builder>
      Throws:
      IOException
    • hasUpdateRef

      public boolean hasUpdateRef()
       Enough information for subsequent poll calls if needed. Never null.
       
      .temporal.api.update.v1.UpdateRef update_ref = 1;
      Specified by:
      hasUpdateRef in interface UpdateWorkflowExecutionResponseOrBuilder
      Returns:
      Whether the updateRef field is set.
    • getUpdateRef

      public UpdateRef getUpdateRef()
       Enough information for subsequent poll calls if needed. Never null.
       
      .temporal.api.update.v1.UpdateRef update_ref = 1;
      Specified by:
      getUpdateRef in interface UpdateWorkflowExecutionResponseOrBuilder
      Returns:
      The updateRef.
    • setUpdateRef

       Enough information for subsequent poll calls if needed. Never null.
       
      .temporal.api.update.v1.UpdateRef update_ref = 1;
    • setUpdateRef

      public UpdateWorkflowExecutionResponse.Builder setUpdateRef(UpdateRef.Builder builderForValue)
       Enough information for subsequent poll calls if needed. Never null.
       
      .temporal.api.update.v1.UpdateRef update_ref = 1;
    • mergeUpdateRef

      public UpdateWorkflowExecutionResponse.Builder mergeUpdateRef(UpdateRef value)
       Enough information for subsequent poll calls if needed. Never null.
       
      .temporal.api.update.v1.UpdateRef update_ref = 1;
    • clearUpdateRef

      public UpdateWorkflowExecutionResponse.Builder clearUpdateRef()
       Enough information for subsequent poll calls if needed. Never null.
       
      .temporal.api.update.v1.UpdateRef update_ref = 1;
    • getUpdateRefBuilder

      public UpdateRef.Builder getUpdateRefBuilder()
       Enough information for subsequent poll calls if needed. Never null.
       
      .temporal.api.update.v1.UpdateRef update_ref = 1;
    • getUpdateRefOrBuilder

      public UpdateRefOrBuilder getUpdateRefOrBuilder()
       Enough information for subsequent poll calls if needed. Never null.
       
      .temporal.api.update.v1.UpdateRef update_ref = 1;
      Specified by:
      getUpdateRefOrBuilder in interface UpdateWorkflowExecutionResponseOrBuilder
    • hasOutcome

      public boolean hasOutcome()
       The outcome of the Update if and only if the Workflow Update
       has completed. If this response is being returned before the Update has
       completed then this field will not be set.
       
      .temporal.api.update.v1.Outcome outcome = 2;
      Specified by:
      hasOutcome in interface UpdateWorkflowExecutionResponseOrBuilder
      Returns:
      Whether the outcome field is set.
    • getOutcome

      public Outcome getOutcome()
       The outcome of the Update if and only if the Workflow Update
       has completed. If this response is being returned before the Update has
       completed then this field will not be set.
       
      .temporal.api.update.v1.Outcome outcome = 2;
      Specified by:
      getOutcome in interface UpdateWorkflowExecutionResponseOrBuilder
      Returns:
      The outcome.
    • setOutcome

       The outcome of the Update if and only if the Workflow Update
       has completed. If this response is being returned before the Update has
       completed then this field will not be set.
       
      .temporal.api.update.v1.Outcome outcome = 2;
    • setOutcome

      public UpdateWorkflowExecutionResponse.Builder setOutcome(Outcome.Builder builderForValue)
       The outcome of the Update if and only if the Workflow Update
       has completed. If this response is being returned before the Update has
       completed then this field will not be set.
       
      .temporal.api.update.v1.Outcome outcome = 2;
    • mergeOutcome

      public UpdateWorkflowExecutionResponse.Builder mergeOutcome(Outcome value)
       The outcome of the Update if and only if the Workflow Update
       has completed. If this response is being returned before the Update has
       completed then this field will not be set.
       
      .temporal.api.update.v1.Outcome outcome = 2;
    • clearOutcome

       The outcome of the Update if and only if the Workflow Update
       has completed. If this response is being returned before the Update has
       completed then this field will not be set.
       
      .temporal.api.update.v1.Outcome outcome = 2;
    • getOutcomeBuilder

      public Outcome.Builder getOutcomeBuilder()
       The outcome of the Update if and only if the Workflow Update
       has completed. If this response is being returned before the Update has
       completed then this field will not be set.
       
      .temporal.api.update.v1.Outcome outcome = 2;
    • getOutcomeOrBuilder

      public OutcomeOrBuilder getOutcomeOrBuilder()
       The outcome of the Update if and only if the Workflow Update
       has completed. If this response is being returned before the Update has
       completed then this field will not be set.
       
      .temporal.api.update.v1.Outcome outcome = 2;
      Specified by:
      getOutcomeOrBuilder in interface UpdateWorkflowExecutionResponseOrBuilder
    • getStageValue

      public int getStageValue()
       The most advanced lifecycle stage that the Update is known to have
       reached, where lifecycle stages are ordered
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED.
       UNSPECIFIED will be returned if and only if the server's maximum wait
       time was reached before the Update reached the stage specified in the
       request WaitPolicy, and before the context deadline expired; clients may
       may then retry the call as needed.
       
      .temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage stage = 3;
      Specified by:
      getStageValue in interface UpdateWorkflowExecutionResponseOrBuilder
      Returns:
      The enum numeric value on the wire for stage.
    • setStageValue

      public UpdateWorkflowExecutionResponse.Builder setStageValue(int value)
       The most advanced lifecycle stage that the Update is known to have
       reached, where lifecycle stages are ordered
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED.
       UNSPECIFIED will be returned if and only if the server's maximum wait
       time was reached before the Update reached the stage specified in the
       request WaitPolicy, and before the context deadline expired; clients may
       may then retry the call as needed.
       
      .temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage stage = 3;
      Parameters:
      value - The enum numeric value on the wire for stage to set.
      Returns:
      This builder for chaining.
    • getStage

       The most advanced lifecycle stage that the Update is known to have
       reached, where lifecycle stages are ordered
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED.
       UNSPECIFIED will be returned if and only if the server's maximum wait
       time was reached before the Update reached the stage specified in the
       request WaitPolicy, and before the context deadline expired; clients may
       may then retry the call as needed.
       
      .temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage stage = 3;
      Specified by:
      getStage in interface UpdateWorkflowExecutionResponseOrBuilder
      Returns:
      The stage.
    • setStage

       The most advanced lifecycle stage that the Update is known to have
       reached, where lifecycle stages are ordered
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED.
       UNSPECIFIED will be returned if and only if the server's maximum wait
       time was reached before the Update reached the stage specified in the
       request WaitPolicy, and before the context deadline expired; clients may
       may then retry the call as needed.
       
      .temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage stage = 3;
      Parameters:
      value - The stage to set.
      Returns:
      This builder for chaining.
    • clearStage

       The most advanced lifecycle stage that the Update is known to have
       reached, where lifecycle stages are ordered
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED <
       UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED.
       UNSPECIFIED will be returned if and only if the server's maximum wait
       time was reached before the Update reached the stage specified in the
       request WaitPolicy, and before the context deadline expired; clients may
       may then retry the call as needed.
       
      .temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage stage = 3;
      Returns:
      This builder for chaining.
    • hasLink

      public boolean hasLink()
       Link to the update event. May be null if the update has not yet been accepted.
       
      .temporal.api.common.v1.Link link = 4;
      Specified by:
      hasLink in interface UpdateWorkflowExecutionResponseOrBuilder
      Returns:
      Whether the link field is set.
    • getLink

      public Link getLink()
       Link to the update event. May be null if the update has not yet been accepted.
       
      .temporal.api.common.v1.Link link = 4;
      Specified by:
      getLink in interface UpdateWorkflowExecutionResponseOrBuilder
      Returns:
      The link.
    • setLink

       Link to the update event. May be null if the update has not yet been accepted.
       
      .temporal.api.common.v1.Link link = 4;
    • setLink

      public UpdateWorkflowExecutionResponse.Builder setLink(Link.Builder builderForValue)
       Link to the update event. May be null if the update has not yet been accepted.
       
      .temporal.api.common.v1.Link link = 4;
    • mergeLink

       Link to the update event. May be null if the update has not yet been accepted.
       
      .temporal.api.common.v1.Link link = 4;
    • clearLink

       Link to the update event. May be null if the update has not yet been accepted.
       
      .temporal.api.common.v1.Link link = 4;
    • getLinkBuilder

      public Link.Builder getLinkBuilder()
       Link to the update event. May be null if the update has not yet been accepted.
       
      .temporal.api.common.v1.Link link = 4;
    • getLinkOrBuilder

      public LinkOrBuilder getLinkOrBuilder()
       Link to the update event. May be null if the update has not yet been accepted.
       
      .temporal.api.common.v1.Link link = 4;
      Specified by:
      getLinkOrBuilder in interface UpdateWorkflowExecutionResponseOrBuilder
    • setUnknownFields

      public final UpdateWorkflowExecutionResponse.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<UpdateWorkflowExecutionResponse.Builder>
    • mergeUnknownFields

      public final UpdateWorkflowExecutionResponse.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<UpdateWorkflowExecutionResponse.Builder>