Skip to main content

Class: UpsertWorkflowSearchAttributesCommandAttributes

command.v1.UpsertWorkflowSearchAttributesCommandAttributes

Represents an UpsertWorkflowSearchAttributesCommandAttributes.

Implements#

Constructors#

constructor#

new UpsertWorkflowSearchAttributesCommandAttributes(properties?)

Constructs a new UpsertWorkflowSearchAttributesCommandAttributes.

Parameters#

NameType
properties?IUpsertWorkflowSearchAttributesCommandAttributes

Properties#

searchAttributes#

Optional searchAttributes: null | ISearchAttributes

UpsertWorkflowSearchAttributesCommandAttributes searchAttributes.

Implementation of#

IUpsertWorkflowSearchAttributesCommandAttributes.searchAttributes

Methods#

toJSON#

toJSON(): Object

Converts this UpsertWorkflowSearchAttributesCommandAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): UpsertWorkflowSearchAttributesCommandAttributes

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

UpsertWorkflowSearchAttributesCommandAttributes

UpsertWorkflowSearchAttributesCommandAttributes


decodeDelimited#

Static decodeDelimited(reader): UpsertWorkflowSearchAttributesCommandAttributes

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

UpsertWorkflowSearchAttributesCommandAttributes

UpsertWorkflowSearchAttributesCommandAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): UpsertWorkflowSearchAttributesCommandAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

UpsertWorkflowSearchAttributesCommandAttributes

UpsertWorkflowSearchAttributesCommandAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageUpsertWorkflowSearchAttributesCommandAttributesUpsertWorkflowSearchAttributesCommandAttributes
options?IConversionOptions-

Returns#

Object

Plain object