Skip to main content

Class: PollActivityTaskQueueResponse

workflowservice.v1.PollActivityTaskQueueResponse

Represents a PollActivityTaskQueueResponse.

Implements

Constructors

constructor

new PollActivityTaskQueueResponse(properties?)

Constructs a new PollActivityTaskQueueResponse.

Parameters

NameTypeDescription
properties?IPollActivityTaskQueueResponseProperties to set

Properties

activityId

activityId: string

PollActivityTaskQueueResponse activityId.

Implementation of

IPollActivityTaskQueueResponse.activityId


activityType

Optional activityType: null | IActivityType

PollActivityTaskQueueResponse activityType.

Implementation of

IPollActivityTaskQueueResponse.activityType


attempt

attempt: number

PollActivityTaskQueueResponse attempt.

Implementation of

IPollActivityTaskQueueResponse.attempt


currentAttemptScheduledTime

Optional currentAttemptScheduledTime: null | ITimestamp

PollActivityTaskQueueResponse currentAttemptScheduledTime.

Implementation of

IPollActivityTaskQueueResponse.currentAttemptScheduledTime


Optional header: null | IHeader

PollActivityTaskQueueResponse header.

Implementation of

IPollActivityTaskQueueResponse.header


heartbeatDetails

Optional heartbeatDetails: null | IPayloads

PollActivityTaskQueueResponse heartbeatDetails.

Implementation of

IPollActivityTaskQueueResponse.heartbeatDetails


heartbeatTimeout

Optional heartbeatTimeout: null | IDuration

PollActivityTaskQueueResponse heartbeatTimeout.

Implementation of

IPollActivityTaskQueueResponse.heartbeatTimeout


input

Optional input: null | IPayloads

PollActivityTaskQueueResponse input.

Implementation of

IPollActivityTaskQueueResponse.input


retryPolicy

Optional retryPolicy: null | IRetryPolicy

PollActivityTaskQueueResponse retryPolicy.

Implementation of

IPollActivityTaskQueueResponse.retryPolicy


scheduleToCloseTimeout

Optional scheduleToCloseTimeout: null | IDuration

PollActivityTaskQueueResponse scheduleToCloseTimeout.

Implementation of

IPollActivityTaskQueueResponse.scheduleToCloseTimeout


scheduledTime

Optional scheduledTime: null | ITimestamp

PollActivityTaskQueueResponse scheduledTime.

Implementation of

IPollActivityTaskQueueResponse.scheduledTime


startToCloseTimeout

Optional startToCloseTimeout: null | IDuration

PollActivityTaskQueueResponse startToCloseTimeout.

Implementation of

IPollActivityTaskQueueResponse.startToCloseTimeout


startedTime

Optional startedTime: null | ITimestamp

PollActivityTaskQueueResponse startedTime.

Implementation of

IPollActivityTaskQueueResponse.startedTime


taskToken

taskToken: Uint8Array

PollActivityTaskQueueResponse taskToken.

Implementation of

IPollActivityTaskQueueResponse.taskToken


workflowExecution

Optional workflowExecution: null | IWorkflowExecution

PollActivityTaskQueueResponse workflowExecution.

Implementation of

IPollActivityTaskQueueResponse.workflowExecution


workflowNamespace

workflowNamespace: string

PollActivityTaskQueueResponse workflowNamespace.

Implementation of

IPollActivityTaskQueueResponse.workflowNamespace


workflowType

Optional workflowType: null | IWorkflowType

PollActivityTaskQueueResponse workflowType.

Implementation of

IPollActivityTaskQueueResponse.workflowType

Methods

toJSON

toJSON(): Object

Converts this PollActivityTaskQueueResponse to JSON.

Returns

Object

JSON object


create

Static create(properties?): PollActivityTaskQueueResponse

Creates a new PollActivityTaskQueueResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IPollActivityTaskQueueResponseProperties to set

Returns

PollActivityTaskQueueResponse

PollActivityTaskQueueResponse instance


decode

Static decode(reader, length?): PollActivityTaskQueueResponse

Decodes a PollActivityTaskQueueResponse 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

PollActivityTaskQueueResponse

PollActivityTaskQueueResponse


decodeDelimited

Static decodeDelimited(reader): PollActivityTaskQueueResponse

Decodes a PollActivityTaskQueueResponse 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

PollActivityTaskQueueResponse

PollActivityTaskQueueResponse


encode

Static encode(message, writer?): Writer

Encodes the specified PollActivityTaskQueueResponse message. Does not implicitly temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

Static encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

Static fromObject(object): PollActivityTaskQueueResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

PollActivityTaskQueueResponse

PollActivityTaskQueueResponse


getTypeUrl

Static getTypeUrl(typeUrlPrefix?): string

Gets the default type url for PollActivityTaskQueueResponse

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 PollActivityTaskQueueResponse message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messagePollActivityTaskQueueResponsePollActivityTaskQueueResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object