Skip to main content

Class: CancelTimerCommandAttributes

command.v1.CancelTimerCommandAttributes

Represents a CancelTimerCommandAttributes.

Implements#

Constructors#

constructor#

new CancelTimerCommandAttributes(properties?)

Constructs a new CancelTimerCommandAttributes.

Parameters#

NameType
properties?ICancelTimerCommandAttributes

Properties#

timerId#

timerId: string

CancelTimerCommandAttributes timerId.

Implementation of#

ICancelTimerCommandAttributes.timerId

Methods#

toJSON#

toJSON(): Object

Converts this CancelTimerCommandAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): CancelTimerCommandAttributes

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

CancelTimerCommandAttributes

CancelTimerCommandAttributes


decodeDelimited#

Static decodeDelimited(reader): CancelTimerCommandAttributes

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

CancelTimerCommandAttributes

CancelTimerCommandAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): CancelTimerCommandAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

CancelTimerCommandAttributes

CancelTimerCommandAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageCancelTimerCommandAttributesCancelTimerCommandAttributes
options?IConversionOptions-

Returns#

Object

Plain object