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.
Implements
Constructors
constructor
• new ExecuteMultiOperationResponse(properties?): ExecuteMultiOperationResponse
Constructs a new ExecuteMultiOperationResponse.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IExecuteMultiOperationResponse | Properties to set |
Returns
Properties
responses
• responses: IResponse[]
ExecuteMultiOperationResponse responses.
Implementation of
IExecuteMultiOperationResponse.responses
Methods
toJSON
▸ toJSON(): Object
Converts this ExecuteMultiOperationResponse to JSON.
Returns
Object
JSON object
create
▸ create(properties?): ExecuteMultiOperationResponse
Creates a new ExecuteMultiOperationResponse instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IExecuteMultiOperationResponse | Properties to set |
Returns
ExecuteMultiOperationResponse instance
decode
▸ decode(reader, length?): ExecuteMultiOperationResponse
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
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): ExecuteMultiOperationResponse
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
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 | IExecuteMultiOperationResponse | 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 | IExecuteMultiOperationResponse | 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
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?): string
Gets the default type url for ExecuteMultiOperationResponse
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 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