Class: WorkflowExecutionUpdateRejectedEventAttributes
history.v1.WorkflowExecutionUpdateRejectedEventAttributes
Represents a WorkflowExecutionUpdateRejectedEventAttributes.
Implements
Constructors
constructor
• new WorkflowExecutionUpdateRejectedEventAttributes(properties?
): WorkflowExecutionUpdateRejectedEventAttributes
Constructs a new WorkflowExecutionUpdateRejectedEventAttributes.
Parameters
Name | Type | Description |
---|---|---|
properties? | IWorkflowExecutionUpdateRejectedEventAttributes | Properties to set |
Returns
WorkflowExecutionUpdateRejectedEventAttributes
Properties
failure
• Optional
failure: null
| IFailure
The cause of rejection.
Implementation of
IWorkflowExecutionUpdateRejectedEventAttributes.failure
protocolInstanceId
• protocolInstanceId: string
The instance ID of the update protocol that generated this event.
Implementation of
IWorkflowExecutionUpdateRejectedEventAttributes.protocolInstanceId
rejectedRequest
• Optional
rejectedRequest: null
| IRequest
The message payload of the original request message that initiated this update.
Implementation of
IWorkflowExecutionUpdateRejectedEventAttributes.rejectedRequest
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.
Implementation of
IWorkflowExecutionUpdateRejectedEventAttributes.rejectedRequestMessageId
rejectedRequestSequencingEventId
• rejectedRequestSequencingEventId: Long
The event ID used to sequence the original request message.
Implementation of
IWorkflowExecutionUpdateRejectedEventAttributes.rejectedRequestSequencingEventId
Methods
toJSON
▸ toJSON(): Object
Converts this WorkflowExecutionUpdateRejectedEventAttributes to JSON.
Returns
Object
JSON object
create
▸ create(properties?
): WorkflowExecutionUpdateRejectedEventAttributes
Creates a new WorkflowExecutionUpdateRejectedEventAttributes instance using the specified properties.
Parameters
Name | Type | Description |
---|---|---|
properties? | IWorkflowExecutionUpdateRejectedEventAttributes | Properties to set |
Returns
WorkflowExecutionUpdateRejectedEventAttributes
WorkflowExecutionUpdateRejectedEventAttributes instance
decode
▸ decode(reader
, length?
): WorkflowExecutionUpdateRejectedEventAttributes
Decodes a WorkflowExecutionUpdateRejectedEventAttributes message from the specified reader or buffer.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message length if known beforehand |
Returns
WorkflowExecutionUpdateRejectedEventAttributes
WorkflowExecutionUpdateRejectedEventAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader
): WorkflowExecutionUpdateRejectedEventAttributes
Decodes a WorkflowExecutionUpdateRejectedEventAttributes message from the specified reader or buffer, length delimited.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
WorkflowExecutionUpdateRejectedEventAttributes
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
Name | Type | Description |
---|---|---|
message | IWorkflowExecutionUpdateRejectedEventAttributes | WorkflowExecutionUpdateRejectedEventAttributes message or plain object to encode |
writer? | Writer | Writer 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
Name | Type | Description |
---|---|---|
message | IWorkflowExecutionUpdateRejectedEventAttributes | WorkflowExecutionUpdateRejectedEventAttributes message or plain object to encode |
writer? | Writer | Writer 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
Name | Type | Description |
---|---|---|
object | Object | Plain object |
Returns
WorkflowExecutionUpdateRejectedEventAttributes
WorkflowExecutionUpdateRejectedEventAttributes
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?
): string
Gets the default type url for WorkflowExecutionUpdateRejectedEventAttributes
Parameters
Name | Type | Description |
---|---|---|
typeUrlPrefix? | string | your custom typeUrlPrefix(default "type.googleapis.com") |
Returns
string
The default type url
toObject
▸ toObject(message
, options?
): Object
Creates a plain object from a WorkflowExecutionUpdateRejectedEventAttributes message. Also converts values to other types if specified.
Parameters
Name | Type | Description |
---|---|---|
message | WorkflowExecutionUpdateRejectedEventAttributes | WorkflowExecutionUpdateRejectedEventAttributes |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object