Skip to main content

Class: UpsertWorkflowSearchAttributesEventAttributes

history.v1.UpsertWorkflowSearchAttributesEventAttributes

Represents an UpsertWorkflowSearchAttributesEventAttributes.

Implements#

Constructors#

constructor#

new UpsertWorkflowSearchAttributesEventAttributes(properties?)

Constructs a new UpsertWorkflowSearchAttributesEventAttributes.

Parameters#

NameType
properties?IUpsertWorkflowSearchAttributesEventAttributes

Properties#

searchAttributes#

Optional searchAttributes: null | ISearchAttributes

UpsertWorkflowSearchAttributesEventAttributes searchAttributes.

Implementation of#

IUpsertWorkflowSearchAttributesEventAttributes.searchAttributes


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

UpsertWorkflowSearchAttributesEventAttributes workflowTaskCompletedEventId.

Implementation of#

IUpsertWorkflowSearchAttributesEventAttributes.workflowTaskCompletedEventId

Methods#

toJSON#

toJSON(): Object

Converts this UpsertWorkflowSearchAttributesEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): UpsertWorkflowSearchAttributesEventAttributes

Decodes an UpsertWorkflowSearchAttributesEventAttributes 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#

UpsertWorkflowSearchAttributesEventAttributes

UpsertWorkflowSearchAttributesEventAttributes


decodeDelimited#

Static decodeDelimited(reader): UpsertWorkflowSearchAttributesEventAttributes

Decodes an UpsertWorkflowSearchAttributesEventAttributes 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#

UpsertWorkflowSearchAttributesEventAttributes

UpsertWorkflowSearchAttributesEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): UpsertWorkflowSearchAttributesEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

UpsertWorkflowSearchAttributesEventAttributes

UpsertWorkflowSearchAttributesEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageUpsertWorkflowSearchAttributesEventAttributesUpsertWorkflowSearchAttributesEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object