Skip to main content

Class: PollWorkflowTaskQueueResponse

workflowservice.v1.PollWorkflowTaskQueueResponse

Represents a PollWorkflowTaskQueueResponse.

Implements#

Constructors#

constructor#

new PollWorkflowTaskQueueResponse(properties?)

Constructs a new PollWorkflowTaskQueueResponse.

Parameters#

NameType
properties?IPollWorkflowTaskQueueResponse

Properties#

attempt#

attempt: number

PollWorkflowTaskQueueResponse attempt.

Implementation of#

IPollWorkflowTaskQueueResponse.attempt


backlogCountHint#

backlogCountHint: Long

PollWorkflowTaskQueueResponse backlogCountHint.

Implementation of#

IPollWorkflowTaskQueueResponse.backlogCountHint


history#

Optional history: null | IHistory

PollWorkflowTaskQueueResponse history.

Implementation of#

IPollWorkflowTaskQueueResponse.history


nextPageToken#

nextPageToken: Uint8Array

PollWorkflowTaskQueueResponse nextPageToken.

Implementation of#

IPollWorkflowTaskQueueResponse.nextPageToken


previousStartedEventId#

previousStartedEventId: Long

PollWorkflowTaskQueueResponse previousStartedEventId.

Implementation of#

IPollWorkflowTaskQueueResponse.previousStartedEventId


queries#

queries: Object

PollWorkflowTaskQueueResponse queries.

Index signature#

▪ [k: string]: IWorkflowQuery

Implementation of#

IPollWorkflowTaskQueueResponse.queries


query#

Optional query: null | IWorkflowQuery

PollWorkflowTaskQueueResponse query.

Implementation of#

IPollWorkflowTaskQueueResponse.query


scheduledTime#

Optional scheduledTime: null | ITimestamp

PollWorkflowTaskQueueResponse scheduledTime.

Implementation of#

IPollWorkflowTaskQueueResponse.scheduledTime


startedEventId#

startedEventId: Long

PollWorkflowTaskQueueResponse startedEventId.

Implementation of#

IPollWorkflowTaskQueueResponse.startedEventId


startedTime#

Optional startedTime: null | ITimestamp

PollWorkflowTaskQueueResponse startedTime.

Implementation of#

IPollWorkflowTaskQueueResponse.startedTime


taskToken#

taskToken: Uint8Array

PollWorkflowTaskQueueResponse taskToken.

Implementation of#

IPollWorkflowTaskQueueResponse.taskToken


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

PollWorkflowTaskQueueResponse workflowExecution.

Implementation of#

IPollWorkflowTaskQueueResponse.workflowExecution


workflowExecutionTaskQueue#

Optional workflowExecutionTaskQueue: null | ITaskQueue

PollWorkflowTaskQueueResponse workflowExecutionTaskQueue.

Implementation of#

IPollWorkflowTaskQueueResponse.workflowExecutionTaskQueue


workflowType#

Optional workflowType: null | IWorkflowType

PollWorkflowTaskQueueResponse workflowType.

Implementation of#

IPollWorkflowTaskQueueResponse.workflowType

Methods#

toJSON#

toJSON(): Object

Converts this PollWorkflowTaskQueueResponse to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): PollWorkflowTaskQueueResponse

Decodes a PollWorkflowTaskQueueResponse message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

PollWorkflowTaskQueueResponse

PollWorkflowTaskQueueResponse


decodeDelimited#

Static decodeDelimited(reader): PollWorkflowTaskQueueResponse

Decodes a PollWorkflowTaskQueueResponse message from the specified reader or buffer, length delimited.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns#

PollWorkflowTaskQueueResponse

PollWorkflowTaskQueueResponse


encode#

Static encode(message, writer?): Writer

Encodes the specified PollWorkflowTaskQueueResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.verify|verify} messages.

Parameters#

NameTypeDescription
messageIPollWorkflowTaskQueueResponsePollWorkflowTaskQueueResponse message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified PollWorkflowTaskQueueResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.verify|verify} messages.

Parameters#

NameTypeDescription
messageIPollWorkflowTaskQueueResponsePollWorkflowTaskQueueResponse message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


fromObject#

Static fromObject(object): PollWorkflowTaskQueueResponse

Creates a PollWorkflowTaskQueueResponse message from a plain object. Also converts values to their respective internal types.

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

PollWorkflowTaskQueueResponse

PollWorkflowTaskQueueResponse


toObject#

Static toObject(message, options?): Object

Creates a plain object from a PollWorkflowTaskQueueResponse message. Also converts values to other types if specified.

Parameters#

NameTypeDescription
messagePollWorkflowTaskQueueResponsePollWorkflowTaskQueueResponse
options?IConversionOptions-

Returns#

Object

Plain object