Skip to main content

Class: RecordMarkerCommandAttributes

command.v1.RecordMarkerCommandAttributes

Represents a RecordMarkerCommandAttributes.

Implements#

Constructors#

constructor#

new RecordMarkerCommandAttributes(properties?)

Constructs a new RecordMarkerCommandAttributes.

Parameters#

NameType
properties?IRecordMarkerCommandAttributes

Properties#

details#

details: Object

RecordMarkerCommandAttributes details.

Index signature#

▪ [k: string]: IPayloads

Implementation of#

IRecordMarkerCommandAttributes.details


failure#

Optional failure: null | IFailure

RecordMarkerCommandAttributes failure.

Implementation of#

IRecordMarkerCommandAttributes.failure


header#

Optional header: null | IHeader

RecordMarkerCommandAttributes header.

Implementation of#

IRecordMarkerCommandAttributes.header


markerName#

markerName: string

RecordMarkerCommandAttributes markerName.

Implementation of#

IRecordMarkerCommandAttributes.markerName

Methods#

toJSON#

toJSON(): Object

Converts this RecordMarkerCommandAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): RecordMarkerCommandAttributes

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

RecordMarkerCommandAttributes

RecordMarkerCommandAttributes


decodeDelimited#

Static decodeDelimited(reader): RecordMarkerCommandAttributes

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

RecordMarkerCommandAttributes

RecordMarkerCommandAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): RecordMarkerCommandAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

RecordMarkerCommandAttributes

RecordMarkerCommandAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageRecordMarkerCommandAttributesRecordMarkerCommandAttributes
options?IConversionOptions-

Returns#

Object

Plain object