Skip to main content

Class: WorkflowExecutionUpdateRejectedEventAttributes

history.v1.WorkflowExecutionUpdateRejectedEventAttributes

Represents a WorkflowExecutionUpdateRejectedEventAttributes.

Properties

failure

Optional failure: null | $Properties

The cause of rejection.


protocolInstanceId

protocolInstanceId: string

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


rejectedRequest

Optional rejectedRequest: null | $Properties

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


rejectedRequestMessageId

rejectedRequestMessageId: 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.


rejectedRequestSequencingEventId

rejectedRequestSequencingEventId: Long

The event ID used to sequence the original request message.

Methods

toJSON

toJSON(): Object

Converts this WorkflowExecutionUpdateRejectedEventAttributes to JSON.

Returns

Object

JSON object


create

create(properties?): WorkflowExecutionUpdateRejectedEventAttributes & $Shape

Creates a new WorkflowExecutionUpdateRejectedEventAttributes instance using the specified properties.

Parameters

NameTypeDescription
properties?$ShapeProperties to set

Returns

WorkflowExecutionUpdateRejectedEventAttributes & $Shape

WorkflowExecutionUpdateRejectedEventAttributes instance

create(properties?): WorkflowExecutionUpdateRejectedEventAttributes

Parameters

NameType
properties?$Properties

Returns

WorkflowExecutionUpdateRejectedEventAttributes


decode

decode(reader, length?): WorkflowExecutionUpdateRejectedEventAttributes & $Shape

Decodes a WorkflowExecutionUpdateRejectedEventAttributes message from the specified reader or buffer.

Parameters

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

Returns

WorkflowExecutionUpdateRejectedEventAttributes & $Shape

WorkflowExecutionUpdateRejectedEventAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): WorkflowExecutionUpdateRejectedEventAttributes & $Shape

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

WorkflowExecutionUpdateRejectedEventAttributes & $Shape

WorkflowExecutionUpdateRejectedEventAttributes

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 WorkflowExecutionUpdateRejectedEventAttributes message. Does not implicitly temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): WorkflowExecutionUpdateRejectedEventAttributes

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

WorkflowExecutionUpdateRejectedEventAttributes

WorkflowExecutionUpdateRejectedEventAttributes


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageWorkflowExecutionUpdateRejectedEventAttributesWorkflowExecutionUpdateRejectedEventAttributes
options?IConversionOptionsConversion options

Returns

Object

Plain object