Class: ExecuteMultiOperationResponse
workflowservice.v1.ExecuteMultiOperationResponse
IMPORTANT: For [StartWorkflow, UpdateWorkflow] combination ("Update-with-Start") when both
- the workflow update for the requested update ID has already completed, and
- the workflow for the requested workflow ID has already been closed, then you'll receive
- an update response containing the update's outcome, and
- a start response with a
statusfield that reflects the workflow's current state.
Properties
responses
• responses: $Properties[]
ExecuteMultiOperationResponse responses.
Methods
toJSON
▸ toJSON(): Object
Converts this ExecuteMultiOperationResponse to JSON.
Returns
Object
JSON object
create
▸ create(properties?): ExecuteMultiOperationResponse & $Shape
Creates a new ExecuteMultiOperationResponse instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | $Shape | Properties to set |
Returns
ExecuteMultiOperationResponse & $Shape
ExecuteMultiOperationResponse instance
▸ create(properties?): ExecuteMultiOperationResponse
Parameters
| Name | Type |
|---|---|
properties? | $Properties |
Returns
decode
▸ decode(reader, length?): ExecuteMultiOperationResponse & $Shape
Decodes an ExecuteMultiOperationResponse 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
ExecuteMultiOperationResponse & $Shape
ExecuteMultiOperationResponse
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): ExecuteMultiOperationResponse & $Shape
Decodes an ExecuteMultiOperationResponse message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
ExecuteMultiOperationResponse & $Shape
ExecuteMultiOperationResponse
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 ExecuteMultiOperationResponse message. Does not implicitly temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | $Properties | ExecuteMultiOperationResponse message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message, writer?): Writer
Encodes the specified ExecuteMultiOperationResponse message, length delimited. Does not implicitly temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | $Properties | ExecuteMultiOperationResponse message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object): ExecuteMultiOperationResponse
Creates an ExecuteMultiOperationResponse message from a plain object. Also converts values to their respective internal types.
Parameters
| Name | Type | Description |
|---|---|---|
object | Object | Plain object |
Returns
ExecuteMultiOperationResponse
toObject
▸ toObject(message, options?): Object
Creates a plain object from an ExecuteMultiOperationResponse message. Also converts values to other types if specified.
Parameters
| Name | Type | Description |
|---|---|---|
message | ExecuteMultiOperationResponse | ExecuteMultiOperationResponse |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object