Class PollWorkflowTaskQueueResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PollWorkflowTaskQueueResponseOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:PollWorkflowTaskQueueResponse.java.pb.meta") public final class PollWorkflowTaskQueueResponse extends com.google.protobuf.GeneratedMessageV3 implements PollWorkflowTaskQueueResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse
See Also:
  • Field Details

    • TASK_TOKEN_FIELD_NUMBER

      public static final int TASK_TOKEN_FIELD_NUMBER
      See Also:
    • WORKFLOW_EXECUTION_FIELD_NUMBER

      public static final int WORKFLOW_EXECUTION_FIELD_NUMBER
      See Also:
    • WORKFLOW_TYPE_FIELD_NUMBER

      public static final int WORKFLOW_TYPE_FIELD_NUMBER
      See Also:
    • PREVIOUS_STARTED_EVENT_ID_FIELD_NUMBER

      public static final int PREVIOUS_STARTED_EVENT_ID_FIELD_NUMBER
      See Also:
    • STARTED_EVENT_ID_FIELD_NUMBER

      public static final int STARTED_EVENT_ID_FIELD_NUMBER
      See Also:
    • ATTEMPT_FIELD_NUMBER

      public static final int ATTEMPT_FIELD_NUMBER
      See Also:
    • BACKLOG_COUNT_HINT_FIELD_NUMBER

      public static final int BACKLOG_COUNT_HINT_FIELD_NUMBER
      See Also:
    • HISTORY_FIELD_NUMBER

      public static final int HISTORY_FIELD_NUMBER
      See Also:
    • NEXT_PAGE_TOKEN_FIELD_NUMBER

      public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
      See Also:
    • QUERY_FIELD_NUMBER

      public static final int QUERY_FIELD_NUMBER
      See Also:
    • WORKFLOW_EXECUTION_TASK_QUEUE_FIELD_NUMBER

      public static final int WORKFLOW_EXECUTION_TASK_QUEUE_FIELD_NUMBER
      See Also:
    • SCHEDULED_TIME_FIELD_NUMBER

      public static final int SCHEDULED_TIME_FIELD_NUMBER
      See Also:
    • STARTED_TIME_FIELD_NUMBER

      public static final int STARTED_TIME_FIELD_NUMBER
      See Also:
    • QUERIES_FIELD_NUMBER

      public static final int QUERIES_FIELD_NUMBER
      See Also:
    • MESSAGES_FIELD_NUMBER

      public static final int MESSAGES_FIELD_NUMBER
      See Also:
    • POLLER_SCALING_DECISION_FIELD_NUMBER

      public static final int POLLER_SCALING_DECISION_FIELD_NUMBER
      See Also:
    • POLLER_GROUP_ID_FIELD_NUMBER

      public static final int POLLER_GROUP_ID_FIELD_NUMBER
      See Also:
    • POLLER_GROUP_INFOS_FIELD_NUMBER

      public static final int POLLER_GROUP_INFOS_FIELD_NUMBER
      See Also:
    • POLLER_GROUPS_INFO_FIELD_NUMBER

      public static final int POLLER_GROUPS_INFO_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • internalGetFieldAccessorTable

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PollWorkflowTaskQueueResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PollWorkflowTaskQueueResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PollWorkflowTaskQueueResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PollWorkflowTaskQueueResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PollWorkflowTaskQueueResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PollWorkflowTaskQueueResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PollWorkflowTaskQueueResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PollWorkflowTaskQueueResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PollWorkflowTaskQueueResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PollWorkflowTaskQueueResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PollWorkflowTaskQueueResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PollWorkflowTaskQueueResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PollWorkflowTaskQueueResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PollWorkflowTaskQueueResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PollWorkflowTaskQueueResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static PollWorkflowTaskQueueResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PollWorkflowTaskQueueResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<PollWorkflowTaskQueueResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public PollWorkflowTaskQueueResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder