Skip to main content

Class: WorkflowExecutionUpdateAcceptedEventAttributes

Represents a WorkflowExecutionUpdateAcceptedEventAttributes.

Properties​

acceptedRequest?​

optional acceptedRequest?: $Properties | null

The message payload of the original request message that initiated this update.


acceptedRequestMessageId​

acceptedRequestMessageId: string

The message ID of the original request message that initiated this update. Needed so that the worker can recreate and deliver that same message as part of replay.


acceptedRequestSequencingEventId​

acceptedRequestSequencingEventId: Long

The event ID used to sequence the original request message.


protocolInstanceId​

protocolInstanceId: string

The instance ID of the update protocol that generated this event.

Methods​

toJSON()​

toJSON(): object

Converts this WorkflowExecutionUpdateAcceptedEventAttributes to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): WorkflowExecutionUpdateAcceptedEventAttributes & $Shape

Creates a new WorkflowExecutionUpdateAcceptedEventAttributes instance using the specified properties.

Parameters​
properties?​

$Shape

Properties to set

Returns​

WorkflowExecutionUpdateAcceptedEventAttributes & $Shape

WorkflowExecutionUpdateAcceptedEventAttributes instance

Call Signature​

static create(properties?): WorkflowExecutionUpdateAcceptedEventAttributes

Creates a new WorkflowExecutionUpdateAcceptedEventAttributes instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

WorkflowExecutionUpdateAcceptedEventAttributes

WorkflowExecutionUpdateAcceptedEventAttributes instance


decode()​

static decode(reader, length?): WorkflowExecutionUpdateAcceptedEventAttributes & $Shape

Decodes a WorkflowExecutionUpdateAcceptedEventAttributes message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

WorkflowExecutionUpdateAcceptedEventAttributes & $Shape

WorkflowExecutionUpdateAcceptedEventAttributes

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): WorkflowExecutionUpdateAcceptedEventAttributes & $Shape

Decodes a WorkflowExecutionUpdateAcceptedEventAttributes message from the specified reader or buffer, length delimited.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

WorkflowExecutionUpdateAcceptedEventAttributes & $Shape

WorkflowExecutionUpdateAcceptedEventAttributes

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

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

Parameters​

message​

$Properties

WorkflowExecutionUpdateAcceptedEventAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

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

Parameters​

message​

$Properties

WorkflowExecutionUpdateAcceptedEventAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): WorkflowExecutionUpdateAcceptedEventAttributes

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

Parameters​

object​

Plain object

Returns​

WorkflowExecutionUpdateAcceptedEventAttributes

WorkflowExecutionUpdateAcceptedEventAttributes


toObject()​

static toObject(message, options?): object

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

Parameters​

message​

WorkflowExecutionUpdateAcceptedEventAttributes

WorkflowExecutionUpdateAcceptedEventAttributes

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object