Skip to main content

Class: StartTimeFilter

filter.v1.StartTimeFilter

Represents a StartTimeFilter.

Implements#

Constructors#

constructor#

new StartTimeFilter(properties?)

Constructs a new StartTimeFilter.

Parameters#

NameType
properties?IStartTimeFilter

Properties#

earliestTime#

Optional earliestTime: null | ITimestamp

StartTimeFilter earliestTime.

Implementation of#

IStartTimeFilter.earliestTime


latestTime#

Optional latestTime: null | ITimestamp

StartTimeFilter latestTime.

Implementation of#

IStartTimeFilter.latestTime

Methods#

toJSON#

toJSON(): Object

Converts this StartTimeFilter to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): StartTimeFilter

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

StartTimeFilter

StartTimeFilter


decodeDelimited#

Static decodeDelimited(reader): StartTimeFilter

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

StartTimeFilter

StartTimeFilter


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): StartTimeFilter

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

StartTimeFilter

StartTimeFilter


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageStartTimeFilterStartTimeFilter
options?IConversionOptions-

Returns#

Object

Plain object