Skip to main content

Class: SleepUntilRequest

testservice.v1.SleepUntilRequest

Represents a SleepUntilRequest.

Properties

timestamp

Optional timestamp: null | $Properties

SleepUntilRequest timestamp.

Methods

toJSON

toJSON(): Object

Converts this SleepUntilRequest to JSON.

Returns

Object

JSON object


create

create(properties?): SleepUntilRequest & $Properties

Creates a new SleepUntilRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

SleepUntilRequest & $Properties

SleepUntilRequest instance

create(properties?): SleepUntilRequest

Parameters

NameType
properties?$Properties

Returns

SleepUntilRequest


decode

decode(reader, length?): SleepUntilRequest & $Properties

Decodes a SleepUntilRequest message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

SleepUntilRequest & $Properties

SleepUntilRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): SleepUntilRequest & $Properties

Decodes a SleepUntilRequest message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

SleepUntilRequest & $Properties

SleepUntilRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

Encodes the specified SleepUntilRequest message. Does not implicitly temporal.api.testservice.v1.SleepUntilRequest.verify|verify messages.

Parameters

NameTypeDescription
message$PropertiesSleepUntilRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified SleepUntilRequest message, length delimited. Does not implicitly temporal.api.testservice.v1.SleepUntilRequest.verify|verify messages.

Parameters

NameTypeDescription
message$PropertiesSleepUntilRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): SleepUntilRequest

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

SleepUntilRequest

SleepUntilRequest


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageSleepUntilRequestSleepUntilRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object