Skip to main content

Class: ResetStickyTaskQueueResponse

workflowservice.v1.ResetStickyTaskQueueResponse

Represents a ResetStickyTaskQueueResponse.

Implements#

Constructors#

constructor#

new ResetStickyTaskQueueResponse(properties?)

Constructs a new ResetStickyTaskQueueResponse.

Parameters#

NameType
properties?IResetStickyTaskQueueResponse

Methods#

toJSON#

toJSON(): Object

Converts this ResetStickyTaskQueueResponse to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ResetStickyTaskQueueResponse

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

ResetStickyTaskQueueResponse

ResetStickyTaskQueueResponse


decodeDelimited#

Static decodeDelimited(reader): ResetStickyTaskQueueResponse

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

ResetStickyTaskQueueResponse

ResetStickyTaskQueueResponse


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ResetStickyTaskQueueResponse

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ResetStickyTaskQueueResponse

ResetStickyTaskQueueResponse


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageResetStickyTaskQueueResponseResetStickyTaskQueueResponse
options?IConversionOptions-

Returns#

Object

Plain object