Class UpdateWorkflowExecutionResponse.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<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

        public UpdateWorkflowExecutionResponse 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
      • 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 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<UpdateWorkflowExecutionResponse.Builder>
        Throws:
        java.io.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.
      • 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;
      • hasOutcome

        public boolean hasOutcome()
         The outcome of the update if and only if the workflow execution 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 execution 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

        public UpdateWorkflowExecutionResponse.Builder setOutcome​(Outcome value)
         The outcome of the update if and only if the workflow execution 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 execution 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 execution 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

        public UpdateWorkflowExecutionResponse.Builder clearOutcome()
         The outcome of the update if and only if the workflow execution 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 execution 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 execution 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

        public UpdateWorkflowExecutionLifecycleStage 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

        public UpdateWorkflowExecutionResponse.Builder setStage​(UpdateWorkflowExecutionLifecycleStage 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 stage to set.
        Returns:
        This builder for chaining.
      • clearStage

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