Skip to main content

Class: MarkerRecordedEventAttributes

history.v1.MarkerRecordedEventAttributes

Represents a MarkerRecordedEventAttributes.

Implements#

Constructors#

constructor#

new MarkerRecordedEventAttributes(properties?)

Constructs a new MarkerRecordedEventAttributes.

Parameters#

NameType
properties?IMarkerRecordedEventAttributes

Properties#

details#

details: Object

MarkerRecordedEventAttributes details.

Index signature#

▪ [k: string]: IPayloads

Implementation of#

IMarkerRecordedEventAttributes.details


failure#

Optional failure: null | IFailure

MarkerRecordedEventAttributes failure.

Implementation of#

IMarkerRecordedEventAttributes.failure


header#

Optional header: null | IHeader

MarkerRecordedEventAttributes header.

Implementation of#

IMarkerRecordedEventAttributes.header


markerName#

markerName: string

MarkerRecordedEventAttributes markerName.

Implementation of#

IMarkerRecordedEventAttributes.markerName


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

MarkerRecordedEventAttributes workflowTaskCompletedEventId.

Implementation of#

IMarkerRecordedEventAttributes.workflowTaskCompletedEventId

Methods#

toJSON#

toJSON(): Object

Converts this MarkerRecordedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): MarkerRecordedEventAttributes

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

MarkerRecordedEventAttributes

MarkerRecordedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): MarkerRecordedEventAttributes

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

MarkerRecordedEventAttributes

MarkerRecordedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): MarkerRecordedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

MarkerRecordedEventAttributes

MarkerRecordedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageMarkerRecordedEventAttributesMarkerRecordedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object