Skip to main content

Class: ExternalWorkflowExecutionSignaledEventAttributes

history.v1.ExternalWorkflowExecutionSignaledEventAttributes

Represents an ExternalWorkflowExecutionSignaledEventAttributes.

Implements#

Constructors#

constructor#

new ExternalWorkflowExecutionSignaledEventAttributes(properties?)

Constructs a new ExternalWorkflowExecutionSignaledEventAttributes.

Parameters#

NameType
properties?IExternalWorkflowExecutionSignaledEventAttributes

Properties#

control#

control: string

ExternalWorkflowExecutionSignaledEventAttributes control.

Implementation of#

IExternalWorkflowExecutionSignaledEventAttributes.control


initiatedEventId#

initiatedEventId: Long

ExternalWorkflowExecutionSignaledEventAttributes initiatedEventId.

Implementation of#

IExternalWorkflowExecutionSignaledEventAttributes.initiatedEventId


namespace#

namespace: string

ExternalWorkflowExecutionSignaledEventAttributes namespace.

Implementation of#

IExternalWorkflowExecutionSignaledEventAttributes.namespace


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

ExternalWorkflowExecutionSignaledEventAttributes workflowExecution.

Implementation of#

IExternalWorkflowExecutionSignaledEventAttributes.workflowExecution

Methods#

toJSON#

toJSON(): Object

Converts this ExternalWorkflowExecutionSignaledEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ExternalWorkflowExecutionSignaledEventAttributes

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

ExternalWorkflowExecutionSignaledEventAttributes

ExternalWorkflowExecutionSignaledEventAttributes


decodeDelimited#

Static decodeDelimited(reader): ExternalWorkflowExecutionSignaledEventAttributes

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

ExternalWorkflowExecutionSignaledEventAttributes

ExternalWorkflowExecutionSignaledEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ExternalWorkflowExecutionSignaledEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ExternalWorkflowExecutionSignaledEventAttributes

ExternalWorkflowExecutionSignaledEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageExternalWorkflowExecutionSignaledEventAttributesExternalWorkflowExecutionSignaledEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object