Skip to main content

Class: WorkflowExecutionCompletedEventAttributes

history.v1.WorkflowExecutionCompletedEventAttributes

Represents a WorkflowExecutionCompletedEventAttributes.

Implements#

Constructors#

constructor#

new WorkflowExecutionCompletedEventAttributes(properties?)

Constructs a new WorkflowExecutionCompletedEventAttributes.

Parameters#

NameType
properties?IWorkflowExecutionCompletedEventAttributes

Properties#

newExecutionRunId#

newExecutionRunId: string

WorkflowExecutionCompletedEventAttributes newExecutionRunId.

Implementation of#

IWorkflowExecutionCompletedEventAttributes.newExecutionRunId


result#

Optional result: null | IPayloads

WorkflowExecutionCompletedEventAttributes result.

Implementation of#

IWorkflowExecutionCompletedEventAttributes.result


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

WorkflowExecutionCompletedEventAttributes workflowTaskCompletedEventId.

Implementation of#

IWorkflowExecutionCompletedEventAttributes.workflowTaskCompletedEventId

Methods#

toJSON#

toJSON(): Object

Converts this WorkflowExecutionCompletedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): WorkflowExecutionCompletedEventAttributes

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

WorkflowExecutionCompletedEventAttributes

WorkflowExecutionCompletedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): WorkflowExecutionCompletedEventAttributes

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

WorkflowExecutionCompletedEventAttributes

WorkflowExecutionCompletedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): WorkflowExecutionCompletedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

WorkflowExecutionCompletedEventAttributes

WorkflowExecutionCompletedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageWorkflowExecutionCompletedEventAttributesWorkflowExecutionCompletedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object