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

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

        public PollWorkflowExecutionUpdateResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

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

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

        public boolean hasOutcome()
         The outcome of the update if and only if the update has completed. If
         this response is being returned before the update has completed (e.g. due
         to the specification of a wait policy that only waits on
         UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will
         not be set.
         
        .temporal.api.update.v1.Outcome outcome = 1;
        Specified by:
        hasOutcome in interface PollWorkflowExecutionUpdateResponseOrBuilder
        Returns:
        Whether the outcome field is set.
      • getOutcome

        public Outcome getOutcome()
         The outcome of the update if and only if the update has completed. If
         this response is being returned before the update has completed (e.g. due
         to the specification of a wait policy that only waits on
         UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will
         not be set.
         
        .temporal.api.update.v1.Outcome outcome = 1;
        Specified by:
        getOutcome in interface PollWorkflowExecutionUpdateResponseOrBuilder
        Returns:
        The outcome.
      • setOutcome

        public PollWorkflowExecutionUpdateResponse.Builder setOutcome​(Outcome value)
         The outcome of the update if and only if the update has completed. If
         this response is being returned before the update has completed (e.g. due
         to the specification of a wait policy that only waits on
         UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will
         not be set.
         
        .temporal.api.update.v1.Outcome outcome = 1;
      • setOutcome

        public PollWorkflowExecutionUpdateResponse.Builder setOutcome​(Outcome.Builder builderForValue)
         The outcome of the update if and only if the update has completed. If
         this response is being returned before the update has completed (e.g. due
         to the specification of a wait policy that only waits on
         UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will
         not be set.
         
        .temporal.api.update.v1.Outcome outcome = 1;
      • mergeOutcome

        public PollWorkflowExecutionUpdateResponse.Builder mergeOutcome​(Outcome value)
         The outcome of the update if and only if the update has completed. If
         this response is being returned before the update has completed (e.g. due
         to the specification of a wait policy that only waits on
         UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will
         not be set.
         
        .temporal.api.update.v1.Outcome outcome = 1;
      • clearOutcome

        public PollWorkflowExecutionUpdateResponse.Builder clearOutcome()
         The outcome of the update if and only if the update has completed. If
         this response is being returned before the update has completed (e.g. due
         to the specification of a wait policy that only waits on
         UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will
         not be set.
         
        .temporal.api.update.v1.Outcome outcome = 1;
      • getOutcomeBuilder

        public Outcome.Builder getOutcomeBuilder()
         The outcome of the update if and only if the update has completed. If
         this response is being returned before the update has completed (e.g. due
         to the specification of a wait policy that only waits on
         UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will
         not be set.
         
        .temporal.api.update.v1.Outcome outcome = 1;
      • getOutcomeOrBuilder

        public OutcomeOrBuilder getOutcomeOrBuilder()
         The outcome of the update if and only if the update has completed. If
         this response is being returned before the update has completed (e.g. due
         to the specification of a wait policy that only waits on
         UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will
         not be set.
         
        .temporal.api.update.v1.Outcome outcome = 1;
        Specified by:
        getOutcomeOrBuilder in interface PollWorkflowExecutionUpdateResponseOrBuilder