Class UpdateWorkflowExecutionRequest.Builder

    • 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<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

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

        public UpdateWorkflowExecutionRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                       int index,
                                                                       java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionRequest.Builder>
      • 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 java.io.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:
        java.io.IOException
      • setNamespace

        public UpdateWorkflowExecutionRequest.Builder setNamespace​(java.lang.String value)
         The namespace name of the target Workflow.
         
        string namespace = 1;
        Parameters:
        value - The namespace to set.
        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;
      • getFirstExecutionRunId

        public java.lang.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​(java.lang.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

        public UpdateWorkflowExecutionRequest.Builder setRequest​(Request value)
         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

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