Skip to main content

Class: PollActivityTaskQueueRequest

workflowservice.v1.PollActivityTaskQueueRequest

Represents a PollActivityTaskQueueRequest.

Implements#

Constructors#

constructor#

new PollActivityTaskQueueRequest(properties?)

Constructs a new PollActivityTaskQueueRequest.

Parameters#

NameType
properties?IPollActivityTaskQueueRequest

Properties#

identity#

identity: string

PollActivityTaskQueueRequest identity.

Implementation of#

IPollActivityTaskQueueRequest.identity


namespace#

namespace: string

PollActivityTaskQueueRequest namespace.

Implementation of#

IPollActivityTaskQueueRequest.namespace


taskQueue#

Optional taskQueue: null | ITaskQueue

PollActivityTaskQueueRequest taskQueue.

Implementation of#

IPollActivityTaskQueueRequest.taskQueue


taskQueueMetadata#

Optional taskQueueMetadata: null | ITaskQueueMetadata

PollActivityTaskQueueRequest taskQueueMetadata.

Implementation of#

IPollActivityTaskQueueRequest.taskQueueMetadata

Methods#

toJSON#

toJSON(): Object

Converts this PollActivityTaskQueueRequest to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): PollActivityTaskQueueRequest

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

PollActivityTaskQueueRequest

PollActivityTaskQueueRequest


decodeDelimited#

Static decodeDelimited(reader): PollActivityTaskQueueRequest

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

PollActivityTaskQueueRequest

PollActivityTaskQueueRequest


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): PollActivityTaskQueueRequest

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

PollActivityTaskQueueRequest

PollActivityTaskQueueRequest


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messagePollActivityTaskQueueRequestPollActivityTaskQueueRequest
options?IConversionOptions-

Returns#

Object

Plain object