Skip to main content

Class: ExternalWorkflowExecutionSignaledEventAttributes

history.v1.ExternalWorkflowExecutionSignaledEventAttributes

Represents an ExternalWorkflowExecutionSignaledEventAttributes.

Properties

control

control: string

Deprecated.


initiatedEventId

initiatedEventId: Long

id of the SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED event this event corresponds to


namespace

namespace: string

Namespace of the workflow which was signaled. SDKs and UI tools should use namespace field but server must use namespace_id only.


namespaceId

namespaceId: string

ExternalWorkflowExecutionSignaledEventAttributes namespaceId.


workflowExecution

Optional workflowExecution: null | $Properties

ExternalWorkflowExecutionSignaledEventAttributes workflowExecution.

Methods

toJSON

toJSON(): Object

Converts this ExternalWorkflowExecutionSignaledEventAttributes to JSON.

Returns

Object

JSON object


create

create(properties?): ExternalWorkflowExecutionSignaledEventAttributes & $Properties

Creates a new ExternalWorkflowExecutionSignaledEventAttributes instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

ExternalWorkflowExecutionSignaledEventAttributes & $Properties

ExternalWorkflowExecutionSignaledEventAttributes instance

create(properties?): ExternalWorkflowExecutionSignaledEventAttributes

Parameters

NameType
properties?$Properties

Returns

ExternalWorkflowExecutionSignaledEventAttributes


decode

decode(reader, length?): ExternalWorkflowExecutionSignaledEventAttributes & $Properties

Decodes an ExternalWorkflowExecutionSignaledEventAttributes message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

ExternalWorkflowExecutionSignaledEventAttributes & $Properties

ExternalWorkflowExecutionSignaledEventAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): ExternalWorkflowExecutionSignaledEventAttributes & $Properties

Decodes an ExternalWorkflowExecutionSignaledEventAttributes message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ExternalWorkflowExecutionSignaledEventAttributes & $Properties

ExternalWorkflowExecutionSignaledEventAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesExternalWorkflowExecutionSignaledEventAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesExternalWorkflowExecutionSignaledEventAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

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

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageExternalWorkflowExecutionSignaledEventAttributesExternalWorkflowExecutionSignaledEventAttributes
options?IConversionOptionsConversion options

Returns

Object

Plain object