Skip to main content

Class: CompleteWorkflowExecutionCommandAttributes

command.v1.CompleteWorkflowExecutionCommandAttributes

Represents a CompleteWorkflowExecutionCommandAttributes.

Implements#

Constructors#

constructor#

new CompleteWorkflowExecutionCommandAttributes(properties?)

Constructs a new CompleteWorkflowExecutionCommandAttributes.

Parameters#

NameType
properties?ICompleteWorkflowExecutionCommandAttributes

Properties#

result#

Optional result: null | IPayloads

CompleteWorkflowExecutionCommandAttributes result.

Implementation of#

ICompleteWorkflowExecutionCommandAttributes.result

Methods#

toJSON#

toJSON(): Object

Converts this CompleteWorkflowExecutionCommandAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): CompleteWorkflowExecutionCommandAttributes

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

CompleteWorkflowExecutionCommandAttributes

CompleteWorkflowExecutionCommandAttributes


decodeDelimited#

Static decodeDelimited(reader): CompleteWorkflowExecutionCommandAttributes

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

CompleteWorkflowExecutionCommandAttributes

CompleteWorkflowExecutionCommandAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): CompleteWorkflowExecutionCommandAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

CompleteWorkflowExecutionCommandAttributes

CompleteWorkflowExecutionCommandAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageCompleteWorkflowExecutionCommandAttributesCompleteWorkflowExecutionCommandAttributes
options?IConversionOptions-

Returns#

Object

Plain object