Skip to main content

Class: PollActivityTaskQueueResponse

workflowservice.v1.PollActivityTaskQueueResponse

Represents a PollActivityTaskQueueResponse.

Implements#

Constructors#

constructor#

new PollActivityTaskQueueResponse(properties?)

Constructs a new PollActivityTaskQueueResponse.

Parameters#

NameType
properties?IPollActivityTaskQueueResponse

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


header#

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


decode#

Static decode(reader, length?): PollActivityTaskQueueResponse

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

PollActivityTaskQueueResponse

PollActivityTaskQueueResponse


decodeDelimited#

Static decodeDelimited(reader): PollActivityTaskQueueResponse

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

PollActivityTaskQueueResponse

PollActivityTaskQueueResponse


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

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


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?IConversionOptions-

Returns#

Object

Plain object