Class UpdateWorkflowExecutionRequest.Builder

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

public static final class UpdateWorkflowExecutionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionRequest.Builder> implements UpdateWorkflowExecutionRequestOrBuilder
 (-- api-linter: core::0134=disabled
     aip.dev/not-precedent: Update RPCs don't follow Google API format. --)
 
Protobuf type temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest
  • 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<UpdateWorkflowExecutionRequest.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<UpdateWorkflowExecutionRequest.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<UpdateWorkflowExecutionRequest.Builder>
    • getDefaultInstanceForType

      public UpdateWorkflowExecutionRequest 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 UpdateWorkflowExecutionRequest 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<UpdateWorkflowExecutionRequest.Builder>
    • setField

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

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

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

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

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

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

      public UpdateWorkflowExecutionRequest.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<UpdateWorkflowExecutionRequest.Builder>
      Throws:
      IOException
    • getNamespace

      public String getNamespace()
       The namespace name of the target Workflow.
       
      string namespace = 1;
      Specified by:
      getNamespace in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
       The namespace name of the target Workflow.
       
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public UpdateWorkflowExecutionRequest.Builder setNamespace(String value)
       The namespace name of the target Workflow.
       
      string namespace = 1;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public UpdateWorkflowExecutionRequest.Builder clearNamespace()
       The namespace name of the target Workflow.
       
      string namespace = 1;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public UpdateWorkflowExecutionRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
       The namespace name of the target Workflow.
       
      string namespace = 1;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • hasWorkflowExecution

      public boolean hasWorkflowExecution()
       The target Workflow Id and (optionally) a specific Run Id thereof.
       (-- api-linter: core::0203::optional=disabled
           aip.dev/not-precedent: false positive triggered by the word "optional" --)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
      Specified by:
      hasWorkflowExecution in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      Whether the workflowExecution field is set.
    • getWorkflowExecution

      public WorkflowExecution getWorkflowExecution()
       The target Workflow Id and (optionally) a specific Run Id thereof.
       (-- api-linter: core::0203::optional=disabled
           aip.dev/not-precedent: false positive triggered by the word "optional" --)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
      Specified by:
      getWorkflowExecution in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      The workflowExecution.
    • setWorkflowExecution

      public UpdateWorkflowExecutionRequest.Builder setWorkflowExecution(WorkflowExecution value)
       The target Workflow Id and (optionally) a specific Run Id thereof.
       (-- api-linter: core::0203::optional=disabled
           aip.dev/not-precedent: false positive triggered by the word "optional" --)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
    • setWorkflowExecution

      public UpdateWorkflowExecutionRequest.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
       The target Workflow Id and (optionally) a specific Run Id thereof.
       (-- api-linter: core::0203::optional=disabled
           aip.dev/not-precedent: false positive triggered by the word "optional" --)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
    • mergeWorkflowExecution

      public UpdateWorkflowExecutionRequest.Builder mergeWorkflowExecution(WorkflowExecution value)
       The target Workflow Id and (optionally) a specific Run Id thereof.
       (-- api-linter: core::0203::optional=disabled
           aip.dev/not-precedent: false positive triggered by the word "optional" --)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
    • clearWorkflowExecution

      public UpdateWorkflowExecutionRequest.Builder clearWorkflowExecution()
       The target Workflow Id and (optionally) a specific Run Id thereof.
       (-- api-linter: core::0203::optional=disabled
           aip.dev/not-precedent: false positive triggered by the word "optional" --)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
    • getWorkflowExecutionBuilder

      public WorkflowExecution.Builder getWorkflowExecutionBuilder()
       The target Workflow Id and (optionally) a specific Run Id thereof.
       (-- api-linter: core::0203::optional=disabled
           aip.dev/not-precedent: false positive triggered by the word "optional" --)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
    • getWorkflowExecutionOrBuilder

      public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
       The target Workflow Id and (optionally) a specific Run Id thereof.
       (-- api-linter: core::0203::optional=disabled
           aip.dev/not-precedent: false positive triggered by the word "optional" --)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
      Specified by:
      getWorkflowExecutionOrBuilder in interface UpdateWorkflowExecutionRequestOrBuilder
    • getFirstExecutionRunId

      public String getFirstExecutionRunId()
       If set, this call will error if the most recent (if no Run Id is set on
       `workflow_execution`), or specified (if it is) Workflow Execution is not
       part of the same execution chain as this Id.
       
      string first_execution_run_id = 3;
      Specified by:
      getFirstExecutionRunId in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      The firstExecutionRunId.
    • getFirstExecutionRunIdBytes

      public com.google.protobuf.ByteString getFirstExecutionRunIdBytes()
       If set, this call will error if the most recent (if no Run Id is set on
       `workflow_execution`), or specified (if it is) Workflow Execution is not
       part of the same execution chain as this Id.
       
      string first_execution_run_id = 3;
      Specified by:
      getFirstExecutionRunIdBytes in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      The bytes for firstExecutionRunId.
    • setFirstExecutionRunId

      public UpdateWorkflowExecutionRequest.Builder setFirstExecutionRunId(String value)
       If set, this call will error if the most recent (if no Run Id is set on
       `workflow_execution`), or specified (if it is) Workflow Execution is not
       part of the same execution chain as this Id.
       
      string first_execution_run_id = 3;
      Parameters:
      value - The firstExecutionRunId to set.
      Returns:
      This builder for chaining.
    • clearFirstExecutionRunId

      public UpdateWorkflowExecutionRequest.Builder clearFirstExecutionRunId()
       If set, this call will error if the most recent (if no Run Id is set on
       `workflow_execution`), or specified (if it is) Workflow Execution is not
       part of the same execution chain as this Id.
       
      string first_execution_run_id = 3;
      Returns:
      This builder for chaining.
    • setFirstExecutionRunIdBytes

      public UpdateWorkflowExecutionRequest.Builder setFirstExecutionRunIdBytes(com.google.protobuf.ByteString value)
       If set, this call will error if the most recent (if no Run Id is set on
       `workflow_execution`), or specified (if it is) Workflow Execution is not
       part of the same execution chain as this Id.
       
      string first_execution_run_id = 3;
      Parameters:
      value - The bytes for firstExecutionRunId to set.
      Returns:
      This builder for chaining.
    • hasWaitPolicy

      public boolean hasWaitPolicy()
       Specifies client's intent to wait for Update results.
       NOTE: This field works together with API call timeout which is limited by
       server timeout (maximum wait time). If server timeout is expired before
       user specified timeout, API call returns even if specified stage is not reached.
       Actual reached stage will be included in the response.
       
      .temporal.api.update.v1.WaitPolicy wait_policy = 4;
      Specified by:
      hasWaitPolicy in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      Whether the waitPolicy field is set.
    • getWaitPolicy

      public WaitPolicy getWaitPolicy()
       Specifies client's intent to wait for Update results.
       NOTE: This field works together with API call timeout which is limited by
       server timeout (maximum wait time). If server timeout is expired before
       user specified timeout, API call returns even if specified stage is not reached.
       Actual reached stage will be included in the response.
       
      .temporal.api.update.v1.WaitPolicy wait_policy = 4;
      Specified by:
      getWaitPolicy in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      The waitPolicy.
    • setWaitPolicy

      public UpdateWorkflowExecutionRequest.Builder setWaitPolicy(WaitPolicy value)
       Specifies client's intent to wait for Update results.
       NOTE: This field works together with API call timeout which is limited by
       server timeout (maximum wait time). If server timeout is expired before
       user specified timeout, API call returns even if specified stage is not reached.
       Actual reached stage will be included in the response.
       
      .temporal.api.update.v1.WaitPolicy wait_policy = 4;
    • setWaitPolicy

      public UpdateWorkflowExecutionRequest.Builder setWaitPolicy(WaitPolicy.Builder builderForValue)
       Specifies client's intent to wait for Update results.
       NOTE: This field works together with API call timeout which is limited by
       server timeout (maximum wait time). If server timeout is expired before
       user specified timeout, API call returns even if specified stage is not reached.
       Actual reached stage will be included in the response.
       
      .temporal.api.update.v1.WaitPolicy wait_policy = 4;
    • mergeWaitPolicy

      public UpdateWorkflowExecutionRequest.Builder mergeWaitPolicy(WaitPolicy value)
       Specifies client's intent to wait for Update results.
       NOTE: This field works together with API call timeout which is limited by
       server timeout (maximum wait time). If server timeout is expired before
       user specified timeout, API call returns even if specified stage is not reached.
       Actual reached stage will be included in the response.
       
      .temporal.api.update.v1.WaitPolicy wait_policy = 4;
    • clearWaitPolicy

      public UpdateWorkflowExecutionRequest.Builder clearWaitPolicy()
       Specifies client's intent to wait for Update results.
       NOTE: This field works together with API call timeout which is limited by
       server timeout (maximum wait time). If server timeout is expired before
       user specified timeout, API call returns even if specified stage is not reached.
       Actual reached stage will be included in the response.
       
      .temporal.api.update.v1.WaitPolicy wait_policy = 4;
    • getWaitPolicyBuilder

      public WaitPolicy.Builder getWaitPolicyBuilder()
       Specifies client's intent to wait for Update results.
       NOTE: This field works together with API call timeout which is limited by
       server timeout (maximum wait time). If server timeout is expired before
       user specified timeout, API call returns even if specified stage is not reached.
       Actual reached stage will be included in the response.
       
      .temporal.api.update.v1.WaitPolicy wait_policy = 4;
    • getWaitPolicyOrBuilder

      public WaitPolicyOrBuilder getWaitPolicyOrBuilder()
       Specifies client's intent to wait for Update results.
       NOTE: This field works together with API call timeout which is limited by
       server timeout (maximum wait time). If server timeout is expired before
       user specified timeout, API call returns even if specified stage is not reached.
       Actual reached stage will be included in the response.
       
      .temporal.api.update.v1.WaitPolicy wait_policy = 4;
      Specified by:
      getWaitPolicyOrBuilder in interface UpdateWorkflowExecutionRequestOrBuilder
    • hasRequest

      public boolean hasRequest()
       The request information that will be delivered all the way down to the
       Workflow Execution.
       
      .temporal.api.update.v1.Request request = 5;
      Specified by:
      hasRequest in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      Whether the request field is set.
    • getRequest

      public Request getRequest()
       The request information that will be delivered all the way down to the
       Workflow Execution.
       
      .temporal.api.update.v1.Request request = 5;
      Specified by:
      getRequest in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      The request.
    • setRequest

       The request information that will be delivered all the way down to the
       Workflow Execution.
       
      .temporal.api.update.v1.Request request = 5;
    • setRequest

      public UpdateWorkflowExecutionRequest.Builder setRequest(Request.Builder builderForValue)
       The request information that will be delivered all the way down to the
       Workflow Execution.
       
      .temporal.api.update.v1.Request request = 5;
    • mergeRequest

      public UpdateWorkflowExecutionRequest.Builder mergeRequest(Request value)
       The request information that will be delivered all the way down to the
       Workflow Execution.
       
      .temporal.api.update.v1.Request request = 5;
    • clearRequest

       The request information that will be delivered all the way down to the
       Workflow Execution.
       
      .temporal.api.update.v1.Request request = 5;
    • getRequestBuilder

      public Request.Builder getRequestBuilder()
       The request information that will be delivered all the way down to the
       Workflow Execution.
       
      .temporal.api.update.v1.Request request = 5;
    • getRequestOrBuilder

      public RequestOrBuilder getRequestOrBuilder()
       The request information that will be delivered all the way down to the
       Workflow Execution.
       
      .temporal.api.update.v1.Request request = 5;
      Specified by:
      getRequestOrBuilder in interface UpdateWorkflowExecutionRequestOrBuilder
    • setUnknownFields

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

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