Skip to main content

Class: RecordMarkerCommandAttributes

command.v1.RecordMarkerCommandAttributes

Represents a RecordMarkerCommandAttributes.

Implements

Constructors

constructor

new RecordMarkerCommandAttributes(properties?): RecordMarkerCommandAttributes

Constructs a new RecordMarkerCommandAttributes.

Parameters

NameTypeDescription
properties?IRecordMarkerCommandAttributesProperties to set

Returns

RecordMarkerCommandAttributes

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


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


create

create(properties?): RecordMarkerCommandAttributes

Creates a new RecordMarkerCommandAttributes instance using the specified properties.

Parameters

NameTypeDescription
properties?IRecordMarkerCommandAttributesProperties to set

Returns

RecordMarkerCommandAttributes

RecordMarkerCommandAttributes instance


decode

decode(reader, length?): RecordMarkerCommandAttributes

Decodes a RecordMarkerCommandAttributes message from the specified reader or buffer.

Parameters

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

Returns

RecordMarkerCommandAttributes

RecordMarkerCommandAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): RecordMarkerCommandAttributes

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

RecordMarkerCommandAttributes

RecordMarkerCommandAttributes

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 RecordMarkerCommandAttributes message. Does not implicitly temporal.api.command.v1.RecordMarkerCommandAttributes.verify|verify messages.

Parameters

NameTypeDescription
messageIRecordMarkerCommandAttributesRecordMarkerCommandAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIRecordMarkerCommandAttributesRecordMarkerCommandAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

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


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for RecordMarkerCommandAttributes

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageRecordMarkerCommandAttributesRecordMarkerCommandAttributes
options?IConversionOptionsConversion options

Returns

Object

Plain object