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 Summary
Modifier and TypeMethodDescriptionaddAllPollerGroupInfos(Iterable<? extends PollerGroupInfo> values) Deprecated.addPollerGroupInfos(int index, PollerGroupInfo value) Deprecated.addPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue) Deprecated.Deprecated.addPollerGroupInfos(PollerGroupInfo.Builder builderForValue) Deprecated.Deprecated.addPollerGroupInfosBuilder(int index) Deprecated.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) This poller group ID identifies the owner of the nexus task awaiting for synchronous response.Deprecated.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.Server-advised information the SDK may use to adjust its poller count.Embedded request as translated from the incoming frontend request.An opaque unique identifier for this task for correlating a completion request the embedded request.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThis poller group ID identifies the owner of the nexus task awaiting for synchronous response.com.google.protobuf.ByteStringThis poller group ID identifies the owner of the nexus task awaiting for synchronous response.getPollerGroupInfos(int index) Deprecated.getPollerGroupInfosBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getPollerGroupInfosOrBuilder(int index) Deprecated.List<? extends PollerGroupInfoOrBuilder> Deprecated.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.Server-advised information the SDK may use to adjust its poller count.Server-advised information the SDK may use to adjust its poller count.Server-advised information the SDK may use to adjust its poller count.Embedded request as translated from the incoming frontend request.Embedded request as translated from the incoming frontend request.Embedded request as translated from the incoming frontend request.com.google.protobuf.ByteStringAn opaque unique identifier for this task for correlating a completion request the embedded request.booleanThe weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.booleanServer-advised information the SDK may use to adjust its poller count.booleanEmbedded request as translated from the incoming frontend request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.Server-advised information the SDK may use to adjust its poller count.mergeRequest(Request value) Embedded request as translated from the incoming frontend request.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removePollerGroupInfos(int index) Deprecated.setPollerGroupId(String value) This poller group ID identifies the owner of the nexus task awaiting for synchronous response.setPollerGroupIdBytes(com.google.protobuf.ByteString value) This poller group ID identifies the owner of the nexus task awaiting for synchronous response.setPollerGroupInfos(int index, PollerGroupInfo value) Deprecated.setPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue) Deprecated.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.setPollerGroupsInfo(PollerGroupsInfo.Builder builderForValue) The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.Server-advised information the SDK may use to adjust its poller count.setPollerScalingDecision(PollerScalingDecision.Builder builderForValue) Server-advised information the SDK may use to adjust its poller count.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequest(Request value) Embedded request as translated from the incoming frontend request.setRequest(Request.Builder builderForValue) Embedded request as translated from the incoming frontend request.setTaskToken(com.google.protobuf.ByteString value) An opaque unique identifier for this task for correlating a completion request the embedded request.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PollNexusTaskQueueResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PollNexusTaskQueueResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PollNexusTaskQueueResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PollNexusTaskQueueResponse.Builder>
-
setField
public PollNexusTaskQueueResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollNexusTaskQueueResponse.Builder>
-
clearField
public PollNexusTaskQueueResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollNexusTaskQueueResponse.Builder>
-
clearOneof
public PollNexusTaskQueueResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PollNexusTaskQueueResponse.Builder>
-
setRepeatedField
public PollNexusTaskQueueResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollNexusTaskQueueResponse.Builder>
-
addRepeatedField
public PollNexusTaskQueueResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollNexusTaskQueueResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PollNexusTaskQueueResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getTaskTokenin interfacePollNexusTaskQueueResponseOrBuilder- Returns:
- The taskToken.
-
setTaskToken
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
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:
hasRequestin interfacePollNexusTaskQueueResponseOrBuilder- Returns:
- Whether the request field is set.
-
getRequest
Embedded request as translated from the incoming frontend request.
.temporal.api.nexus.v1.Request request = 2;- Specified by:
getRequestin interfacePollNexusTaskQueueResponseOrBuilder- Returns:
- The request.
-
setRequest
Embedded request as translated from the incoming frontend request.
.temporal.api.nexus.v1.Request request = 2; -
setRequest
Embedded request as translated from the incoming frontend request.
.temporal.api.nexus.v1.Request request = 2; -
mergeRequest
Embedded request as translated from the incoming frontend request.
.temporal.api.nexus.v1.Request request = 2; -
clearRequest
Embedded request as translated from the incoming frontend request.
.temporal.api.nexus.v1.Request request = 2; -
getRequestBuilder
Embedded request as translated from the incoming frontend request.
.temporal.api.nexus.v1.Request request = 2; -
getRequestOrBuilder
Embedded request as translated from the incoming frontend request.
.temporal.api.nexus.v1.Request request = 2;- Specified by:
getRequestOrBuilderin interfacePollNexusTaskQueueResponseOrBuilder
-
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:
hasPollerScalingDecisionin interfacePollNexusTaskQueueResponseOrBuilder- Returns:
- Whether the pollerScalingDecision field is set.
-
getPollerScalingDecision
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 3;- Specified by:
getPollerScalingDecisionin interfacePollNexusTaskQueueResponseOrBuilder- Returns:
- The pollerScalingDecision.
-
setPollerScalingDecision
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
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 3; -
clearPollerScalingDecision
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 3; -
getPollerScalingDecisionBuilder
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 3; -
getPollerScalingDecisionOrBuilder
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 3;- Specified by:
getPollerScalingDecisionOrBuilderin interfacePollNexusTaskQueueResponseOrBuilder
-
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:
getPollerGroupIdin interfacePollNexusTaskQueueResponseOrBuilder- 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:
getPollerGroupIdBytesin interfacePollNexusTaskQueueResponseOrBuilder- Returns:
- The bytes for pollerGroupId.
-
setPollerGroupId
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
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.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:
getPollerGroupInfosListin interfacePollNexusTaskQueueResponseOrBuilder
-
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:
getPollerGroupInfosCountin interfacePollNexusTaskQueueResponseOrBuilder
-
getPollerGroupInfos
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:
getPollerGroupInfosin interfacePollNexusTaskQueueResponseOrBuilder
-
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.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.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.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.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:
getPollerGroupInfosOrBuilderin interfacePollNexusTaskQueueResponseOrBuilder
-
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:
getPollerGroupInfosOrBuilderListin interfacePollNexusTaskQueueResponseOrBuilder
-
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.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.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:
hasPollerGroupsInfoin interfacePollNexusTaskQueueResponseOrBuilder- Returns:
- Whether the pollerGroupsInfo field is set.
-
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:
getPollerGroupsInfoin interfacePollNexusTaskQueueResponseOrBuilder- Returns:
- The pollerGroupsInfo.
-
setPollerGroupsInfo
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
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
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
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
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:
getPollerGroupsInfoOrBuilderin interfacePollNexusTaskQueueResponseOrBuilder
-
setUnknownFields
public final PollNexusTaskQueueResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PollNexusTaskQueueResponse.Builder>
-
mergeUnknownFields
public final PollNexusTaskQueueResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PollNexusTaskQueueResponse.Builder>
-