Class: 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()
Call Signature
staticcreate(properties?):ExecuteMultiOperationResponse&$Shape
Creates a new ExecuteMultiOperationResponse instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ExecuteMultiOperationResponse & $Shape
ExecuteMultiOperationResponse instance
Call Signature
staticcreate(properties?):ExecuteMultiOperationResponse
Creates a new ExecuteMultiOperationResponse instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ExecuteMultiOperationResponse
ExecuteMultiOperationResponse instance
decode()
staticdecode(reader,length?):ExecuteMultiOperationResponse&$Shape
Decodes an ExecuteMultiOperationResponse 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
ExecuteMultiOperationResponse & $Shape
ExecuteMultiOperationResponse
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):ExecuteMultiOperationResponse&$Shape
Decodes an ExecuteMultiOperationResponse message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | 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()
staticencode(message,writer?):Writer
Encodes the specified ExecuteMultiOperationResponse message. Does not implicitly temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.verify|verify messages.
Parameters
message
ExecuteMultiOperationResponse message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified ExecuteMultiOperationResponse message, length delimited. Does not implicitly temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.verify|verify messages.
Parameters
message
ExecuteMultiOperationResponse message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):ExecuteMultiOperationResponse
Creates an ExecuteMultiOperationResponse message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
ExecuteMultiOperationResponse
ExecuteMultiOperationResponse
toObject()
statictoObject(message,options?):object
Creates a plain object from an ExecuteMultiOperationResponse message. Also converts values to other types if specified.
Parameters
message
ExecuteMultiOperationResponse
ExecuteMultiOperationResponse
options?
IConversionOptions
Conversion options
Returns
object
Plain object