Skip to main content

Class: StartTimerCommandAttributes

command.v1.StartTimerCommandAttributes

Represents a StartTimerCommandAttributes.

Implements#

Constructors#

constructor#

new StartTimerCommandAttributes(properties?)

Constructs a new StartTimerCommandAttributes.

Parameters#

NameType
properties?IStartTimerCommandAttributes

Properties#

startToFireTimeout#

Optional startToFireTimeout: null | IDuration

StartTimerCommandAttributes startToFireTimeout.

Implementation of#

IStartTimerCommandAttributes.startToFireTimeout


timerId#

timerId: string

StartTimerCommandAttributes timerId.

Implementation of#

IStartTimerCommandAttributes.timerId

Methods#

toJSON#

toJSON(): Object

Converts this StartTimerCommandAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): StartTimerCommandAttributes

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

StartTimerCommandAttributes

StartTimerCommandAttributes


decodeDelimited#

Static decodeDelimited(reader): StartTimerCommandAttributes

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

StartTimerCommandAttributes

StartTimerCommandAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): StartTimerCommandAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

StartTimerCommandAttributes

StartTimerCommandAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageStartTimerCommandAttributesStartTimerCommandAttributes
options?IConversionOptions-

Returns#

Object

Plain object