Skip to main content

Class: ExecuteMultiOperationRequest

workflowservice.v1.ExecuteMultiOperationRequest

Represents an ExecuteMultiOperationRequest.

Implements

Constructors

constructor

new ExecuteMultiOperationRequest(properties?): ExecuteMultiOperationRequest

Constructs a new ExecuteMultiOperationRequest.

Parameters

NameTypeDescription
properties?IExecuteMultiOperationRequestProperties to set

Returns

ExecuteMultiOperationRequest

Properties

namespace

namespace: string

ExecuteMultiOperationRequest namespace.

Implementation of

IExecuteMultiOperationRequest.namespace


operations

operations: IOperation[]

List of operations to execute within a single workflow.

Preconditions:

  • The list of operations must not be empty.
  • The workflow ids must match across operations.
  • The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.

Note that additional operation-specific restrictions have to be considered.

Implementation of

IExecuteMultiOperationRequest.operations

Methods

toJSON

toJSON(): Object

Converts this ExecuteMultiOperationRequest to JSON.

Returns

Object

JSON object


create

create(properties?): ExecuteMultiOperationRequest

Creates a new ExecuteMultiOperationRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IExecuteMultiOperationRequestProperties to set

Returns

ExecuteMultiOperationRequest

ExecuteMultiOperationRequest instance


decode

decode(reader, length?): ExecuteMultiOperationRequest

Decodes an ExecuteMultiOperationRequest message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

ExecuteMultiOperationRequest

ExecuteMultiOperationRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): ExecuteMultiOperationRequest

Decodes an ExecuteMultiOperationRequest message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ExecuteMultiOperationRequest

ExecuteMultiOperationRequest

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 ExecuteMultiOperationRequest message. Does not implicitly temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.verify|verify messages.

Parameters

NameTypeDescription
messageIExecuteMultiOperationRequestExecuteMultiOperationRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified ExecuteMultiOperationRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.verify|verify messages.

Parameters

NameTypeDescription
messageIExecuteMultiOperationRequestExecuteMultiOperationRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): ExecuteMultiOperationRequest

Creates an ExecuteMultiOperationRequest message from a plain object. Also converts values to their respective internal types.

Parameters

NameTypeDescription
objectObjectPlain object

Returns

ExecuteMultiOperationRequest

ExecuteMultiOperationRequest


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for ExecuteMultiOperationRequest

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageExecuteMultiOperationRequestExecuteMultiOperationRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object