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

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

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

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

        public StartWorkflowExecutionResponse.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<StartWorkflowExecutionResponse.Builder>
      • isInitialized

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

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

        public StartWorkflowExecutionResponse.Builder setRunIdBytes​(com.google.protobuf.ByteString value)
        string run_id = 1;
        Parameters:
        value - The bytes for runId to set.
        Returns:
        This builder for chaining.
      • hasEagerWorkflowTask

        public boolean hasEagerWorkflowTask()
         When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
         return the first workflow task to be eagerly executed.
         The caller is expected to have a worker available to process the task.
         
        .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
        Specified by:
        hasEagerWorkflowTask in interface StartWorkflowExecutionResponseOrBuilder
        Returns:
        Whether the eagerWorkflowTask field is set.
      • getEagerWorkflowTask

        public PollWorkflowTaskQueueResponse getEagerWorkflowTask()
         When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
         return the first workflow task to be eagerly executed.
         The caller is expected to have a worker available to process the task.
         
        .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
        Specified by:
        getEagerWorkflowTask in interface StartWorkflowExecutionResponseOrBuilder
        Returns:
        The eagerWorkflowTask.
      • setEagerWorkflowTask

        public StartWorkflowExecutionResponse.Builder setEagerWorkflowTask​(PollWorkflowTaskQueueResponse value)
         When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
         return the first workflow task to be eagerly executed.
         The caller is expected to have a worker available to process the task.
         
        .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
      • setEagerWorkflowTask

        public StartWorkflowExecutionResponse.Builder setEagerWorkflowTask​(PollWorkflowTaskQueueResponse.Builder builderForValue)
         When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
         return the first workflow task to be eagerly executed.
         The caller is expected to have a worker available to process the task.
         
        .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
      • mergeEagerWorkflowTask

        public StartWorkflowExecutionResponse.Builder mergeEagerWorkflowTask​(PollWorkflowTaskQueueResponse value)
         When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
         return the first workflow task to be eagerly executed.
         The caller is expected to have a worker available to process the task.
         
        .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
      • clearEagerWorkflowTask

        public StartWorkflowExecutionResponse.Builder clearEagerWorkflowTask()
         When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
         return the first workflow task to be eagerly executed.
         The caller is expected to have a worker available to process the task.
         
        .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
      • getEagerWorkflowTaskBuilder

        public PollWorkflowTaskQueueResponse.Builder getEagerWorkflowTaskBuilder()
         When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
         return the first workflow task to be eagerly executed.
         The caller is expected to have a worker available to process the task.
         
        .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
      • getEagerWorkflowTaskOrBuilder

        public PollWorkflowTaskQueueResponseOrBuilder getEagerWorkflowTaskOrBuilder()
         When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
         return the first workflow task to be eagerly executed.
         The caller is expected to have a worker available to process the task.
         
        .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
        Specified by:
        getEagerWorkflowTaskOrBuilder in interface StartWorkflowExecutionResponseOrBuilder