Skip to main content

Class: PollWorkflowTaskQueueResponse

workflowservice.v1.PollWorkflowTaskQueueResponse

Represents a PollWorkflowTaskQueueResponse.

Implements

Constructors

constructor

new PollWorkflowTaskQueueResponse(properties?)

Constructs a new PollWorkflowTaskQueueResponse.

Parameters

NameTypeDescription
properties?IPollWorkflowTaskQueueResponseProperties to set

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


create

Static create(properties?): PollWorkflowTaskQueueResponse

Creates a new PollWorkflowTaskQueueResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IPollWorkflowTaskQueueResponseProperties to set

Returns

PollWorkflowTaskQueueResponse

PollWorkflowTaskQueueResponse instance


decode

Static decode(reader, length?): PollWorkflowTaskQueueResponse

Decodes a PollWorkflowTaskQueueResponse message from the specified reader or buffer.

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

PollWorkflowTaskQueueResponse

PollWorkflowTaskQueueResponse


decodeDelimited

Static decodeDelimited(reader): PollWorkflowTaskQueueResponse

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

Throws

If the payload is not a reader or valid buffer

Throws

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 temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.verify|verify messages.

Parameters

NameTypeDescription
messageIPollWorkflowTaskQueueResponsePollWorkflowTaskQueueResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

Static encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIPollWorkflowTaskQueueResponsePollWorkflowTaskQueueResponse message or plain object to encode
writer?WriterWriter to encode to

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


getTypeUrl

Static getTypeUrl(typeUrlPrefix?): string

Gets the default type url for PollWorkflowTaskQueueResponse

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


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?IConversionOptionsConversion options

Returns

Object

Plain object