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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.workflowservice.v1.PollWorkflowTaskQueueResponseNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsQueries(String key) Queries that should be executed after applying the history in this task.booleanintStarting at 1, the number of attempts to complete this task by any worker.longA hint that there are more tasks already present in this task queue partition.static final com.google.protobuf.Descriptors.DescriptorThe history for this workflow, which will either be complete or partial.The history for this workflow, which will either be complete or partial.getMessages(int index) Protocol messages piggybacking on a WFT as a transportintProtocol messages piggybacking on a WFT as a transportProtocol messages piggybacking on a WFT as a transportgetMessagesOrBuilder(int index) Protocol messages piggybacking on a WFT as a transportList<? extends MessageOrBuilder> Protocol messages piggybacking on a WFT as a transportcom.google.protobuf.ByteStringWill be set if there are more history events than were included in this response.com.google.protobuf.Parser<PollWorkflowTaskQueueResponse> This poller group ID identifies the owner of the workflow task awaiting for query response.com.google.protobuf.ByteStringThis poller group ID identifies the owner of the workflow task awaiting for query response.getPollerGroupInfos(int index) 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.Server-advised information the SDK may use to adjust its poller count.Server-advised information the SDK may use to adjust its poller count.longThe last workflow task started event which was processed by some worker for this execution.Deprecated.intQueries that should be executed after applying the history in this task.Queries that should be executed after applying the history in this task.getQueriesOrDefault(String key, WorkflowQuery defaultValue) Queries that should be executed after applying the history in this task.getQueriesOrThrow(String key) Queries that should be executed after applying the history in this task.getQuery()Legacy queries appear in this field.Legacy queries appear in this field.com.google.protobuf.TimestampWhen this task was scheduled by the servercom.google.protobuf.TimestampOrBuilderWhen this task was scheduled by the serverintlongThe id of the most recent workflow task started event, which will have been generated as a result of this poll request being served.com.google.protobuf.TimestampWhen the current workflow task started event was generated, meaning the current attempt.com.google.protobuf.TimestampOrBuilderWhen the current workflow task started event was generated, meaning the current attempt.com.google.protobuf.ByteStringA unique identifier for this task.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;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.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.common.v1.WorkflowType workflow_type = 3;.temporal.api.common.v1.WorkflowType workflow_type = 3;inthashCode()booleanThe history for this workflow, which will either be complete or partial.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.booleanhasQuery()Legacy queries appear in this field.booleanWhen this task was scheduled by the serverbooleanWhen the current workflow task started event was generated, meaning the current attempt.boolean.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;booleanThe 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.boolean.temporal.api.common.v1.WorkflowType workflow_type = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(PollWorkflowTaskQueueResponse prototype) protected PollWorkflowTaskQueueResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PollWorkflowTaskQueueResponse> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTaskToken
public com.google.protobuf.ByteString getTaskToken()A unique identifier for this task
bytes task_token = 1;- Specified by:
getTaskTokenin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The taskToken.
-
hasWorkflowExecution
public boolean hasWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
hasWorkflowExecutionin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The workflowExecution.
-
getWorkflowExecutionOrBuilder
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
hasWorkflowType
public boolean hasWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
hasWorkflowTypein interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
getWorkflowTypein interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The workflowType.
-
getWorkflowTypeOrBuilder
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
getWorkflowTypeOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
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:
getPreviousStartedEventIdin interfacePollWorkflowTaskQueueResponseOrBuilder- 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:
getStartedEventIdin interfacePollWorkflowTaskQueueResponseOrBuilder- 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:
getAttemptin interfacePollWorkflowTaskQueueResponseOrBuilder- 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:
getBacklogCountHintin interfacePollWorkflowTaskQueueResponseOrBuilder- 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:
hasHistoryin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- Whether the history field is set.
-
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:
getHistoryin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The history.
-
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:
getHistoryOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
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:
getNextPageTokenin interfacePollWorkflowTaskQueueResponseOrBuilder- 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:
hasQueryin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- Whether the query field is set.
-
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:
getQueryin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The query.
-
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:
getQueryOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
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:
hasWorkflowExecutionTaskQueuein interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- Whether the workflowExecutionTaskQueue field is set.
-
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:
getWorkflowExecutionTaskQueuein interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The workflowExecutionTaskQueue.
-
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:
getWorkflowExecutionTaskQueueOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
hasScheduledTime
public boolean hasScheduledTime()When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12;- Specified by:
hasScheduledTimein interfacePollWorkflowTaskQueueResponseOrBuilder- 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:
getScheduledTimein interfacePollWorkflowTaskQueueResponseOrBuilder- 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:
getScheduledTimeOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
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:
hasStartedTimein interfacePollWorkflowTaskQueueResponseOrBuilder- 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:
getStartedTimein interfacePollWorkflowTaskQueueResponseOrBuilder- 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:
getStartedTimeOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getQueriesCount
public int getQueriesCount()Description copied from interface:PollWorkflowTaskQueueResponseOrBuilderQueries 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:
getQueriesCountin interfacePollWorkflowTaskQueueResponseOrBuilder
-
containsQueries
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:
containsQueriesin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getQueries
Deprecated.UsegetQueriesMap()instead.- Specified by:
getQueriesin interfacePollWorkflowTaskQueueResponseOrBuilder
-
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:
getQueriesMapin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getQueriesOrDefault
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:
getQueriesOrDefaultin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getQueriesOrThrow
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:
getQueriesOrThrowin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getMessagesList
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;- Specified by:
getMessagesListin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getMessagesOrBuilderList
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;- Specified by:
getMessagesOrBuilderListin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getMessagesCount
public int getMessagesCount()Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;- Specified by:
getMessagesCountin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getMessages
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;- Specified by:
getMessagesin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getMessagesOrBuilder
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;- Specified by:
getMessagesOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
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:
hasPollerScalingDecisionin interfacePollWorkflowTaskQueueResponseOrBuilder- 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 = 16;- Specified by:
getPollerScalingDecisionin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The pollerScalingDecision.
-
getPollerScalingDecisionOrBuilder
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;- Specified by:
getPollerScalingDecisionOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
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:
getPollerGroupIdin interfacePollWorkflowTaskQueueResponseOrBuilder- 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:
getPollerGroupIdBytesin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The bytes for pollerGroupId.
-
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:
getPollerGroupInfosListin interfacePollWorkflowTaskQueueResponseOrBuilder
-
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:
getPollerGroupInfosOrBuilderListin interfacePollWorkflowTaskQueueResponseOrBuilder
-
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:
getPollerGroupInfosCountin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getPollerGroupInfos
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:
getPollerGroupInfosin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getPollerGroupInfosOrBuilder
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:
getPollerGroupInfosOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
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:
hasPollerGroupsInfoin interfacePollWorkflowTaskQueueResponseOrBuilder- 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 = 19;- Specified by:
getPollerGroupsInfoin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The pollerGroupsInfo.
-
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:
getPollerGroupsInfoOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static PollWorkflowTaskQueueResponse.Builder newBuilder(PollWorkflowTaskQueueResponse prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PollWorkflowTaskQueueResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-