Class PollWorkflowTaskQueueResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PollWorkflowTaskQueueResponseOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:PollWorkflowTaskQueueResponse.java.pb.meta") public final class PollWorkflowTaskQueueResponse extends com.google.protobuf.GeneratedMessageV3 implements PollWorkflowTaskQueueResponseOrBuilderProtobuf typetemporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPollWorkflowTaskQueueResponse.BuilderProtobuf typetemporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intATTEMPT_FIELD_NUMBERstatic intBACKLOG_COUNT_HINT_FIELD_NUMBERstatic intHISTORY_FIELD_NUMBERstatic intMESSAGES_FIELD_NUMBERstatic intNEXT_PAGE_TOKEN_FIELD_NUMBERstatic intPREVIOUS_STARTED_EVENT_ID_FIELD_NUMBERstatic intQUERIES_FIELD_NUMBERstatic intQUERY_FIELD_NUMBERstatic intSCHEDULED_TIME_FIELD_NUMBERstatic intSTARTED_EVENT_ID_FIELD_NUMBERstatic intSTARTED_TIME_FIELD_NUMBERstatic intTASK_TOKEN_FIELD_NUMBERstatic intWORKFLOW_EXECUTION_FIELD_NUMBERstatic intWORKFLOW_EXECUTION_TASK_QUEUE_FIELD_NUMBERstatic intWORKFLOW_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsQueries(java.lang.String key)Queries that should be executed after applying the history in this task.booleanequals(java.lang.Object obj)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.static PollWorkflowTaskQueueResponsegetDefaultInstance()PollWorkflowTaskQueueResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()HistorygetHistory()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 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 transportcom.google.protobuf.ByteStringgetNextPageToken()Will be set if there are more history events than were included in this response.com.google.protobuf.Parser<PollWorkflowTaskQueueResponse>getParserForType()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.WorkflowQueryOrBuildergetQueryOrBuilder()Legacy queries appear in this field.com.google.protobuf.TimestampgetScheduledTime()When this task was scheduled by the servercom.google.protobuf.TimestampOrBuildergetScheduledTimeOrBuilder()When this task was scheduled by the serverintgetSerializedSize()longgetStartedEventId()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.TimestampOrBuildergetStartedTimeOrBuilder()When the current workflow task started event was generated, meaning the current attempt.com.google.protobuf.ByteStringgetTaskToken()A unique identifier for this taskcom.google.protobuf.UnknownFieldSetgetUnknownFields()WorkflowExecutiongetWorkflowExecution().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.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;WorkflowTypeOrBuildergetWorkflowTypeOrBuilder().temporal.api.common.v1.WorkflowType workflow_type = 3;inthashCode()booleanhasHistory()The history for this workflow, which will either be complete or partial.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.MapFieldinternalGetMapField(int number)booleanisInitialized()static PollWorkflowTaskQueueResponse.BuildernewBuilder()static PollWorkflowTaskQueueResponse.BuildernewBuilder(PollWorkflowTaskQueueResponse prototype)PollWorkflowTaskQueueResponse.BuildernewBuilderForType()protected PollWorkflowTaskQueueResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PollWorkflowTaskQueueResponseparseDelimitedFrom(java.io.InputStream input)static PollWorkflowTaskQueueResponseparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PollWorkflowTaskQueueResponseparseFrom(byte[] data)static PollWorkflowTaskQueueResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PollWorkflowTaskQueueResponseparseFrom(com.google.protobuf.ByteString data)static PollWorkflowTaskQueueResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PollWorkflowTaskQueueResponseparseFrom(com.google.protobuf.CodedInputStream input)static PollWorkflowTaskQueueResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PollWorkflowTaskQueueResponseparseFrom(java.io.InputStream input)static PollWorkflowTaskQueueResponseparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PollWorkflowTaskQueueResponseparseFrom(java.nio.ByteBuffer data)static PollWorkflowTaskQueueResponseparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PollWorkflowTaskQueueResponse>parser()PollWorkflowTaskQueueResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TASK_TOKEN_FIELD_NUMBER
public static final int TASK_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_FIELD_NUMBER
public static final int WORKFLOW_EXECUTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_TYPE_FIELD_NUMBER
public static final int WORKFLOW_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREVIOUS_STARTED_EVENT_ID_FIELD_NUMBER
public static final int PREVIOUS_STARTED_EVENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STARTED_EVENT_ID_FIELD_NUMBER
public static final int STARTED_EVENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTEMPT_FIELD_NUMBER
public static final int ATTEMPT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BACKLOG_COUNT_HINT_FIELD_NUMBER
public static final int BACKLOG_COUNT_HINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HISTORY_FIELD_NUMBER
public static final int HISTORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_TASK_QUEUE_FIELD_NUMBER
public static final int WORKFLOW_EXECUTION_TASK_QUEUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULED_TIME_FIELD_NUMBER
public static final int SCHEDULED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STARTED_TIME_FIELD_NUMBER
public static final int STARTED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERIES_FIELD_NUMBER
public static final int QUERIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGES_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTaskToken
public com.google.protobuf.ByteString getTaskToken()
A unique identifier for this task
bytes task_token = 1;- Specified by:
getTaskTokenin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The taskToken.
-
hasWorkflowExecution
public boolean hasWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
hasWorkflowExecutionin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The workflowExecution.
-
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.
-
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.
-
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:
getStartedEventIdin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The startedEventId.
-
getAttempt
public int getAttempt()
Starting at 1, the number of attempts to complete this task by any worker.
int32 attempt = 6;- Specified by:
getAttemptin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The attempt.
-
getBacklogCountHint
public long getBacklogCountHint()
A hint that there are more tasks already present in this task queue. Can be used to prioritize draining a sticky queue before polling from a normal queue.
int64 backlog_count_hint = 7;- Specified by:
getBacklogCountHintin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The backlogCountHint.
-
hasHistory
public boolean hasHistory()
The history for this workflow, which will either be complete or partial. Partial histories are sent to workers who have signaled that they are using a sticky queue when completing a workflow task.
.temporal.api.history.v1.History history = 8;- Specified by:
hasHistoryin interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- Whether the history field is set.
-
getHistory
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.
-
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.
-
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.
-
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.
-
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 [(.gogoproto.stdtime) = true];- 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 [(.gogoproto.stdtime) = true];- Specified by:
getScheduledTimein interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The scheduledTime.
-
getScheduledTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
When this task was scheduled by the server
.google.protobuf.Timestamp scheduled_time = 12 [(.gogoproto.stdtime) = true];- 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 [(.gogoproto.stdtime) = true];- 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 [(.gogoproto.stdtime) = true];- Specified by:
getStartedTimein interfacePollWorkflowTaskQueueResponseOrBuilder- Returns:
- The startedTime.
-
getStartedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()
When the current workflow task started event was generated, meaning the current attempt.
.google.protobuf.Timestamp started_time = 13 [(.gogoproto.stdtime) = true];- 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
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PollWorkflowTaskQueueResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollWorkflowTaskQueueResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollWorkflowTaskQueueResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollWorkflowTaskQueueResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollWorkflowTaskQueueResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollWorkflowTaskQueueResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollWorkflowTaskQueueResponse parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PollWorkflowTaskQueueResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PollWorkflowTaskQueueResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PollWorkflowTaskQueueResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PollWorkflowTaskQueueResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PollWorkflowTaskQueueResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public PollWorkflowTaskQueueResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PollWorkflowTaskQueueResponse.Builder newBuilder()
-
newBuilder
public static PollWorkflowTaskQueueResponse.Builder newBuilder(PollWorkflowTaskQueueResponse prototype)
-
toBuilder
public PollWorkflowTaskQueueResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PollWorkflowTaskQueueResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PollWorkflowTaskQueueResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PollWorkflowTaskQueueResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<PollWorkflowTaskQueueResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PollWorkflowTaskQueueResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-