Class PollNexusTaskQueueResponse.Builder

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

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

    • getDescriptor

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

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

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

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

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

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

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

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

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

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

      public com.google.protobuf.ByteString getTaskToken()
       An opaque unique identifier for this task for correlating a completion request the embedded request.
       
      bytes task_token = 1;
      Specified by:
      getTaskToken in interface PollNexusTaskQueueResponseOrBuilder
      Returns:
      The taskToken.
    • setTaskToken

      public PollNexusTaskQueueResponse.Builder setTaskToken(com.google.protobuf.ByteString value)
       An opaque unique identifier for this task for correlating a completion request the embedded request.
       
      bytes task_token = 1;
      Parameters:
      value - The taskToken to set.
      Returns:
      This builder for chaining.
    • clearTaskToken

      public PollNexusTaskQueueResponse.Builder clearTaskToken()
       An opaque unique identifier for this task for correlating a completion request the embedded request.
       
      bytes task_token = 1;
      Returns:
      This builder for chaining.
    • hasRequest

      public boolean hasRequest()
       Embedded request as translated from the incoming frontend request.
       
      .temporal.api.nexus.v1.Request request = 2;
      Specified by:
      hasRequest in interface PollNexusTaskQueueResponseOrBuilder
      Returns:
      Whether the request field is set.
    • getRequest

      public Request getRequest()
       Embedded request as translated from the incoming frontend request.
       
      .temporal.api.nexus.v1.Request request = 2;
      Specified by:
      getRequest in interface PollNexusTaskQueueResponseOrBuilder
      Returns:
      The request.
    • setRequest

      public PollNexusTaskQueueResponse.Builder setRequest(Request value)
       Embedded request as translated from the incoming frontend request.
       
      .temporal.api.nexus.v1.Request request = 2;
    • setRequest

      public PollNexusTaskQueueResponse.Builder setRequest(Request.Builder builderForValue)
       Embedded request as translated from the incoming frontend request.
       
      .temporal.api.nexus.v1.Request request = 2;
    • mergeRequest

      public PollNexusTaskQueueResponse.Builder mergeRequest(Request value)
       Embedded request as translated from the incoming frontend request.
       
      .temporal.api.nexus.v1.Request request = 2;
    • clearRequest

      public PollNexusTaskQueueResponse.Builder clearRequest()
       Embedded request as translated from the incoming frontend request.
       
      .temporal.api.nexus.v1.Request request = 2;
    • getRequestBuilder

      public Request.Builder getRequestBuilder()
       Embedded request as translated from the incoming frontend request.
       
      .temporal.api.nexus.v1.Request request = 2;
    • getRequestOrBuilder

      public RequestOrBuilder getRequestOrBuilder()
       Embedded request as translated from the incoming frontend request.
       
      .temporal.api.nexus.v1.Request request = 2;
      Specified by:
      getRequestOrBuilder in interface PollNexusTaskQueueResponseOrBuilder
    • hasPollerScalingDecision

      public boolean hasPollerScalingDecision()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 3;
      Specified by:
      hasPollerScalingDecision in interface PollNexusTaskQueueResponseOrBuilder
      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 = 3;
      Specified by:
      getPollerScalingDecision in interface PollNexusTaskQueueResponseOrBuilder
      Returns:
      The pollerScalingDecision.
    • setPollerScalingDecision

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

      public PollNexusTaskQueueResponse.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 = 3;
    • mergePollerScalingDecision

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

      public PollNexusTaskQueueResponse.Builder clearPollerScalingDecision()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 3;
    • 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 = 3;
    • getPollerScalingDecisionOrBuilder

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

      public String getPollerGroupId()
       This poller group ID identifies the owner of the nexus task awaiting for synchronous
       response.
       Corresponding `RespondNexusTaskCompleted` and `RespondNexusTaskFailed` calls should pass this
       value for proper response routing.
       
      string poller_group_id = 4;
      Specified by:
      getPollerGroupId in interface PollNexusTaskQueueResponseOrBuilder
      Returns:
      The pollerGroupId.
    • getPollerGroupIdBytes

      public com.google.protobuf.ByteString getPollerGroupIdBytes()
       This poller group ID identifies the owner of the nexus task awaiting for synchronous
       response.
       Corresponding `RespondNexusTaskCompleted` and `RespondNexusTaskFailed` calls should pass this
       value for proper response routing.
       
      string poller_group_id = 4;
      Specified by:
      getPollerGroupIdBytes in interface PollNexusTaskQueueResponseOrBuilder
      Returns:
      The bytes for pollerGroupId.
    • setPollerGroupId

      public PollNexusTaskQueueResponse.Builder setPollerGroupId(String value)
       This poller group ID identifies the owner of the nexus task awaiting for synchronous
       response.
       Corresponding `RespondNexusTaskCompleted` and `RespondNexusTaskFailed` calls should pass this
       value for proper response routing.
       
      string poller_group_id = 4;
      Parameters:
      value - The pollerGroupId to set.
      Returns:
      This builder for chaining.
    • clearPollerGroupId

      public PollNexusTaskQueueResponse.Builder clearPollerGroupId()
       This poller group ID identifies the owner of the nexus task awaiting for synchronous
       response.
       Corresponding `RespondNexusTaskCompleted` and `RespondNexusTaskFailed` calls should pass this
       value for proper response routing.
       
      string poller_group_id = 4;
      Returns:
      This builder for chaining.
    • setPollerGroupIdBytes

      public PollNexusTaskQueueResponse.Builder setPollerGroupIdBytes(com.google.protobuf.ByteString value)
       This poller group ID identifies the owner of the nexus task awaiting for synchronous
       response.
       Corresponding `RespondNexusTaskCompleted` and `RespondNexusTaskFailed` calls should pass this
       value for proper response routing.
       
      string poller_group_id = 4;
      Parameters:
      value - The bytes for pollerGroupId to set.
      Returns:
      This builder for chaining.
    • getPollerGroupInfosList

      @Deprecated public List<PollerGroupInfo> getPollerGroupInfosList()
      Deprecated.
       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 = 5 [deprecated = true];
      Specified by:
      getPollerGroupInfosList in interface PollNexusTaskQueueResponseOrBuilder
    • getPollerGroupInfosCount

      @Deprecated public int getPollerGroupInfosCount()
      Deprecated.
       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 = 5 [deprecated = true];
      Specified by:
      getPollerGroupInfosCount in interface PollNexusTaskQueueResponseOrBuilder
    • getPollerGroupInfos

      @Deprecated public PollerGroupInfo getPollerGroupInfos(int index)
      Deprecated.
       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 = 5 [deprecated = true];
      Specified by:
      getPollerGroupInfos in interface PollNexusTaskQueueResponseOrBuilder
    • setPollerGroupInfos

      @Deprecated public PollNexusTaskQueueResponse.Builder setPollerGroupInfos(int index, PollerGroupInfo value)
      Deprecated.
       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 = 5 [deprecated = true];
    • setPollerGroupInfos

      @Deprecated public PollNexusTaskQueueResponse.Builder setPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue)
      Deprecated.
       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 = 5 [deprecated = true];
    • addPollerGroupInfos

      Deprecated.
       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 = 5 [deprecated = true];
    • addPollerGroupInfos

      @Deprecated public PollNexusTaskQueueResponse.Builder addPollerGroupInfos(int index, PollerGroupInfo value)
      Deprecated.
       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 = 5 [deprecated = true];
    • addPollerGroupInfos

      @Deprecated public PollNexusTaskQueueResponse.Builder addPollerGroupInfos(PollerGroupInfo.Builder builderForValue)
      Deprecated.
       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 = 5 [deprecated = true];
    • addPollerGroupInfos

      @Deprecated public PollNexusTaskQueueResponse.Builder addPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue)
      Deprecated.
       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 = 5 [deprecated = true];
    • addAllPollerGroupInfos

      @Deprecated public PollNexusTaskQueueResponse.Builder addAllPollerGroupInfos(Iterable<? extends PollerGroupInfo> values)
      Deprecated.
       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 = 5 [deprecated = true];
    • clearPollerGroupInfos

      @Deprecated public PollNexusTaskQueueResponse.Builder clearPollerGroupInfos()
      Deprecated.
       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 = 5 [deprecated = true];
    • removePollerGroupInfos

      @Deprecated public PollNexusTaskQueueResponse.Builder removePollerGroupInfos(int index)
      Deprecated.
       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 = 5 [deprecated = true];
    • getPollerGroupInfosBuilder

      @Deprecated public PollerGroupInfo.Builder getPollerGroupInfosBuilder(int index)
      Deprecated.
       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 = 5 [deprecated = true];
    • getPollerGroupInfosOrBuilder

      @Deprecated public PollerGroupInfoOrBuilder getPollerGroupInfosOrBuilder(int index)
      Deprecated.
       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 = 5 [deprecated = true];
      Specified by:
      getPollerGroupInfosOrBuilder in interface PollNexusTaskQueueResponseOrBuilder
    • getPollerGroupInfosOrBuilderList

      @Deprecated public List<? extends PollerGroupInfoOrBuilder> getPollerGroupInfosOrBuilderList()
      Deprecated.
       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 = 5 [deprecated = true];
      Specified by:
      getPollerGroupInfosOrBuilderList in interface PollNexusTaskQueueResponseOrBuilder
    • addPollerGroupInfosBuilder

      @Deprecated public PollerGroupInfo.Builder addPollerGroupInfosBuilder()
      Deprecated.
       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 = 5 [deprecated = true];
    • addPollerGroupInfosBuilder

      @Deprecated public PollerGroupInfo.Builder addPollerGroupInfosBuilder(int index)
      Deprecated.
       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 = 5 [deprecated = true];
    • getPollerGroupInfosBuilderList

      @Deprecated public List<PollerGroupInfo.Builder> getPollerGroupInfosBuilderList()
      Deprecated.
       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 = 5 [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 = 6;
      Specified by:
      hasPollerGroupsInfo in interface PollNexusTaskQueueResponseOrBuilder
      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 = 6;
      Specified by:
      getPollerGroupsInfo in interface PollNexusTaskQueueResponseOrBuilder
      Returns:
      The pollerGroupsInfo.
    • setPollerGroupsInfo

      public PollNexusTaskQueueResponse.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 = 6;
    • setPollerGroupsInfo

      public PollNexusTaskQueueResponse.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 = 6;
    • mergePollerGroupsInfo

      public PollNexusTaskQueueResponse.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 = 6;
    • clearPollerGroupsInfo

      public PollNexusTaskQueueResponse.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 = 6;
    • 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 = 6;
    • 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 = 6;
      Specified by:
      getPollerGroupsInfoOrBuilder in interface PollNexusTaskQueueResponseOrBuilder
    • setUnknownFields

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

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