Class PollWorkflowTaskQueueResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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.Builder
addAllMessages(java.lang.Iterable<? extends Message> values)
Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.Builder
addMessages(int index, Message value)
Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.Builder
addMessages(int index, Message.Builder builderForValue)
Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.Builder
addMessages(Message value)
Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.Builder
addMessages(Message.Builder builderForValue)
Protocol messages piggybacking on a WFT as a transportMessage.Builder
addMessagesBuilder()
Protocol messages piggybacking on a WFT as a transportMessage.Builder
addMessagesBuilder(int index)
Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PollWorkflowTaskQueueResponse
build()
PollWorkflowTaskQueueResponse
buildPartial()
PollWorkflowTaskQueueResponse.Builder
clear()
PollWorkflowTaskQueueResponse.Builder
clearAttempt()
Starting at 1, the number of attempts to complete this task by any worker.PollWorkflowTaskQueueResponse.Builder
clearBacklogCountHint()
A hint that there are more tasks already present in this task queue.PollWorkflowTaskQueueResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PollWorkflowTaskQueueResponse.Builder
clearHistory()
The history for this workflow, which will either be complete or partial.PollWorkflowTaskQueueResponse.Builder
clearMessages()
Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.Builder
clearNextPageToken()
Will be set if there are more history events than were included in this response.PollWorkflowTaskQueueResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PollWorkflowTaskQueueResponse.Builder
clearPreviousStartedEventId()
The last workflow task started event which was processed by some worker for this execution.PollWorkflowTaskQueueResponse.Builder
clearQueries()
PollWorkflowTaskQueueResponse.Builder
clearQuery()
Legacy queries appear in this field.PollWorkflowTaskQueueResponse.Builder
clearScheduledTime()
When this task was scheduled by the serverPollWorkflowTaskQueueResponse.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.PollWorkflowTaskQueueResponse.Builder
clearStartedTime()
When the current workflow task started event was generated, meaning the current attempt.PollWorkflowTaskQueueResponse.Builder
clearTaskToken()
A unique identifier for this taskPollWorkflowTaskQueueResponse.Builder
clearWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
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.PollWorkflowTaskQueueResponse.Builder
clearWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
PollWorkflowTaskQueueResponse.Builder
clone()
boolean
containsQueries(java.lang.String key)
Queries that should be executed after applying the history in this task.int
getAttempt()
Starting at 1, the number of attempts to complete this task by any worker.long
getBacklogCountHint()
A hint that there are more tasks already present in this task queue.PollWorkflowTaskQueueResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
History
getHistory()
The history for this workflow, which will either be complete or partial.History.Builder
getHistoryBuilder()
The history for this workflow, which will either be complete or partial.HistoryOrBuilder
getHistoryOrBuilder()
The history for this workflow, which will either be complete or partial.Message
getMessages(int index)
Protocol messages piggybacking on a WFT as a transportMessage.Builder
getMessagesBuilder(int index)
Protocol messages piggybacking on a WFT as a transportjava.util.List<Message.Builder>
getMessagesBuilderList()
Protocol messages piggybacking on a WFT as a transportint
getMessagesCount()
Protocol messages piggybacking on a WFT as a transportjava.util.List<Message>
getMessagesList()
Protocol messages piggybacking on a WFT as a transportMessageOrBuilder
getMessagesOrBuilder(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.ByteString
getNextPageToken()
Will be set if there are more history events than were included in this response.long
getPreviousStartedEventId()
The last workflow task started event which was processed by some worker for this execution.java.util.Map<java.lang.String,WorkflowQuery>
getQueries()
Deprecated.int
getQueriesCount()
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.WorkflowQuery
getQueriesOrDefault(java.lang.String key, WorkflowQuery defaultValue)
Queries that should be executed after applying the history in this task.WorkflowQuery
getQueriesOrThrow(java.lang.String key)
Queries that should be executed after applying the history in this task.WorkflowQuery
getQuery()
Legacy queries appear in this field.WorkflowQuery.Builder
getQueryBuilder()
Legacy queries appear in this field.WorkflowQueryOrBuilder
getQueryOrBuilder()
Legacy queries appear in this field.com.google.protobuf.Timestamp
getScheduledTime()
When this task was scheduled by the servercom.google.protobuf.Timestamp.Builder
getScheduledTimeBuilder()
When this task was scheduled by the servercom.google.protobuf.TimestampOrBuilder
getScheduledTimeOrBuilder()
When this task was scheduled by the serverlong
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.com.google.protobuf.Timestamp
getStartedTime()
When the current workflow task started event was generated, meaning the current attempt.com.google.protobuf.Timestamp.Builder
getStartedTimeBuilder()
When the current workflow task started event was generated, meaning the current attempt.com.google.protobuf.TimestampOrBuilder
getStartedTimeOrBuilder()
When the current workflow task started event was generated, meaning the current attempt.com.google.protobuf.ByteString
getTaskToken()
A unique identifier for this taskWorkflowExecution
getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
WorkflowExecution.Builder
getWorkflowExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
WorkflowExecutionOrBuilder
getWorkflowExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
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.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.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.WorkflowType
getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
WorkflowType.Builder
getWorkflowTypeBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
WorkflowTypeOrBuilder
getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
boolean
hasHistory()
The history for this workflow, which will either be complete or partial.boolean
hasQuery()
Legacy queries appear in this field.boolean
hasScheduledTime()
When this task was scheduled by the serverboolean
hasStartedTime()
When the current workflow task started event was generated, meaning the current attempt.boolean
hasWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
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.boolean
hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
PollWorkflowTaskQueueResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PollWorkflowTaskQueueResponse.Builder
mergeFrom(com.google.protobuf.Message other)
PollWorkflowTaskQueueResponse.Builder
mergeFrom(PollWorkflowTaskQueueResponse other)
PollWorkflowTaskQueueResponse.Builder
mergeHistory(History value)
The history for this workflow, which will either be complete or partial.PollWorkflowTaskQueueResponse.Builder
mergeQuery(WorkflowQuery value)
Legacy queries appear in this field.PollWorkflowTaskQueueResponse.Builder
mergeScheduledTime(com.google.protobuf.Timestamp value)
When this task was scheduled by the serverPollWorkflowTaskQueueResponse.Builder
mergeStartedTime(com.google.protobuf.Timestamp value)
When the current workflow task started event was generated, meaning the current attempt.PollWorkflowTaskQueueResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PollWorkflowTaskQueueResponse.Builder
mergeWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
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.PollWorkflowTaskQueueResponse.Builder
mergeWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
PollWorkflowTaskQueueResponse.Builder
putAllQueries(java.util.Map<java.lang.String,WorkflowQuery> values)
Queries that should be executed after applying the history in this task.PollWorkflowTaskQueueResponse.Builder
putQueries(java.lang.String key, WorkflowQuery value)
Queries that should be executed after applying the history in this task.PollWorkflowTaskQueueResponse.Builder
removeMessages(int index)
Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.Builder
removeQueries(java.lang.String key)
Queries that should be executed after applying the history in this task.PollWorkflowTaskQueueResponse.Builder
setAttempt(int value)
Starting at 1, the number of attempts to complete this task by any worker.PollWorkflowTaskQueueResponse.Builder
setBacklogCountHint(long value)
A hint that there are more tasks already present in this task queue.PollWorkflowTaskQueueResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PollWorkflowTaskQueueResponse.Builder
setHistory(History value)
The history for this workflow, which will either be complete or partial.PollWorkflowTaskQueueResponse.Builder
setHistory(History.Builder builderForValue)
The history for this workflow, which will either be complete or partial.PollWorkflowTaskQueueResponse.Builder
setMessages(int index, Message value)
Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.Builder
setMessages(int index, Message.Builder builderForValue)
Protocol messages piggybacking on a WFT as a transportPollWorkflowTaskQueueResponse.Builder
setNextPageToken(com.google.protobuf.ByteString value)
Will be set if there are more history events than were included in this response.PollWorkflowTaskQueueResponse.Builder
setPreviousStartedEventId(long value)
The last workflow task started event which was processed by some worker for this execution.PollWorkflowTaskQueueResponse.Builder
setQuery(WorkflowQuery value)
Legacy queries appear in this field.PollWorkflowTaskQueueResponse.Builder
setQuery(WorkflowQuery.Builder builderForValue)
Legacy queries appear in this field.PollWorkflowTaskQueueResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
PollWorkflowTaskQueueResponse.Builder
setScheduledTime(com.google.protobuf.Timestamp value)
When this task was scheduled by the serverPollWorkflowTaskQueueResponse.Builder
setScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)
When this task was scheduled by the serverPollWorkflowTaskQueueResponse.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.PollWorkflowTaskQueueResponse.Builder
setStartedTime(com.google.protobuf.Timestamp value)
When the current workflow task started event was generated, meaning the current attempt.PollWorkflowTaskQueueResponse.Builder
setStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)
When the current workflow task started event was generated, meaning the current attempt.PollWorkflowTaskQueueResponse.Builder
setTaskToken(com.google.protobuf.ByteString value)
A unique identifier for this taskPollWorkflowTaskQueueResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PollWorkflowTaskQueueResponse.Builder
setWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
PollWorkflowTaskQueueResponse.Builder
setWorkflowExecution(WorkflowExecution.Builder builderForValue)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
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.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.PollWorkflowTaskQueueResponse.Builder
setWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
PollWorkflowTaskQueueResponse.Builder
setWorkflowType(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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
clear
public PollWorkflowTaskQueueResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
getDefaultInstanceForType
public PollWorkflowTaskQueueResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PollWorkflowTaskQueueResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PollWorkflowTaskQueueResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PollWorkflowTaskQueueResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
setField
public PollWorkflowTaskQueueResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
clearField
public PollWorkflowTaskQueueResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
clearOneof
public PollWorkflowTaskQueueResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
addRepeatedField
public PollWorkflowTaskQueueResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
mergeFrom
public PollWorkflowTaskQueueResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PollWorkflowTaskQueueResponse.Builder>
-
mergeFrom
public PollWorkflowTaskQueueResponse.Builder mergeFrom(PollWorkflowTaskQueueResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getTaskToken
in 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:
hasWorkflowExecution
in interfacePollWorkflowTaskQueueResponseOrBuilder
- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- Specified by:
getWorkflowExecution
in 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:
getWorkflowExecutionOrBuilder
in interfacePollWorkflowTaskQueueResponseOrBuilder
-
hasWorkflowType
public boolean hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
- Specified by:
hasWorkflowType
in interfacePollWorkflowTaskQueueResponseOrBuilder
- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
public WorkflowType getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
- Specified by:
getWorkflowType
in 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:
getWorkflowTypeOrBuilder
in 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:
getPreviousStartedEventId
in 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.
int64 started_event_id = 5;
- Specified by:
getStartedEventId
in 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.
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.
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:
getAttempt
in 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. Can be used to prioritize draining a sticky queue before polling from a normal queue.
int64 backlog_count_hint = 7;
- Specified by:
getBacklogCountHint
in interfacePollWorkflowTaskQueueResponseOrBuilder
- Returns:
- The backlogCountHint.
-
setBacklogCountHint
public PollWorkflowTaskQueueResponse.Builder setBacklogCountHint(long value)
A hint that there are more tasks already present in this task queue. Can be used to prioritize draining a sticky queue before polling from a normal queue.
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. Can be used to prioritize draining a sticky queue before polling from a normal queue.
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:
hasHistory
in 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:
getHistory
in 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:
getHistoryOrBuilder
in 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:
getNextPageToken
in 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:
hasQuery
in 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:
getQuery
in 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:
getQueryOrBuilder
in 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:
hasWorkflowExecutionTaskQueue
in 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:
getWorkflowExecutionTaskQueue
in 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:
getWorkflowExecutionTaskQueueOrBuilder
in interfacePollWorkflowTaskQueueResponseOrBuilder
-
hasScheduledTime
public boolean hasScheduledTime()
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12 [(.gogoproto.stdtime) = true];
- Specified by:
hasScheduledTime
in 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 [(.gogoproto.stdtime) = true];
- Specified by:
getScheduledTime
in 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 [(.gogoproto.stdtime) = true];
-
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 [(.gogoproto.stdtime) = true];
-
mergeScheduledTime
public PollWorkflowTaskQueueResponse.Builder mergeScheduledTime(com.google.protobuf.Timestamp value)
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12 [(.gogoproto.stdtime) = true];
-
clearScheduledTime
public PollWorkflowTaskQueueResponse.Builder clearScheduledTime()
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12 [(.gogoproto.stdtime) = true];
-
getScheduledTimeBuilder
public com.google.protobuf.Timestamp.Builder getScheduledTimeBuilder()
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12 [(.gogoproto.stdtime) = true];
-
getScheduledTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12 [(.gogoproto.stdtime) = true];
- Specified by:
getScheduledTimeOrBuilder
in interfacePollWorkflowTaskQueueResponseOrBuilder
-
hasStartedTime
public boolean hasStartedTime()
When the current workflow task started event was generated, meaning the current attempt.
.google.protobuf.Timestamp started_time = 13 [(.gogoproto.stdtime) = true];
- Specified by:
hasStartedTime
in 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 [(.gogoproto.stdtime) = true];
- Specified by:
getStartedTime
in 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 [(.gogoproto.stdtime) = true];
-
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 [(.gogoproto.stdtime) = true];
-
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 [(.gogoproto.stdtime) = true];
-
clearStartedTime
public PollWorkflowTaskQueueResponse.Builder clearStartedTime()
When the current workflow task started event was generated, meaning the current attempt.
.google.protobuf.Timestamp started_time = 13 [(.gogoproto.stdtime) = true];
-
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 [(.gogoproto.stdtime) = true];
-
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 [(.gogoproto.stdtime) = true];
- Specified by:
getStartedTimeOrBuilder
in interfacePollWorkflowTaskQueueResponseOrBuilder
-
getQueriesCount
public int getQueriesCount()
Description copied from interface:PollWorkflowTaskQueueResponseOrBuilder
Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results`
map<string, .temporal.api.query.v1.WorkflowQuery> queries = 14;
- Specified by:
getQueriesCount
in 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:
containsQueries
in interfacePollWorkflowTaskQueueResponseOrBuilder
-
getQueries
@Deprecated public java.util.Map<java.lang.String,WorkflowQuery> getQueries()
Deprecated.UsegetQueriesMap()
instead.- Specified by:
getQueries
in 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:
getQueriesMap
in 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:
getQueriesOrDefault
in 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:
getQueriesOrThrow
in 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;
-
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:
getMessagesList
in interfacePollWorkflowTaskQueueResponseOrBuilder
-
getMessagesCount
public int getMessagesCount()
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 15;
- Specified by:
getMessagesCount
in 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:
getMessages
in 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:
getMessagesOrBuilder
in 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:
getMessagesOrBuilderList
in 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;
-
setUnknownFields
public final PollWorkflowTaskQueueResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
mergeUnknownFields
public final PollWorkflowTaskQueueResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueResponse.Builder>
-
-