Class: WorkflowExecutionUpdateAcceptedEventAttributes
history.v1.WorkflowExecutionUpdateAcceptedEventAttributes
Represents a WorkflowExecutionUpdateAcceptedEventAttributes.
Implements
Constructors
constructor
• new WorkflowExecutionUpdateAcceptedEventAttributes(properties?
): WorkflowExecutionUpdateAcceptedEventAttributes
Constructs a new WorkflowExecutionUpdateAcceptedEventAttributes.
Parameters
Name | Type | Description |
---|---|---|
properties? | IWorkflowExecutionUpdateAcceptedEventAttributes | Properties to set |
Returns
WorkflowExecutionUpdateAcceptedEventAttributes
Properties
acceptedRequest
• Optional
acceptedRequest: null
| IRequest
The message payload of the original request message that initiated this update.
Implementation of
IWorkflowExecutionUpdateAcceptedEventAttributes.acceptedRequest
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.
Implementation of
IWorkflowExecutionUpdateAcceptedEventAttributes.acceptedRequestMessageId
acceptedRequestSequencingEventId
• acceptedRequestSequencingEventId: Long
The event ID used to sequence the original request message.
Implementation of
IWorkflowExecutionUpdateAcceptedEventAttributes.acceptedRequestSequencingEventId
protocolInstanceId
• protocolInstanceId: string
The instance ID of the update protocol that generated this event.
Implementation of
IWorkflowExecutionUpdateAcceptedEventAttributes.protocolInstanceId
Methods
toJSON
▸ toJSON(): Object
Converts this WorkflowExecutionUpdateAcceptedEventAttributes to JSON.
Returns
Object
JSON object
create
▸ create(properties?
): WorkflowExecutionUpdateAcceptedEventAttributes
Creates a new WorkflowExecutionUpdateAcceptedEventAttributes instance using the specified properties.
Parameters
Name | Type | Description |
---|---|---|
properties? | IWorkflowExecutionUpdateAcceptedEventAttributes | Properties to set |
Returns
WorkflowExecutionUpdateAcceptedEventAttributes
WorkflowExecutionUpdateAcceptedEventAttributes instance
decode
▸ decode(reader
, length?
): WorkflowExecutionUpdateAcceptedEventAttributes
Decodes a WorkflowExecutionUpdateAcceptedEventAttributes 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
WorkflowExecutionUpdateAcceptedEventAttributes
WorkflowExecutionUpdateAcceptedEventAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader
): WorkflowExecutionUpdateAcceptedEventAttributes
Decodes a WorkflowExecutionUpdateAcceptedEventAttributes message from the specified reader or buffer, length delimited.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
WorkflowExecutionUpdateAcceptedEventAttributes
WorkflowExecutionUpdateAcceptedEventAttributes
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 WorkflowExecutionUpdateAcceptedEventAttributes message. Does not implicitly temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | IWorkflowExecutionUpdateAcceptedEventAttributes | WorkflowExecutionUpdateAcceptedEventAttributes message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message
, writer?
): Writer
Encodes the specified WorkflowExecutionUpdateAcceptedEventAttributes message, length delimited. Does not implicitly temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | IWorkflowExecutionUpdateAcceptedEventAttributes | WorkflowExecutionUpdateAcceptedEventAttributes message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object
): WorkflowExecutionUpdateAcceptedEventAttributes
Creates a WorkflowExecutionUpdateAcceptedEventAttributes message from a plain object. Also converts values to their respective internal types.
Parameters
Name | Type | Description |
---|---|---|
object | Object | Plain object |
Returns
WorkflowExecutionUpdateAcceptedEventAttributes
WorkflowExecutionUpdateAcceptedEventAttributes
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?
): string
Gets the default type url for WorkflowExecutionUpdateAcceptedEventAttributes
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 WorkflowExecutionUpdateAcceptedEventAttributes message. Also converts values to other types if specified.
Parameters
Name | Type | Description |
---|---|---|
message | WorkflowExecutionUpdateAcceptedEventAttributes | WorkflowExecutionUpdateAcceptedEventAttributes |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object