Skip to main content

Class: RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

Represents a RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.

Implements#

Constructors#

constructor#

new RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(properties?)

Constructs a new RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.

Parameters#

NameType
properties?IRequestCancelExternalWorkflowExecutionInitiatedEventAttributes

Properties#

childWorkflowOnly#

childWorkflowOnly: boolean

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes childWorkflowOnly.

Implementation of#

IRequestCancelExternalWorkflowExecutionInitiatedEventAttributes.childWorkflowOnly


control#

control: string

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes control.

Implementation of#

IRequestCancelExternalWorkflowExecutionInitiatedEventAttributes.control


namespace#

namespace: string

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes namespace.

Implementation of#

IRequestCancelExternalWorkflowExecutionInitiatedEventAttributes.namespace


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes workflowExecution.

Implementation of#

IRequestCancelExternalWorkflowExecutionInitiatedEventAttributes.workflowExecution


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes workflowTaskCompletedEventId.

Implementation of#

IRequestCancelExternalWorkflowExecutionInitiatedEventAttributes.workflowTaskCompletedEventId

Methods#

toJSON#

toJSON(): Object

Converts this RequestCancelExternalWorkflowExecutionInitiatedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

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

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

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

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageRequestCancelExternalWorkflowExecutionInitiatedEventAttributesRequestCancelExternalWorkflowExecutionInitiatedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object