Class: WorkflowExecutionUpdateRejectedEventAttributes
Represents a WorkflowExecutionUpdateRejectedEventAttributes.
Properties
failure?
optionalfailure?:$Properties|null
The cause of rejection.
protocolInstanceId
protocolInstanceId:
string
The instance ID of the update protocol that generated this event.
rejectedRequest?
optionalrejectedRequest?:$Properties|null
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()
Call Signature
staticcreate(properties?):WorkflowExecutionUpdateRejectedEventAttributes&$Shape
Creates a new WorkflowExecutionUpdateRejectedEventAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowExecutionUpdateRejectedEventAttributes & $Shape
WorkflowExecutionUpdateRejectedEventAttributes instance
Call Signature
staticcreate(properties?):WorkflowExecutionUpdateRejectedEventAttributes
Creates a new WorkflowExecutionUpdateRejectedEventAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowExecutionUpdateRejectedEventAttributes
WorkflowExecutionUpdateRejectedEventAttributes instance
decode()
staticdecode(reader,length?):WorkflowExecutionUpdateRejectedEventAttributes&$Shape
Decodes a WorkflowExecutionUpdateRejectedEventAttributes 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
WorkflowExecutionUpdateRejectedEventAttributes & $Shape
WorkflowExecutionUpdateRejectedEventAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):WorkflowExecutionUpdateRejectedEventAttributes&$Shape
Decodes a WorkflowExecutionUpdateRejectedEventAttributes message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader 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()
staticencode(message,writer?):Writer
Encodes the specified WorkflowExecutionUpdateRejectedEventAttributes message. Does not implicitly temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.verify|verify messages.
Parameters
message
WorkflowExecutionUpdateRejectedEventAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified WorkflowExecutionUpdateRejectedEventAttributes message, length delimited. Does not implicitly temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.verify|verify messages.
Parameters
message
WorkflowExecutionUpdateRejectedEventAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):WorkflowExecutionUpdateRejectedEventAttributes
Creates a WorkflowExecutionUpdateRejectedEventAttributes message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
WorkflowExecutionUpdateRejectedEventAttributes
WorkflowExecutionUpdateRejectedEventAttributes
toObject()
statictoObject(message,options?):object
Creates a plain object from a WorkflowExecutionUpdateRejectedEventAttributes message. Also converts values to other types if specified.
Parameters
message
WorkflowExecutionUpdateRejectedEventAttributes
WorkflowExecutionUpdateRejectedEventAttributes
options?
IConversionOptions
Conversion options
Returns
object
Plain object