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 PollWorkflowTaskQueueResponseOrBuilder
Protobuf typetemporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PollWorkflowTaskQueueResponse.Builder
Protobuf 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 int
ATTEMPT_FIELD_NUMBER
static int
BACKLOG_COUNT_HINT_FIELD_NUMBER
static int
HISTORY_FIELD_NUMBER
static int
MESSAGES_FIELD_NUMBER
static int
NEXT_PAGE_TOKEN_FIELD_NUMBER
static int
PREVIOUS_STARTED_EVENT_ID_FIELD_NUMBER
static int
QUERIES_FIELD_NUMBER
static int
QUERY_FIELD_NUMBER
static int
SCHEDULED_TIME_FIELD_NUMBER
static int
STARTED_EVENT_ID_FIELD_NUMBER
static int
STARTED_TIME_FIELD_NUMBER
static int
TASK_TOKEN_FIELD_NUMBER
static int
WORKFLOW_EXECUTION_FIELD_NUMBER
static int
WORKFLOW_EXECUTION_TASK_QUEUE_FIELD_NUMBER
static int
WORKFLOW_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsQueries(java.lang.String key)
Queries that should be executed after applying the history in this task.boolean
equals(java.lang.Object obj)
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.static PollWorkflowTaskQueueResponse
getDefaultInstance()
PollWorkflowTaskQueueResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
History
getHistory()
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 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 transportcom.google.protobuf.ByteString
getNextPageToken()
Will be set if there are more history events than were included in this response.com.google.protobuf.Parser<PollWorkflowTaskQueueResponse>
getParserForType()
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.WorkflowQueryOrBuilder
getQueryOrBuilder()
Legacy queries appear in this field.com.google.protobuf.Timestamp
getScheduledTime()
When this task was scheduled by the servercom.google.protobuf.TimestampOrBuilder
getScheduledTimeOrBuilder()
When this task was scheduled by the serverint
getSerializedSize()
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.com.google.protobuf.Timestamp
getStartedTime()
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 taskcom.google.protobuf.UnknownFieldSet
getUnknownFields()
WorkflowExecution
getWorkflowExecution()
.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.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;
WorkflowTypeOrBuilder
getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
int
hashCode()
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)
boolean
isInitialized()
static PollWorkflowTaskQueueResponse.Builder
newBuilder()
static PollWorkflowTaskQueueResponse.Builder
newBuilder(PollWorkflowTaskQueueResponse prototype)
PollWorkflowTaskQueueResponse.Builder
newBuilderForType()
protected PollWorkflowTaskQueueResponse.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static PollWorkflowTaskQueueResponse
parseDelimitedFrom(java.io.InputStream input)
static PollWorkflowTaskQueueResponse
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PollWorkflowTaskQueueResponse
parseFrom(byte[] data)
static PollWorkflowTaskQueueResponse
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PollWorkflowTaskQueueResponse
parseFrom(com.google.protobuf.ByteString data)
static PollWorkflowTaskQueueResponse
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PollWorkflowTaskQueueResponse
parseFrom(com.google.protobuf.CodedInputStream input)
static PollWorkflowTaskQueueResponse
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PollWorkflowTaskQueueResponse
parseFrom(java.io.InputStream input)
static PollWorkflowTaskQueueResponse
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PollWorkflowTaskQueueResponse
parseFrom(java.nio.ByteBuffer data)
static PollWorkflowTaskQueueResponse
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PollWorkflowTaskQueueResponse>
parser()
PollWorkflowTaskQueueResponse.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PollWorkflowTaskQueueResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PollWorkflowTaskQueueResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-