Class PollWorkflowTaskQueueResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
- io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PollWorkflowTaskQueueResponseOrBuilder,java.lang.Cloneable
- Enclosing class:
- PollWorkflowTaskQueueResponse
public static final class PollWorkflowTaskQueueResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder> implements PollWorkflowTaskQueueResponseOrBuilder
Protobuf typetemporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PollWorkflowTaskQueueResponse.BuilderaddAllMessages(java.lang.Iterable<? extends Message> values)Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.BuilderaddMessages(int index, Message value)Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.BuilderaddMessages(int index, Message.Builder builderForValue)Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.BuilderaddMessages(Message value)Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.BuilderaddMessages(Message.Builder builderForValue)Protocol messages piggybacking on a WFT as a transportMessage.BuilderaddMessagesBuilder()Protocol messages piggybacking on a WFT as a transportMessage.BuilderaddMessagesBuilder(int index)Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PollWorkflowTaskQueueResponsebuild()PollWorkflowTaskQueueResponsebuildPartial()PollWorkflowTaskQueueResponse.Builderclear()PollWorkflowTaskQueueResponse.BuilderclearAttempt()Starting at 1, the number of attempts to complete this task by any worker.PollWorkflowTaskQueueResponse.BuilderclearBacklogCountHint()A hint that there are more tasks already present in this task queue partition.PollWorkflowTaskQueueResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PollWorkflowTaskQueueResponse.BuilderclearHistory()The history for this workflow, which will either be complete or partial.PollWorkflowTaskQueueResponse.BuilderclearMessages()Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.BuilderclearNextPageToken()Will be set if there are more history events than were included in this response.PollWorkflowTaskQueueResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PollWorkflowTaskQueueResponse.BuilderclearPollerScalingDecision()Server-advised information the SDK may use to adjust its poller count.PollWorkflowTaskQueueResponse.BuilderclearPreviousStartedEventId()The last workflow task started event which was processed by some worker for this execution.PollWorkflowTaskQueueResponse.BuilderclearQueries()PollWorkflowTaskQueueResponse.BuilderclearQuery()Legacy queries appear in this field.PollWorkflowTaskQueueResponse.BuilderclearScheduledTime()When this task was scheduled by the serverPollWorkflowTaskQueueResponse.BuilderclearStartedEventId()The id of the most recent workflow task started event, which will have been generated as a result of this poll request being served.PollWorkflowTaskQueueResponse.BuilderclearStartedTime()When the current workflow task started event was generated, meaning the current attempt.PollWorkflowTaskQueueResponse.BuilderclearTaskToken()A unique identifier for this taskPollWorkflowTaskQueueResponse.BuilderclearWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;PollWorkflowTaskQueueResponse.BuilderclearWorkflowExecutionTaskQueue()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.PollWorkflowTaskQueueResponse.BuilderclearWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 3;PollWorkflowTaskQueueResponse.Builderclone()booleancontainsQueries(java.lang.String key)Queries that should be executed after applying the history in this task.intgetAttempt()Starting at 1, the number of attempts to complete this task by any worker.longgetBacklogCountHint()A hint that there are more tasks already present in this task queue partition.PollWorkflowTaskQueueResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HistorygetHistory()The history for this workflow, which will either be complete or partial.History.BuildergetHistoryBuilder()The history for this workflow, which will either be complete or partial.HistoryOrBuildergetHistoryOrBuilder()The history for this workflow, which will either be complete or partial.MessagegetMessages(int index)Protocol messages piggybacking on a WFT as a transportMessage.BuildergetMessagesBuilder(int index)Protocol messages piggybacking on a WFT as a transportjava.util.List<Message.Builder>getMessagesBuilderList()Protocol messages piggybacking on a WFT as a transportintgetMessagesCount()Protocol messages piggybacking on a WFT as a transportjava.util.List<Message>getMessagesList()Protocol messages piggybacking on a WFT as a transportMessageOrBuildergetMessagesOrBuilder(int index)Protocol messages piggybacking on a WFT as a transportjava.util.List<? extends MessageOrBuilder>getMessagesOrBuilderList()Protocol messages piggybacking on a WFT as a transportjava.util.Map<java.lang.String,WorkflowQuery>getMutableQueries()Deprecated.com.google.protobuf.ByteStringgetNextPageToken()Will be set if there are more history events than were included in this response.PollerScalingDecisiongetPollerScalingDecision()Server-advised information the SDK may use to adjust its poller count.PollerScalingDecision.BuildergetPollerScalingDecisionBuilder()Server-advised information the SDK may use to adjust its poller count.PollerScalingDecisionOrBuildergetPollerScalingDecisionOrBuilder()Server-advised information the SDK may use to adjust its poller count.longgetPreviousStartedEventId()The last workflow task started event which was processed by some worker for this execution.java.util.Map<java.lang.String,WorkflowQuery>getQueries()Deprecated.intgetQueriesCount()Queries that should be executed after applying the history in this task.java.util.Map<java.lang.String,WorkflowQuery>getQueriesMap()Queries that should be executed after applying the history in this task.WorkflowQuerygetQueriesOrDefault(java.lang.String key, WorkflowQuery defaultValue)Queries that should be executed after applying the history in this task.WorkflowQuerygetQueriesOrThrow(java.lang.String key)Queries that should be executed after applying the history in this task.WorkflowQuerygetQuery()Legacy queries appear in this field.WorkflowQuery.BuildergetQueryBuilder()Legacy queries appear in this field.WorkflowQueryOrBuildergetQueryOrBuilder()Legacy queries appear in this field.com.google.protobuf.TimestampgetScheduledTime()When this task was scheduled by the servercom.google.protobuf.Timestamp.BuildergetScheduledTimeBuilder()When this task was scheduled by the servercom.google.protobuf.TimestampOrBuildergetScheduledTimeOrBuilder()When this task was scheduled by the serverlonggetStartedEventId()The 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.TimestampgetStartedTime()When the current workflow task started event was generated, meaning the current attempt.com.google.protobuf.Timestamp.BuildergetStartedTimeBuilder()When the current workflow task started event was generated, meaning the current attempt.com.google.protobuf.TimestampOrBuildergetStartedTimeOrBuilder()When the current workflow task started event was generated, meaning the current attempt.com.google.protobuf.ByteStringgetTaskToken()A unique identifier for this taskWorkflowExecutiongetWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;WorkflowExecution.BuildergetWorkflowExecutionBuilder().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;WorkflowExecutionOrBuildergetWorkflowExecutionOrBuilder().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;TaskQueuegetWorkflowExecutionTaskQueue()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.TaskQueue.BuildergetWorkflowExecutionTaskQueueBuilder()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.TaskQueueOrBuildergetWorkflowExecutionTaskQueueOrBuilder()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.WorkflowTypegetWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 3;WorkflowType.BuildergetWorkflowTypeBuilder().temporal.api.common.v1.WorkflowType workflow_type = 3;WorkflowTypeOrBuildergetWorkflowTypeOrBuilder().temporal.api.common.v1.WorkflowType workflow_type = 3;booleanhasHistory()The history for this workflow, which will either be complete or partial.booleanhasPollerScalingDecision()Server-advised information the SDK may use to adjust its poller count.booleanhasQuery()Legacy queries appear in this field.booleanhasScheduledTime()When this task was scheduled by the serverbooleanhasStartedTime()When the current workflow task started event was generated, meaning the current attempt.booleanhasWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;booleanhasWorkflowExecutionTaskQueue()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.booleanhasWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()PollWorkflowTaskQueueResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PollWorkflowTaskQueueResponse.BuildermergeFrom(com.google.protobuf.Message other)PollWorkflowTaskQueueResponse.BuildermergeFrom(PollWorkflowTaskQueueResponse other)PollWorkflowTaskQueueResponse.BuildermergeHistory(History value)The history for this workflow, which will either be complete or partial.PollWorkflowTaskQueueResponse.BuildermergePollerScalingDecision(PollerScalingDecision value)Server-advised information the SDK may use to adjust its poller count.PollWorkflowTaskQueueResponse.BuildermergeQuery(WorkflowQuery value)Legacy queries appear in this field.PollWorkflowTaskQueueResponse.BuildermergeScheduledTime(com.google.protobuf.Timestamp value)When this task was scheduled by the serverPollWorkflowTaskQueueResponse.BuildermergeStartedTime(com.google.protobuf.Timestamp value)When the current workflow task started event was generated, meaning the current attempt.PollWorkflowTaskQueueResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PollWorkflowTaskQueueResponse.BuildermergeWorkflowExecution(WorkflowExecution value).temporal.api.common.v1.WorkflowExecution workflow_execution = 2;PollWorkflowTaskQueueResponse.BuildermergeWorkflowExecutionTaskQueue(TaskQueue value)The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue.PollWorkflowTaskQueueResponse.BuildermergeWorkflowType(WorkflowType value).temporal.api.common.v1.WorkflowType workflow_type = 3;PollWorkflowTaskQueueResponse.BuilderputAllQueries(java.util.Map<java.lang.String,WorkflowQuery> values)Queries that should be executed after applying the history in this task.PollWorkflowTaskQueueResponse.BuilderputQueries(java.lang.String key, WorkflowQuery value)Queries that should be executed after applying the history in this task.WorkflowQuery.BuilderputQueriesBuilderIfAbsent(java.lang.String key)Queries that should be executed after applying the history in this task.PollWorkflowTaskQueueResponse.BuilderremoveMessages(int index)Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.BuilderremoveQueries(java.lang.String key)Queries that should be executed after applying the history in this task.PollWorkflowTaskQueueResponse.BuildersetAttempt(int value)Starting at 1, the number of attempts to complete this task by any worker.PollWorkflowTaskQueueResponse.BuildersetBacklogCountHint(long value)A hint that there are more tasks already present in this task queue partition.PollWorkflowTaskQueueResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PollWorkflowTaskQueueResponse.BuildersetHistory(History value)The history for this workflow, which will either be complete or partial.PollWorkflowTaskQueueResponse.BuildersetHistory(History.Builder builderForValue)The history for this workflow, which will either be complete or partial.PollWorkflowTaskQueueResponse.BuildersetMessages(int index, Message value)Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.BuildersetMessages(int index, Message.Builder builderForValue)Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.BuildersetNextPageToken(com.google.protobuf.ByteString value)Will be set if there are more history events than were included in this response.PollWorkflowTaskQueueResponse.BuildersetPollerScalingDecision(PollerScalingDecision value)Server-advised information the SDK may use to adjust its poller count.PollWorkflowTaskQueueResponse.BuildersetPollerScalingDecision(PollerScalingDecision.Builder builderForValue)Server-advised information the SDK may use to adjust its poller count.PollWorkflowTaskQueueResponse.BuildersetPreviousStartedEventId(long value)The last workflow task started event which was processed by some worker for this execution.PollWorkflowTaskQueueResponse.BuildersetQuery(WorkflowQuery value)Legacy queries appear in this field.PollWorkflowTaskQueueResponse.BuildersetQuery(WorkflowQuery.Builder builderForValue)Legacy queries appear in this field.PollWorkflowTaskQueueResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)PollWorkflowTaskQueueResponse.BuildersetScheduledTime(com.google.protobuf.Timestamp value)When this task was scheduled by the serverPollWorkflowTaskQueueResponse.BuildersetScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)When this task was scheduled by the serverPollWorkflowTaskQueueResponse.BuildersetStartedEventId(long value)The id of the most recent workflow task started event, which will have been generated as a result of this poll request being served.PollWorkflowTaskQueueResponse.BuildersetStartedTime(com.google.protobuf.Timestamp value)When the current workflow task started event was generated, meaning the current attempt.PollWorkflowTaskQueueResponse.BuildersetStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)When the current workflow task started event was generated, meaning the current attempt.PollWorkflowTaskQueueResponse.BuildersetTaskToken(com.google.protobuf.ByteString value)A unique identifier for this taskPollWorkflowTaskQueueResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PollWorkflowTaskQueueResponse.BuildersetWorkflowExecution(WorkflowExecution value).temporal.api.common.v1.WorkflowExecution workflow_execution = 2;PollWorkflowTaskQueueResponse.BuildersetWorkflowExecution(WorkflowExecution.Builder builderForValue).temporal.api.common.v1.WorkflowExecution workflow_execution = 2;PollWorkflowTaskQueueResponse.BuildersetWorkflowExecutionTaskQueue(TaskQueue value)The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue.PollWorkflowTaskQueueResponse.BuildersetWorkflowExecutionTaskQueue(TaskQueue.Builder builderForValue)The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue.PollWorkflowTaskQueueResponse.BuildersetWorkflowType(WorkflowType value).temporal.api.common.v1.WorkflowType workflow_type = 3;PollWorkflowTaskQueueResponse.BuildersetWorkflowType(WorkflowType.Builder builderForValue).temporal.api.common.v1.WorkflowType workflow_type = 3;-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<PollWorkflowTaskQueueResponse.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
clear
public PollWorkflowTaskQueueResponse.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<PollWorkflowTaskQueueResponse.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<PollWorkflowTaskQueueResponse.Builder>
-
getDefaultInstanceForType
public PollWorkflowTaskQueueResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PollWorkflowTaskQueueResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PollWorkflowTaskQueueResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PollWorkflowTaskQueueResponse.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<PollWorkflowTaskQueueResponse.Builder>
-
setField
public PollWorkflowTaskQueueResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
clearField
public PollWorkflowTaskQueueResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
clearOneof
public PollWorkflowTaskQueueResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
setRepeatedField
public PollWorkflowTaskQueueResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
addRepeatedField
public PollWorkflowTaskQueueResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
mergeFrom
public PollWorkflowTaskQueueResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PollWorkflowTaskQueueResponse.Builder>
-
mergeFrom
public PollWorkflowTaskQueueResponse.Builder mergeFrom(PollWorkflowTaskQueueResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
mergeFrom
public PollWorkflowTaskQueueResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PollWorkflowTaskQueueResponse.Builder>- Throws:
java.io.IOException
-
getTaskToken
public com.google.protobuf.ByteString getTaskToken()
A unique identifier for this task
bytes task_token = 1;- Specified by:
getTaskTokenin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The taskToken.
-
setTaskToken
public PollWorkflowTaskQueueResponse.Builder setTaskToken(com.google.protobuf.ByteString value)
A unique identifier for this task
bytes task_token = 1;- Parameters:
value- The taskToken to set.- Returns:
- This builder for chaining.
-
clearTaskToken
public PollWorkflowTaskQueueResponse.Builder clearTaskToken()
A unique identifier for this task
bytes task_token = 1;- Returns:
- This builder for chaining.
-
hasWorkflowExecution
public boolean hasWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
hasWorkflowExecutionin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The workflowExecution.
-
setWorkflowExecution
public PollWorkflowTaskQueueResponse.Builder setWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
setWorkflowExecution
public PollWorkflowTaskQueueResponse.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
mergeWorkflowExecution
public PollWorkflowTaskQueueResponse.Builder mergeWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
clearWorkflowExecution
public PollWorkflowTaskQueueResponse.Builder clearWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
getWorkflowExecutionBuilder
public WorkflowExecution.Builder getWorkflowExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
getWorkflowExecutionOrBuilder
public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
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
public WorkflowType getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
getWorkflowTypein interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The workflowType.
-
setWorkflowType
public PollWorkflowTaskQueueResponse.Builder setWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
setWorkflowType
public PollWorkflowTaskQueueResponse.Builder setWorkflowType(WorkflowType.Builder builderForValue)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
mergeWorkflowType
public PollWorkflowTaskQueueResponse.Builder mergeWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
clearWorkflowType
public PollWorkflowTaskQueueResponse.Builder clearWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
getWorkflowTypeBuilder
public WorkflowType.Builder getWorkflowTypeBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
getWorkflowTypeOrBuilder
public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
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.
-
setPreviousStartedEventId
public PollWorkflowTaskQueueResponse.Builder setPreviousStartedEventId(long value)
The last workflow task started event which was processed by some worker for this execution. Will be zero if no task has ever started.
int64 previous_started_event_id = 4;- Parameters:
value- The previousStartedEventId to set.- Returns:
- This builder for chaining.
-
clearPreviousStartedEventId
public PollWorkflowTaskQueueResponse.Builder clearPreviousStartedEventId()
The last workflow task started event which was processed by some worker for this execution. Will be zero if no task has ever started.
int64 previous_started_event_id = 4;- Returns:
- This builder for chaining.
-
getStartedEventId
public long getStartedEventId()
The id of the most recent workflow task started event, which will have been generated as a result of this poll request being served. Will be zero if the task does not contain any events which would advance history (no new WFT started). Currently this can happen for queries.
int64 started_event_id = 5;- Specified by:
getStartedEventIdin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The startedEventId.
-
setStartedEventId
public PollWorkflowTaskQueueResponse.Builder setStartedEventId(long value)
The id of the most recent workflow task started event, which will have been generated as a result of this poll request being served. Will be zero if the task does not contain any events which would advance history (no new WFT started). Currently this can happen for queries.
int64 started_event_id = 5;- Parameters:
value- The startedEventId to set.- Returns:
- This builder for chaining.
-
clearStartedEventId
public PollWorkflowTaskQueueResponse.Builder clearStartedEventId()
The id of the most recent workflow task started event, which will have been generated as a result of this poll request being served. Will be zero if the task does not contain any events which would advance history (no new WFT started). Currently this can happen for queries.
int64 started_event_id = 5;- Returns:
- This builder for chaining.
-
getAttempt
public int getAttempt()
Starting at 1, the number of attempts to complete this task by any worker.
int32 attempt = 6;- Specified by:
getAttemptin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The attempt.
-
setAttempt
public PollWorkflowTaskQueueResponse.Builder setAttempt(int value)
Starting at 1, the number of attempts to complete this task by any worker.
int32 attempt = 6;- Parameters:
value- The attempt to set.- Returns:
- This builder for chaining.
-
clearAttempt
public PollWorkflowTaskQueueResponse.Builder clearAttempt()
Starting at 1, the number of attempts to complete this task by any worker.
int32 attempt = 6;- Returns:
- This builder for chaining.
-
getBacklogCountHint
public long getBacklogCountHint()
A hint that there are more tasks already present in this task queue partition. Can be used to prioritize draining a sticky queue. Specifically, the returned number is the number of tasks remaining in the in-memory buffer for this partition, which is currently capped at 1000. Because sticky queues only have one partition, this number is more useful when draining them. Normal queues, typically having more than one partition, will return a number representing only some portion of the overall backlog. Subsequent RPCs may not hit the same partition as this call.
int64 backlog_count_hint = 7;- Specified by:
getBacklogCountHintin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The backlogCountHint.
-
setBacklogCountHint
public PollWorkflowTaskQueueResponse.Builder setBacklogCountHint(long value)
A hint that there are more tasks already present in this task queue partition. Can be used to prioritize draining a sticky queue. Specifically, the returned number is the number of tasks remaining in the in-memory buffer for this partition, which is currently capped at 1000. Because sticky queues only have one partition, this number is more useful when draining them. Normal queues, typically having more than one partition, will return a number representing only some portion of the overall backlog. Subsequent RPCs may not hit the same partition as this call.
int64 backlog_count_hint = 7;- Parameters:
value- The backlogCountHint to set.- Returns:
- This builder for chaining.
-
clearBacklogCountHint
public PollWorkflowTaskQueueResponse.Builder clearBacklogCountHint()
A hint that there are more tasks already present in this task queue partition. Can be used to prioritize draining a sticky queue. Specifically, the returned number is the number of tasks remaining in the in-memory buffer for this partition, which is currently capped at 1000. Because sticky queues only have one partition, this number is more useful when draining them. Normal queues, typically having more than one partition, will return a number representing only some portion of the overall backlog. Subsequent RPCs may not hit the same partition as this call.
int64 backlog_count_hint = 7;- Returns:
- This builder for chaining.
-
hasHistory
public boolean hasHistory()
The history for this workflow, which will either be complete or partial. Partial histories are sent to workers who have signaled that they are using a sticky queue when completing a workflow task.
.temporal.api.history.v1.History history = 8;- Specified by:
hasHistoryin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- Whether the history field is set.
-
getHistory
public History getHistory()
The history for this workflow, which will either be complete or partial. Partial histories are sent to workers who have signaled that they are using a sticky queue when completing a workflow task.
.temporal.api.history.v1.History history = 8;- Specified by:
getHistoryin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The history.
-
setHistory
public PollWorkflowTaskQueueResponse.Builder setHistory(History value)
The history for this workflow, which will either be complete or partial. Partial histories are sent to workers who have signaled that they are using a sticky queue when completing a workflow task.
.temporal.api.history.v1.History history = 8;
-
setHistory
public PollWorkflowTaskQueueResponse.Builder setHistory(History.Builder builderForValue)
The history for this workflow, which will either be complete or partial. Partial histories are sent to workers who have signaled that they are using a sticky queue when completing a workflow task.
.temporal.api.history.v1.History history = 8;
-
mergeHistory
public PollWorkflowTaskQueueResponse.Builder mergeHistory(History value)
The history for this workflow, which will either be complete or partial. Partial histories are sent to workers who have signaled that they are using a sticky queue when completing a workflow task.
.temporal.api.history.v1.History history = 8;
-
clearHistory
public PollWorkflowTaskQueueResponse.Builder clearHistory()
The history for this workflow, which will either be complete or partial. Partial histories are sent to workers who have signaled that they are using a sticky queue when completing a workflow task.
.temporal.api.history.v1.History history = 8;
-
getHistoryBuilder
public History.Builder getHistoryBuilder()
The history for this workflow, which will either be complete or partial. Partial histories are sent to workers who have signaled that they are using a sticky queue when completing a workflow task.
.temporal.api.history.v1.History history = 8;
-
getHistoryOrBuilder
public HistoryOrBuilder getHistoryOrBuilder()
The history for this workflow, which will either be complete or partial. Partial histories are sent to workers who have signaled that they are using a sticky queue when completing a workflow task.
.temporal.api.history.v1.History history = 8;- Specified by:
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.
-
setNextPageToken
public PollWorkflowTaskQueueResponse.Builder setNextPageToken(com.google.protobuf.ByteString value)
Will be set if there are more history events than were included in this response. Such events should be fetched via `GetWorkflowExecutionHistory`.
bytes next_page_token = 9;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public PollWorkflowTaskQueueResponse.Builder clearNextPageToken()
Will be set if there are more history events than were included in this response. Such events should be fetched via `GetWorkflowExecutionHistory`.
bytes next_page_token = 9;- Returns:
- This builder for chaining.
-
hasQuery
public boolean hasQuery()
Legacy queries appear in this field. The query must be responded to via `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on closed workflows) then the `history` field will be populated with the entire history. It may also be populated if this task originates on a non-sticky queue.
.temporal.api.query.v1.WorkflowQuery query = 10;- Specified by:
hasQueryin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- Whether the query field is set.
-
getQuery
public WorkflowQuery getQuery()
Legacy queries appear in this field. The query must be responded to via `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on closed workflows) then the `history` field will be populated with the entire history. It may also be populated if this task originates on a non-sticky queue.
.temporal.api.query.v1.WorkflowQuery query = 10;- Specified by:
getQueryin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The query.
-
setQuery
public PollWorkflowTaskQueueResponse.Builder setQuery(WorkflowQuery value)
Legacy queries appear in this field. The query must be responded to via `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on closed workflows) then the `history` field will be populated with the entire history. It may also be populated if this task originates on a non-sticky queue.
.temporal.api.query.v1.WorkflowQuery query = 10;
-
setQuery
public PollWorkflowTaskQueueResponse.Builder setQuery(WorkflowQuery.Builder builderForValue)
Legacy queries appear in this field. The query must be responded to via `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on closed workflows) then the `history` field will be populated with the entire history. It may also be populated if this task originates on a non-sticky queue.
.temporal.api.query.v1.WorkflowQuery query = 10;
-
mergeQuery
public PollWorkflowTaskQueueResponse.Builder mergeQuery(WorkflowQuery value)
Legacy queries appear in this field. The query must be responded to via `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on closed workflows) then the `history` field will be populated with the entire history. It may also be populated if this task originates on a non-sticky queue.
.temporal.api.query.v1.WorkflowQuery query = 10;
-
clearQuery
public PollWorkflowTaskQueueResponse.Builder clearQuery()
Legacy queries appear in this field. The query must be responded to via `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on closed workflows) then the `history` field will be populated with the entire history. It may also be populated if this task originates on a non-sticky queue.
.temporal.api.query.v1.WorkflowQuery query = 10;
-
getQueryBuilder
public WorkflowQuery.Builder getQueryBuilder()
Legacy queries appear in this field. The query must be responded to via `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on closed workflows) then the `history` field will be populated with the entire history. It may also be populated if this task originates on a non-sticky queue.
.temporal.api.query.v1.WorkflowQuery query = 10;
-
getQueryOrBuilder
public WorkflowQueryOrBuilder getQueryOrBuilder()
Legacy queries appear in this field. The query must be responded to via `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on closed workflows) then the `history` field will be populated with the entire history. It may also be populated if this task originates on a non-sticky queue.
.temporal.api.query.v1.WorkflowQuery query = 10;- Specified by:
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
public TaskQueue getWorkflowExecutionTaskQueue()
The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue.
.temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;- Specified by:
getWorkflowExecutionTaskQueuein interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The workflowExecutionTaskQueue.
-
setWorkflowExecutionTaskQueue
public PollWorkflowTaskQueueResponse.Builder setWorkflowExecutionTaskQueue(TaskQueue value)
The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue.
.temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
-
setWorkflowExecutionTaskQueue
public PollWorkflowTaskQueueResponse.Builder setWorkflowExecutionTaskQueue(TaskQueue.Builder builderForValue)
The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue.
.temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
-
mergeWorkflowExecutionTaskQueue
public PollWorkflowTaskQueueResponse.Builder mergeWorkflowExecutionTaskQueue(TaskQueue value)
The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue.
.temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
-
clearWorkflowExecutionTaskQueue
public PollWorkflowTaskQueueResponse.Builder clearWorkflowExecutionTaskQueue()
The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue.
.temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
-
getWorkflowExecutionTaskQueueBuilder
public TaskQueue.Builder getWorkflowExecutionTaskQueueBuilder()
The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue.
.temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
-
getWorkflowExecutionTaskQueueOrBuilder
public TaskQueueOrBuilder getWorkflowExecutionTaskQueueOrBuilder()
The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue.
.temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;- Specified by:
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.
-
setScheduledTime
public PollWorkflowTaskQueueResponse.Builder setScheduledTime(com.google.protobuf.Timestamp value)
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12;
-
setScheduledTime
public PollWorkflowTaskQueueResponse.Builder setScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12;
-
mergeScheduledTime
public PollWorkflowTaskQueueResponse.Builder mergeScheduledTime(com.google.protobuf.Timestamp value)
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12;
-
clearScheduledTime
public PollWorkflowTaskQueueResponse.Builder clearScheduledTime()
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12;
-
getScheduledTimeBuilder
public com.google.protobuf.Timestamp.Builder getScheduledTimeBuilder()
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12;
-
getScheduledTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12;- Specified by:
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.
-
setStartedTime
public PollWorkflowTaskQueueResponse.Builder setStartedTime(com.google.protobuf.Timestamp value)
When the current workflow task started event was generated, meaning the current attempt.
.google.protobuf.Timestamp started_time = 13;
-
setStartedTime
public PollWorkflowTaskQueueResponse.Builder setStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)
When the current workflow task started event was generated, meaning the current attempt.
.google.protobuf.Timestamp started_time = 13;
-
mergeStartedTime
public PollWorkflowTaskQueueResponse.Builder mergeStartedTime(com.google.protobuf.Timestamp value)
When the current workflow task started event was generated, meaning the current attempt.
.google.protobuf.Timestamp started_time = 13;
-
clearStartedTime
public PollWorkflowTaskQueueResponse.Builder clearStartedTime()
When the current workflow task started event was generated, meaning the current attempt.
.google.protobuf.Timestamp started_time = 13;
-
getStartedTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartedTimeBuilder()
When the current workflow task started event was generated, meaning the current attempt.
.google.protobuf.Timestamp started_time = 13;
-
getStartedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()
When the current workflow task started event was generated, meaning the current attempt.
.google.protobuf.Timestamp started_time = 13;- Specified by:
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
public boolean containsQueries(java.lang.String key)
Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results`
map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;- Specified by:
containsQueriesin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getQueries
@Deprecated public java.util.Map<java.lang.String,WorkflowQuery> getQueries()
Deprecated.UsegetQueriesMap()instead.- Specified by:
getQueriesin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getQueriesMap
public java.util.Map<java.lang.String,WorkflowQuery> getQueriesMap()
Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results`
map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;- Specified by:
getQueriesMapin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getQueriesOrDefault
public WorkflowQuery getQueriesOrDefault(java.lang.String key, WorkflowQuery defaultValue)
Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results`
map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;- Specified by:
getQueriesOrDefaultin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getQueriesOrThrow
public WorkflowQuery getQueriesOrThrow(java.lang.String key)
Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results`
map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;- Specified by:
getQueriesOrThrowin interfacePollWorkflowTaskQueueResponseOrBuilder
-
clearQueries
public PollWorkflowTaskQueueResponse.Builder clearQueries()
-
removeQueries
public PollWorkflowTaskQueueResponse.Builder removeQueries(java.lang.String key)
Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results`
map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
-
getMutableQueries
@Deprecated public java.util.Map<java.lang.String,WorkflowQuery> getMutableQueries()
Deprecated.Use alternate mutation accessors instead.
-
putQueries
public PollWorkflowTaskQueueResponse.Builder putQueries(java.lang.String key, WorkflowQuery value)
Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results`
map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
-
putAllQueries
public PollWorkflowTaskQueueResponse.Builder putAllQueries(java.util.Map<java.lang.String,WorkflowQuery> values)
Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results`
map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
-
putQueriesBuilderIfAbsent
public WorkflowQuery.Builder putQueriesBuilderIfAbsent(java.lang.String key)
Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results`
map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
-
getMessagesList
public java.util.List<Message> getMessagesList()
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;- Specified by:
getMessagesListin 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
public Message getMessages(int index)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;- Specified by:
getMessagesin interfacePollWorkflowTaskQueueResponseOrBuilder
-
setMessages
public PollWorkflowTaskQueueResponse.Builder setMessages(int index, Message value)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
setMessages
public PollWorkflowTaskQueueResponse.Builder setMessages(int index, Message.Builder builderForValue)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
addMessages
public PollWorkflowTaskQueueResponse.Builder addMessages(Message value)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
addMessages
public PollWorkflowTaskQueueResponse.Builder addMessages(int index, Message value)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
addMessages
public PollWorkflowTaskQueueResponse.Builder addMessages(Message.Builder builderForValue)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
addMessages
public PollWorkflowTaskQueueResponse.Builder addMessages(int index, Message.Builder builderForValue)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
addAllMessages
public PollWorkflowTaskQueueResponse.Builder addAllMessages(java.lang.Iterable<? extends Message> values)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
clearMessages
public PollWorkflowTaskQueueResponse.Builder clearMessages()
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
removeMessages
public PollWorkflowTaskQueueResponse.Builder removeMessages(int index)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
getMessagesBuilder
public Message.Builder getMessagesBuilder(int index)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
getMessagesOrBuilder
public MessageOrBuilder getMessagesOrBuilder(int index)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;- Specified by:
getMessagesOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
getMessagesOrBuilderList
public java.util.List<? extends MessageOrBuilder> getMessagesOrBuilderList()
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;- Specified by:
getMessagesOrBuilderListin interfacePollWorkflowTaskQueueResponseOrBuilder
-
addMessagesBuilder
public Message.Builder addMessagesBuilder()
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
addMessagesBuilder
public Message.Builder addMessagesBuilder(int index)
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
getMessagesBuilderList
public java.util.List<Message.Builder> getMessagesBuilderList()
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
-
hasPollerScalingDecision
public boolean hasPollerScalingDecision()
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;- Specified by:
hasPollerScalingDecisionin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- Whether the pollerScalingDecision field is set.
-
getPollerScalingDecision
public PollerScalingDecision getPollerScalingDecision()
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;- Specified by:
getPollerScalingDecisionin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The pollerScalingDecision.
-
setPollerScalingDecision
public PollWorkflowTaskQueueResponse.Builder setPollerScalingDecision(PollerScalingDecision value)
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
-
setPollerScalingDecision
public PollWorkflowTaskQueueResponse.Builder setPollerScalingDecision(PollerScalingDecision.Builder builderForValue)
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
-
mergePollerScalingDecision
public PollWorkflowTaskQueueResponse.Builder mergePollerScalingDecision(PollerScalingDecision value)
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
-
clearPollerScalingDecision
public PollWorkflowTaskQueueResponse.Builder clearPollerScalingDecision()
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
-
getPollerScalingDecisionBuilder
public PollerScalingDecision.Builder getPollerScalingDecisionBuilder()
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;
-
getPollerScalingDecisionOrBuilder
public PollerScalingDecisionOrBuilder getPollerScalingDecisionOrBuilder()
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 16;- Specified by:
getPollerScalingDecisionOrBuilderin interfacePollWorkflowTaskQueueResponseOrBuilder
-
setUnknownFields
public final PollWorkflowTaskQueueResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
mergeUnknownFields
public final PollWorkflowTaskQueueResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
-