Class PollWorkflowTaskQueueResponse.Builder

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

public static final class PollWorkflowTaskQueueResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder> implements PollWorkflowTaskQueueResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.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<PollWorkflowTaskQueueResponse.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<PollWorkflowTaskQueueResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

      public PollWorkflowTaskQueueResponse.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<PollWorkflowTaskQueueResponse.Builder>
      Throws:
      IOException
    • getTaskToken

      public com.google.protobuf.ByteString getTaskToken()
       A unique identifier for this task
       
      bytes task_token = 1;
      Specified by:
      getTaskToken in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The taskToken.
    • setTaskToken

      public PollWorkflowTaskQueueResponse.Builder setTaskToken(com.google.protobuf.ByteString value)
       A unique identifier for this task
       
      bytes task_token = 1;
      Parameters:
      value - The taskToken to set.
      Returns:
      This builder for chaining.
    • clearTaskToken

      public PollWorkflowTaskQueueResponse.Builder clearTaskToken()
       A unique identifier for this task
       
      bytes task_token = 1;
      Returns:
      This builder for chaining.
    • hasWorkflowExecution

      public boolean hasWorkflowExecution()
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
      Specified by:
      hasWorkflowExecution in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      Whether the workflowExecution field is set.
    • getWorkflowExecution

      public WorkflowExecution getWorkflowExecution()
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
      Specified by:
      getWorkflowExecution in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The workflowExecution.
    • setWorkflowExecution

      public PollWorkflowTaskQueueResponse.Builder setWorkflowExecution(WorkflowExecution value)
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
    • setWorkflowExecution

      public PollWorkflowTaskQueueResponse.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
    • mergeWorkflowExecution

      public PollWorkflowTaskQueueResponse.Builder mergeWorkflowExecution(WorkflowExecution value)
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
    • clearWorkflowExecution

      public PollWorkflowTaskQueueResponse.Builder clearWorkflowExecution()
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
    • getWorkflowExecutionBuilder

      public WorkflowExecution.Builder getWorkflowExecutionBuilder()
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
    • getWorkflowExecutionOrBuilder

      public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
      Specified by:
      getWorkflowExecutionOrBuilder in interface PollWorkflowTaskQueueResponseOrBuilder
    • hasWorkflowType

      public boolean hasWorkflowType()
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
      Specified by:
      hasWorkflowType in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      Whether the workflowType field is set.
    • getWorkflowType

      public WorkflowType getWorkflowType()
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
      Specified by:
      getWorkflowType in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The workflowType.
    • setWorkflowType

      public PollWorkflowTaskQueueResponse.Builder setWorkflowType(WorkflowType value)
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
    • setWorkflowType

      public PollWorkflowTaskQueueResponse.Builder setWorkflowType(WorkflowType.Builder builderForValue)
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
    • mergeWorkflowType

      public PollWorkflowTaskQueueResponse.Builder mergeWorkflowType(WorkflowType value)
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
    • clearWorkflowType

      public PollWorkflowTaskQueueResponse.Builder clearWorkflowType()
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
    • getWorkflowTypeBuilder

      public WorkflowType.Builder getWorkflowTypeBuilder()
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
    • getWorkflowTypeOrBuilder

      public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
      Specified by:
      getWorkflowTypeOrBuilder in interface PollWorkflowTaskQueueResponseOrBuilder
    • getPreviousStartedEventId

      public long getPreviousStartedEventId()
       The last workflow task started event which was processed by some worker for this execution.
       Will be zero if no task has ever started.
       
      int64 previous_started_event_id = 4;
      Specified by:
      getPreviousStartedEventId in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The previousStartedEventId.
    • setPreviousStartedEventId

      public PollWorkflowTaskQueueResponse.Builder setPreviousStartedEventId(long value)
       The last workflow task started event which was processed by some worker for this execution.
       Will be zero if no task has ever started.
       
      int64 previous_started_event_id = 4;
      Parameters:
      value - The previousStartedEventId to set.
      Returns:
      This builder for chaining.
    • clearPreviousStartedEventId

      public PollWorkflowTaskQueueResponse.Builder clearPreviousStartedEventId()
       The last workflow task started event which was processed by some worker for this execution.
       Will be zero if no task has ever started.
       
      int64 previous_started_event_id = 4;
      Returns:
      This builder for chaining.
    • getStartedEventId

      public long getStartedEventId()
       The id of the most recent workflow task started event, which will have been generated as a
       result of this poll request being served. Will be zero if the task
       does not contain any events which would advance history (no new WFT started).
       Currently this can happen for queries.
       
      int64 started_event_id = 5;
      Specified by:
      getStartedEventId in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The startedEventId.
    • setStartedEventId

      public PollWorkflowTaskQueueResponse.Builder setStartedEventId(long value)
       The id of the most recent workflow task started event, which will have been generated as a
       result of this poll request being served. Will be zero if the task
       does not contain any events which would advance history (no new WFT started).
       Currently this can happen for queries.
       
      int64 started_event_id = 5;
      Parameters:
      value - The startedEventId to set.
      Returns:
      This builder for chaining.
    • clearStartedEventId

      public PollWorkflowTaskQueueResponse.Builder clearStartedEventId()
       The id of the most recent workflow task started event, which will have been generated as a
       result of this poll request being served. Will be zero if the task
       does not contain any events which would advance history (no new WFT started).
       Currently this can happen for queries.
       
      int64 started_event_id = 5;
      Returns:
      This builder for chaining.
    • getAttempt

      public int getAttempt()
       Starting at 1, the number of attempts to complete this task by any worker.
       
      int32 attempt = 6;
      Specified by:
      getAttempt in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The attempt.
    • setAttempt

      public PollWorkflowTaskQueueResponse.Builder setAttempt(int value)
       Starting at 1, the number of attempts to complete this task by any worker.
       
      int32 attempt = 6;
      Parameters:
      value - The attempt to set.
      Returns:
      This builder for chaining.
    • clearAttempt

       Starting at 1, the number of attempts to complete this task by any worker.
       
      int32 attempt = 6;
      Returns:
      This builder for chaining.
    • getBacklogCountHint

      public long getBacklogCountHint()
       A hint that there are more tasks already present in this task queue
       partition. Can be used to prioritize draining a sticky queue.
      
       Specifically, the returned number is the number of tasks remaining in
       the in-memory buffer for this partition, which is currently capped at
       1000. Because sticky queues only have one partition, this number is
       more useful when draining them. Normal queues, typically having more than one
       partition, will return a number representing only some portion of the
       overall backlog. Subsequent RPCs may not hit the same partition as
       this call.
       
      int64 backlog_count_hint = 7;
      Specified by:
      getBacklogCountHint in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The backlogCountHint.
    • setBacklogCountHint

      public PollWorkflowTaskQueueResponse.Builder setBacklogCountHint(long value)
       A hint that there are more tasks already present in this task queue
       partition. Can be used to prioritize draining a sticky queue.
      
       Specifically, the returned number is the number of tasks remaining in
       the in-memory buffer for this partition, which is currently capped at
       1000. Because sticky queues only have one partition, this number is
       more useful when draining them. Normal queues, typically having more than one
       partition, will return a number representing only some portion of the
       overall backlog. Subsequent RPCs may not hit the same partition as
       this call.
       
      int64 backlog_count_hint = 7;
      Parameters:
      value - The backlogCountHint to set.
      Returns:
      This builder for chaining.
    • clearBacklogCountHint

      public PollWorkflowTaskQueueResponse.Builder clearBacklogCountHint()
       A hint that there are more tasks already present in this task queue
       partition. Can be used to prioritize draining a sticky queue.
      
       Specifically, the returned number is the number of tasks remaining in
       the in-memory buffer for this partition, which is currently capped at
       1000. Because sticky queues only have one partition, this number is
       more useful when draining them. Normal queues, typically having more than one
       partition, will return a number representing only some portion of the
       overall backlog. Subsequent RPCs may not hit the same partition as
       this call.
       
      int64 backlog_count_hint = 7;
      Returns:
      This builder for chaining.
    • hasHistory

      public boolean hasHistory()
       The history for this workflow, which will either be complete or partial. Partial histories
       are sent to workers who have signaled that they are using a sticky queue when completing
       a workflow task.
       
      .temporal.api.history.v1.History history = 8;
      Specified by:
      hasHistory in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      Whether the history field is set.
    • getHistory

      public History getHistory()
       The history for this workflow, which will either be complete or partial. Partial histories
       are sent to workers who have signaled that they are using a sticky queue when completing
       a workflow task.
       
      .temporal.api.history.v1.History history = 8;
      Specified by:
      getHistory in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The history.
    • setHistory

       The history for this workflow, which will either be complete or partial. Partial histories
       are sent to workers who have signaled that they are using a sticky queue when completing
       a workflow task.
       
      .temporal.api.history.v1.History history = 8;
    • setHistory

      public PollWorkflowTaskQueueResponse.Builder setHistory(History.Builder builderForValue)
       The history for this workflow, which will either be complete or partial. Partial histories
       are sent to workers who have signaled that they are using a sticky queue when completing
       a workflow task.
       
      .temporal.api.history.v1.History history = 8;
    • mergeHistory

      public PollWorkflowTaskQueueResponse.Builder mergeHistory(History value)
       The history for this workflow, which will either be complete or partial. Partial histories
       are sent to workers who have signaled that they are using a sticky queue when completing
       a workflow task.
       
      .temporal.api.history.v1.History history = 8;
    • clearHistory

       The history for this workflow, which will either be complete or partial. Partial histories
       are sent to workers who have signaled that they are using a sticky queue when completing
       a workflow task.
       
      .temporal.api.history.v1.History history = 8;
    • getHistoryBuilder

      public History.Builder getHistoryBuilder()
       The history for this workflow, which will either be complete or partial. Partial histories
       are sent to workers who have signaled that they are using a sticky queue when completing
       a workflow task.
       
      .temporal.api.history.v1.History history = 8;
    • getHistoryOrBuilder

      public HistoryOrBuilder getHistoryOrBuilder()
       The history for this workflow, which will either be complete or partial. Partial histories
       are sent to workers who have signaled that they are using a sticky queue when completing
       a workflow task.
       
      .temporal.api.history.v1.History history = 8;
      Specified by:
      getHistoryOrBuilder in interface PollWorkflowTaskQueueResponseOrBuilder
    • getNextPageToken

      public com.google.protobuf.ByteString getNextPageToken()
       Will be set if there are more history events than were included in this response. Such events
       should be fetched via `GetWorkflowExecutionHistory`.
       
      bytes next_page_token = 9;
      Specified by:
      getNextPageToken in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The nextPageToken.
    • setNextPageToken

      public PollWorkflowTaskQueueResponse.Builder setNextPageToken(com.google.protobuf.ByteString value)
       Will be set if there are more history events than were included in this response. Such events
       should be fetched via `GetWorkflowExecutionHistory`.
       
      bytes next_page_token = 9;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public PollWorkflowTaskQueueResponse.Builder clearNextPageToken()
       Will be set if there are more history events than were included in this response. Such events
       should be fetched via `GetWorkflowExecutionHistory`.
       
      bytes next_page_token = 9;
      Returns:
      This builder for chaining.
    • hasQuery

      public boolean hasQuery()
       Legacy queries appear in this field. The query must be responded to via
       `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
       closed workflows) then the `history` field will be populated with the entire history. It
       may also be populated if this task originates on a non-sticky queue.
       
      .temporal.api.query.v1.WorkflowQuery query = 10;
      Specified by:
      hasQuery in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      Whether the query field is set.
    • getQuery

      public WorkflowQuery getQuery()
       Legacy queries appear in this field. The query must be responded to via
       `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
       closed workflows) then the `history` field will be populated with the entire history. It
       may also be populated if this task originates on a non-sticky queue.
       
      .temporal.api.query.v1.WorkflowQuery query = 10;
      Specified by:
      getQuery in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The query.
    • setQuery

       Legacy queries appear in this field. The query must be responded to via
       `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
       closed workflows) then the `history` field will be populated with the entire history. It
       may also be populated if this task originates on a non-sticky queue.
       
      .temporal.api.query.v1.WorkflowQuery query = 10;
    • setQuery

       Legacy queries appear in this field. The query must be responded to via
       `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
       closed workflows) then the `history` field will be populated with the entire history. It
       may also be populated if this task originates on a non-sticky queue.
       
      .temporal.api.query.v1.WorkflowQuery query = 10;
    • mergeQuery

       Legacy queries appear in this field. The query must be responded to via
       `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
       closed workflows) then the `history` field will be populated with the entire history. It
       may also be populated if this task originates on a non-sticky queue.
       
      .temporal.api.query.v1.WorkflowQuery query = 10;
    • clearQuery

       Legacy queries appear in this field. The query must be responded to via
       `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
       closed workflows) then the `history` field will be populated with the entire history. It
       may also be populated if this task originates on a non-sticky queue.
       
      .temporal.api.query.v1.WorkflowQuery query = 10;
    • getQueryBuilder

      public WorkflowQuery.Builder getQueryBuilder()
       Legacy queries appear in this field. The query must be responded to via
       `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
       closed workflows) then the `history` field will be populated with the entire history. It
       may also be populated if this task originates on a non-sticky queue.
       
      .temporal.api.query.v1.WorkflowQuery query = 10;
    • getQueryOrBuilder

      public WorkflowQueryOrBuilder getQueryOrBuilder()
       Legacy queries appear in this field. The query must be responded to via
       `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
       closed workflows) then the `history` field will be populated with the entire history. It
       may also be populated if this task originates on a non-sticky queue.
       
      .temporal.api.query.v1.WorkflowQuery query = 10;
      Specified by:
      getQueryOrBuilder in interface PollWorkflowTaskQueueResponseOrBuilder
    • hasWorkflowExecutionTaskQueue

      public boolean hasWorkflowExecutionTaskQueue()
       The task queue this task originated from, which will always be the original non-sticky name
       for the queue, even if this response came from polling a sticky queue.
       
      .temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
      Specified by:
      hasWorkflowExecutionTaskQueue in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      Whether the workflowExecutionTaskQueue field is set.
    • getWorkflowExecutionTaskQueue

      public TaskQueue getWorkflowExecutionTaskQueue()
       The task queue this task originated from, which will always be the original non-sticky name
       for the queue, even if this response came from polling a sticky queue.
       
      .temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
      Specified by:
      getWorkflowExecutionTaskQueue in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The workflowExecutionTaskQueue.
    • setWorkflowExecutionTaskQueue

      public PollWorkflowTaskQueueResponse.Builder setWorkflowExecutionTaskQueue(TaskQueue value)
       The task queue this task originated from, which will always be the original non-sticky name
       for the queue, even if this response came from polling a sticky queue.
       
      .temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
    • setWorkflowExecutionTaskQueue

      public PollWorkflowTaskQueueResponse.Builder setWorkflowExecutionTaskQueue(TaskQueue.Builder builderForValue)
       The task queue this task originated from, which will always be the original non-sticky name
       for the queue, even if this response came from polling a sticky queue.
       
      .temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
    • mergeWorkflowExecutionTaskQueue

      public PollWorkflowTaskQueueResponse.Builder mergeWorkflowExecutionTaskQueue(TaskQueue value)
       The task queue this task originated from, which will always be the original non-sticky name
       for the queue, even if this response came from polling a sticky queue.
       
      .temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
    • clearWorkflowExecutionTaskQueue

      public PollWorkflowTaskQueueResponse.Builder clearWorkflowExecutionTaskQueue()
       The task queue this task originated from, which will always be the original non-sticky name
       for the queue, even if this response came from polling a sticky queue.
       
      .temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
    • getWorkflowExecutionTaskQueueBuilder

      public TaskQueue.Builder getWorkflowExecutionTaskQueueBuilder()
       The task queue this task originated from, which will always be the original non-sticky name
       for the queue, even if this response came from polling a sticky queue.
       
      .temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
    • getWorkflowExecutionTaskQueueOrBuilder

      public TaskQueueOrBuilder getWorkflowExecutionTaskQueueOrBuilder()
       The task queue this task originated from, which will always be the original non-sticky name
       for the queue, even if this response came from polling a sticky queue.
       
      .temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
      Specified by:
      getWorkflowExecutionTaskQueueOrBuilder in interface PollWorkflowTaskQueueResponseOrBuilder
    • hasScheduledTime

      public boolean hasScheduledTime()
       When this task was scheduled by the server
       
      .google.protobuf.Timestamp scheduled_time = 12;
      Specified by:
      hasScheduledTime in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      Whether the scheduledTime field is set.
    • getScheduledTime

      public com.google.protobuf.Timestamp getScheduledTime()
       When this task was scheduled by the server
       
      .google.protobuf.Timestamp scheduled_time = 12;
      Specified by:
      getScheduledTime in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The scheduledTime.
    • setScheduledTime

      public PollWorkflowTaskQueueResponse.Builder setScheduledTime(com.google.protobuf.Timestamp value)
       When this task was scheduled by the server
       
      .google.protobuf.Timestamp scheduled_time = 12;
    • setScheduledTime

      public PollWorkflowTaskQueueResponse.Builder setScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)
       When this task was scheduled by the server
       
      .google.protobuf.Timestamp scheduled_time = 12;
    • mergeScheduledTime

      public PollWorkflowTaskQueueResponse.Builder mergeScheduledTime(com.google.protobuf.Timestamp value)
       When this task was scheduled by the server
       
      .google.protobuf.Timestamp scheduled_time = 12;
    • clearScheduledTime

      public PollWorkflowTaskQueueResponse.Builder clearScheduledTime()
       When this task was scheduled by the server
       
      .google.protobuf.Timestamp scheduled_time = 12;
    • getScheduledTimeBuilder

      public com.google.protobuf.Timestamp.Builder getScheduledTimeBuilder()
       When this task was scheduled by the server
       
      .google.protobuf.Timestamp scheduled_time = 12;
    • getScheduledTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
       When this task was scheduled by the server
       
      .google.protobuf.Timestamp scheduled_time = 12;
      Specified by:
      getScheduledTimeOrBuilder in interface PollWorkflowTaskQueueResponseOrBuilder
    • hasStartedTime

      public boolean hasStartedTime()
       When the current workflow task started event was generated, meaning the current attempt.
       
      .google.protobuf.Timestamp started_time = 13;
      Specified by:
      hasStartedTime in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      Whether the startedTime field is set.
    • getStartedTime

      public com.google.protobuf.Timestamp getStartedTime()
       When the current workflow task started event was generated, meaning the current attempt.
       
      .google.protobuf.Timestamp started_time = 13;
      Specified by:
      getStartedTime in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The startedTime.
    • setStartedTime

      public PollWorkflowTaskQueueResponse.Builder setStartedTime(com.google.protobuf.Timestamp value)
       When the current workflow task started event was generated, meaning the current attempt.
       
      .google.protobuf.Timestamp started_time = 13;
    • setStartedTime

      public PollWorkflowTaskQueueResponse.Builder setStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)
       When the current workflow task started event was generated, meaning the current attempt.
       
      .google.protobuf.Timestamp started_time = 13;
    • mergeStartedTime

      public PollWorkflowTaskQueueResponse.Builder mergeStartedTime(com.google.protobuf.Timestamp value)
       When the current workflow task started event was generated, meaning the current attempt.
       
      .google.protobuf.Timestamp started_time = 13;
    • clearStartedTime

      public PollWorkflowTaskQueueResponse.Builder clearStartedTime()
       When the current workflow task started event was generated, meaning the current attempt.
       
      .google.protobuf.Timestamp started_time = 13;
    • getStartedTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartedTimeBuilder()
       When the current workflow task started event was generated, meaning the current attempt.
       
      .google.protobuf.Timestamp started_time = 13;
    • getStartedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()
       When the current workflow task started event was generated, meaning the current attempt.
       
      .google.protobuf.Timestamp started_time = 13;
      Specified by:
      getStartedTimeOrBuilder in interface PollWorkflowTaskQueueResponseOrBuilder
    • getQueriesCount

      public int getQueriesCount()
      Description copied from interface: PollWorkflowTaskQueueResponseOrBuilder
       Queries that should be executed after applying the history in this task. Responses should be
       attached to `RespondWorkflowTaskCompletedRequest::query_results`
       
      map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
      Specified by:
      getQueriesCount in interface PollWorkflowTaskQueueResponseOrBuilder
    • containsQueries

      public boolean containsQueries(String key)
       Queries that should be executed after applying the history in this task. Responses should be
       attached to `RespondWorkflowTaskCompletedRequest::query_results`
       
      map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
      Specified by:
      containsQueries in interface PollWorkflowTaskQueueResponseOrBuilder
    • getQueries

      @Deprecated public Map<String,WorkflowQuery> getQueries()
      Deprecated.
      Use getQueriesMap() instead.
      Specified by:
      getQueries in interface PollWorkflowTaskQueueResponseOrBuilder
    • getQueriesMap

      public Map<String,WorkflowQuery> getQueriesMap()
       Queries that should be executed after applying the history in this task. Responses should be
       attached to `RespondWorkflowTaskCompletedRequest::query_results`
       
      map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
      Specified by:
      getQueriesMap in interface PollWorkflowTaskQueueResponseOrBuilder
    • getQueriesOrDefault

      public WorkflowQuery getQueriesOrDefault(String key, WorkflowQuery defaultValue)
       Queries that should be executed after applying the history in this task. Responses should be
       attached to `RespondWorkflowTaskCompletedRequest::query_results`
       
      map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
      Specified by:
      getQueriesOrDefault in interface PollWorkflowTaskQueueResponseOrBuilder
    • getQueriesOrThrow

      public WorkflowQuery getQueriesOrThrow(String key)
       Queries that should be executed after applying the history in this task. Responses should be
       attached to `RespondWorkflowTaskCompletedRequest::query_results`
       
      map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
      Specified by:
      getQueriesOrThrow in interface PollWorkflowTaskQueueResponseOrBuilder
    • clearQueries

    • removeQueries

      public PollWorkflowTaskQueueResponse.Builder removeQueries(String key)
       Queries that should be executed after applying the history in this task. Responses should be
       attached to `RespondWorkflowTaskCompletedRequest::query_results`
       
      map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
    • getMutableQueries

      @Deprecated public Map<String,WorkflowQuery> getMutableQueries()
      Deprecated.
      Use alternate mutation accessors instead.
    • putQueries

       Queries that should be executed after applying the history in this task. Responses should be
       attached to `RespondWorkflowTaskCompletedRequest::query_results`
       
      map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
    • putAllQueries

       Queries that should be executed after applying the history in this task. Responses should be
       attached to `RespondWorkflowTaskCompletedRequest::query_results`
       
      map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
    • putQueriesBuilderIfAbsent

      public WorkflowQuery.Builder putQueriesBuilderIfAbsent(String key)
       Queries that should be executed after applying the history in this task. Responses should be
       attached to `RespondWorkflowTaskCompletedRequest::query_results`
       
      map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
    • getMessagesList

      public List<Message> getMessagesList()
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
      Specified by:
      getMessagesList in interface PollWorkflowTaskQueueResponseOrBuilder
    • getMessagesCount

      public int getMessagesCount()
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
      Specified by:
      getMessagesCount in interface PollWorkflowTaskQueueResponseOrBuilder
    • getMessages

      public Message getMessages(int index)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
      Specified by:
      getMessages in interface PollWorkflowTaskQueueResponseOrBuilder
    • setMessages

      public PollWorkflowTaskQueueResponse.Builder setMessages(int index, Message value)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • setMessages

      public PollWorkflowTaskQueueResponse.Builder setMessages(int index, Message.Builder builderForValue)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • addMessages

      public PollWorkflowTaskQueueResponse.Builder addMessages(Message value)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • addMessages

      public PollWorkflowTaskQueueResponse.Builder addMessages(int index, Message value)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • addMessages

      public PollWorkflowTaskQueueResponse.Builder addMessages(Message.Builder builderForValue)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • addMessages

      public PollWorkflowTaskQueueResponse.Builder addMessages(int index, Message.Builder builderForValue)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • addAllMessages

      public PollWorkflowTaskQueueResponse.Builder addAllMessages(Iterable<? extends Message> values)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • clearMessages

      public PollWorkflowTaskQueueResponse.Builder clearMessages()
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • removeMessages

      public PollWorkflowTaskQueueResponse.Builder removeMessages(int index)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • getMessagesBuilder

      public Message.Builder getMessagesBuilder(int index)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • getMessagesOrBuilder

      public MessageOrBuilder getMessagesOrBuilder(int index)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
      Specified by:
      getMessagesOrBuilder in interface PollWorkflowTaskQueueResponseOrBuilder
    • getMessagesOrBuilderList

      public List<? extends MessageOrBuilder> getMessagesOrBuilderList()
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
      Specified by:
      getMessagesOrBuilderList in interface PollWorkflowTaskQueueResponseOrBuilder
    • addMessagesBuilder

      public Message.Builder addMessagesBuilder()
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • addMessagesBuilder

      public Message.Builder addMessagesBuilder(int index)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • getMessagesBuilderList

      public List<Message.Builder> getMessagesBuilderList()
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 15;
    • hasPollerScalingDecision

      public boolean hasPollerScalingDecision()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
      Specified by:
      hasPollerScalingDecision in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      Whether the pollerScalingDecision field is set.
    • getPollerScalingDecision

      public PollerScalingDecision getPollerScalingDecision()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
      Specified by:
      getPollerScalingDecision in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The pollerScalingDecision.
    • setPollerScalingDecision

      public PollWorkflowTaskQueueResponse.Builder setPollerScalingDecision(PollerScalingDecision value)
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
    • setPollerScalingDecision

      public PollWorkflowTaskQueueResponse.Builder setPollerScalingDecision(PollerScalingDecision.Builder builderForValue)
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
    • mergePollerScalingDecision

      public PollWorkflowTaskQueueResponse.Builder mergePollerScalingDecision(PollerScalingDecision value)
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
    • clearPollerScalingDecision

      public PollWorkflowTaskQueueResponse.Builder clearPollerScalingDecision()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
    • getPollerScalingDecisionBuilder

      public PollerScalingDecision.Builder getPollerScalingDecisionBuilder()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
    • getPollerScalingDecisionOrBuilder

      public PollerScalingDecisionOrBuilder getPollerScalingDecisionOrBuilder()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
      Specified by:
      getPollerScalingDecisionOrBuilder in interface PollWorkflowTaskQueueResponseOrBuilder
    • getPollerGroupId

      public String getPollerGroupId()
       This poller group ID identifies the owner of the workflow task awaiting for query response.
       Corresponding RespondQueryTaskCompleted should pass this value for proper routing.
       
      string poller_group_id = 17;
      Specified by:
      getPollerGroupId in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The pollerGroupId.
    • getPollerGroupIdBytes

      public com.google.protobuf.ByteString getPollerGroupIdBytes()
       This poller group ID identifies the owner of the workflow task awaiting for query response.
       Corresponding RespondQueryTaskCompleted should pass this value for proper routing.
       
      string poller_group_id = 17;
      Specified by:
      getPollerGroupIdBytes in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The bytes for pollerGroupId.
    • setPollerGroupId

      public PollWorkflowTaskQueueResponse.Builder setPollerGroupId(String value)
       This poller group ID identifies the owner of the workflow task awaiting for query response.
       Corresponding RespondQueryTaskCompleted should pass this value for proper routing.
       
      string poller_group_id = 17;
      Parameters:
      value - The pollerGroupId to set.
      Returns:
      This builder for chaining.
    • clearPollerGroupId

      public PollWorkflowTaskQueueResponse.Builder clearPollerGroupId()
       This poller group ID identifies the owner of the workflow task awaiting for query response.
       Corresponding RespondQueryTaskCompleted should pass this value for proper routing.
       
      string poller_group_id = 17;
      Returns:
      This builder for chaining.
    • setPollerGroupIdBytes

      public PollWorkflowTaskQueueResponse.Builder setPollerGroupIdBytes(com.google.protobuf.ByteString value)
       This poller group ID identifies the owner of the workflow task awaiting for query response.
       Corresponding RespondQueryTaskCompleted should pass this value for proper routing.
       
      string poller_group_id = 17;
      Parameters:
      value - The bytes for pollerGroupId to set.
      Returns:
      This builder for chaining.
    • getPollerGroupInfosList

      @Deprecated public List<PollerGroupInfo> getPollerGroupInfosList()
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
      Specified by:
      getPollerGroupInfosList in interface PollWorkflowTaskQueueResponseOrBuilder
    • getPollerGroupInfosCount

      @Deprecated public int getPollerGroupInfosCount()
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
      Specified by:
      getPollerGroupInfosCount in interface PollWorkflowTaskQueueResponseOrBuilder
    • getPollerGroupInfos

      @Deprecated public PollerGroupInfo getPollerGroupInfos(int index)
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
      Specified by:
      getPollerGroupInfos in interface PollWorkflowTaskQueueResponseOrBuilder
    • setPollerGroupInfos

      @Deprecated public PollWorkflowTaskQueueResponse.Builder setPollerGroupInfos(int index, PollerGroupInfo value)
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • setPollerGroupInfos

      @Deprecated public PollWorkflowTaskQueueResponse.Builder setPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue)
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • addPollerGroupInfos

      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • addPollerGroupInfos

      @Deprecated public PollWorkflowTaskQueueResponse.Builder addPollerGroupInfos(int index, PollerGroupInfo value)
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • addPollerGroupInfos

      @Deprecated public PollWorkflowTaskQueueResponse.Builder addPollerGroupInfos(PollerGroupInfo.Builder builderForValue)
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • addPollerGroupInfos

      @Deprecated public PollWorkflowTaskQueueResponse.Builder addPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue)
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • addAllPollerGroupInfos

      @Deprecated public PollWorkflowTaskQueueResponse.Builder addAllPollerGroupInfos(Iterable<? extends PollerGroupInfo> values)
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • clearPollerGroupInfos

      @Deprecated public PollWorkflowTaskQueueResponse.Builder clearPollerGroupInfos()
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • removePollerGroupInfos

      @Deprecated public PollWorkflowTaskQueueResponse.Builder removePollerGroupInfos(int index)
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • getPollerGroupInfosBuilder

      @Deprecated public PollerGroupInfo.Builder getPollerGroupInfosBuilder(int index)
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • getPollerGroupInfosOrBuilder

      @Deprecated public PollerGroupInfoOrBuilder getPollerGroupInfosOrBuilder(int index)
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
      Specified by:
      getPollerGroupInfosOrBuilder in interface PollWorkflowTaskQueueResponseOrBuilder
    • getPollerGroupInfosOrBuilderList

      @Deprecated public List<? extends PollerGroupInfoOrBuilder> getPollerGroupInfosOrBuilderList()
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
      Specified by:
      getPollerGroupInfosOrBuilderList in interface PollWorkflowTaskQueueResponseOrBuilder
    • addPollerGroupInfosBuilder

      @Deprecated public PollerGroupInfo.Builder addPollerGroupInfosBuilder()
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • addPollerGroupInfosBuilder

      @Deprecated public PollerGroupInfo.Builder addPollerGroupInfosBuilder(int index)
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • getPollerGroupInfosBuilderList

      @Deprecated public List<PollerGroupInfo.Builder> getPollerGroupInfosBuilderList()
      Deprecated.
       Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
       ignore stale updates.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 18 [deprecated = true];
    • hasPollerGroupsInfo

      public boolean hasPollerGroupsInfo()
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 19;
      Specified by:
      hasPollerGroupsInfo in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      Whether the pollerGroupsInfo field is set.
    • getPollerGroupsInfo

      public PollerGroupsInfo getPollerGroupsInfo()
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 19;
      Specified by:
      getPollerGroupsInfo in interface PollWorkflowTaskQueueResponseOrBuilder
      Returns:
      The pollerGroupsInfo.
    • setPollerGroupsInfo

      public PollWorkflowTaskQueueResponse.Builder setPollerGroupsInfo(PollerGroupsInfo value)
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 19;
    • setPollerGroupsInfo

      public PollWorkflowTaskQueueResponse.Builder setPollerGroupsInfo(PollerGroupsInfo.Builder builderForValue)
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 19;
    • mergePollerGroupsInfo

      public PollWorkflowTaskQueueResponse.Builder mergePollerGroupsInfo(PollerGroupsInfo value)
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 19;
    • clearPollerGroupsInfo

      public PollWorkflowTaskQueueResponse.Builder clearPollerGroupsInfo()
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 19;
    • getPollerGroupsInfoBuilder

      public PollerGroupsInfo.Builder getPollerGroupsInfoBuilder()
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 19;
    • getPollerGroupsInfoOrBuilder

      public PollerGroupsInfoOrBuilder getPollerGroupsInfoOrBuilder()
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 19;
      Specified by:
      getPollerGroupsInfoOrBuilder in interface PollWorkflowTaskQueueResponseOrBuilder
    • setUnknownFields

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

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