Skip to main content

Class: ExecuteMultiOperationResponse

workflowservice.v1.ExecuteMultiOperationResponse

IMPORTANT: For [StartWorkflow, UpdateWorkflow] combination ("Update-with-Start") when both

  1. the workflow update for the requested update ID has already completed, and
  2. 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 status field 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​

NameTypeDescription
properties?$ShapeProperties to set

Returns​

ExecuteMultiOperationResponse & $Shape

ExecuteMultiOperationResponse instance

▸ create(properties?): ExecuteMultiOperationResponse

Parameters​

NameType
properties?$Properties

Returns​

ExecuteMultiOperationResponse


decode​

▸ decode(reader, length?): ExecuteMultiOperationResponse & $Shape

Decodes an ExecuteMultiOperationResponse message from the specified reader or buffer.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage 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​

NameTypeDescription
readerUint8Array | ReaderReader 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​

NameTypeDescription
message$PropertiesExecuteMultiOperationResponse message or plain object to encode
writer?WriterWriter 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​

NameTypeDescription
message$PropertiesExecuteMultiOperationResponse message or plain object to encode
writer?WriterWriter 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​

NameTypeDescription
objectObjectPlain object

Returns​

ExecuteMultiOperationResponse

ExecuteMultiOperationResponse


toObject​

▸ toObject(message, options?): Object

Creates a plain object from an ExecuteMultiOperationResponse message. Also converts values to other types if specified.

Parameters​

NameTypeDescription
messageExecuteMultiOperationResponseExecuteMultiOperationResponse
options?IConversionOptionsConversion options

Returns​

Object

Plain object