Skip to main content

Class: SignalWorkflowExecutionResponse

workflowservice.v1.SignalWorkflowExecutionResponse

Represents a SignalWorkflowExecutionResponse.

Implements​

Constructors​

constructor​

β€’ new SignalWorkflowExecutionResponse(properties?): SignalWorkflowExecutionResponse

Constructs a new SignalWorkflowExecutionResponse.

Parameters​

NameTypeDescription
properties?ISignalWorkflowExecutionResponseProperties to set

Returns​

SignalWorkflowExecutionResponse

Methods​

toJSON​

β–Έ toJSON(): Object

Converts this SignalWorkflowExecutionResponse to JSON.

Returns​

Object

JSON object


create​

β–Έ create(properties?): SignalWorkflowExecutionResponse

Creates a new SignalWorkflowExecutionResponse instance using the specified properties.

Parameters​

NameTypeDescription
properties?ISignalWorkflowExecutionResponseProperties to set

Returns​

SignalWorkflowExecutionResponse

SignalWorkflowExecutionResponse instance


decode​

β–Έ decode(reader, length?): SignalWorkflowExecutionResponse

Decodes a SignalWorkflowExecutionResponse message from the specified reader or buffer.

Parameters​

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

Returns​

SignalWorkflowExecutionResponse

SignalWorkflowExecutionResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

β–Έ decodeDelimited(reader): SignalWorkflowExecutionResponse

Decodes a SignalWorkflowExecutionResponse message from the specified reader or buffer, length delimited.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

SignalWorkflowExecutionResponse

SignalWorkflowExecutionResponse

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

Parameters​

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

Returns​

Writer

Writer


encodeDelimited​

β–Έ encodeDelimited(message, writer?): Writer

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

Parameters​

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

Returns​

Writer

Writer


fromObject​

β–Έ fromObject(object): SignalWorkflowExecutionResponse

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

SignalWorkflowExecutionResponse

SignalWorkflowExecutionResponse


getTypeUrl​

β–Έ getTypeUrl(typeUrlPrefix?): string

Gets the default type url for SignalWorkflowExecutionResponse

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 a SignalWorkflowExecutionResponse message. Also converts values to other types if specified.

Parameters​

NameTypeDescription
messageSignalWorkflowExecutionResponseSignalWorkflowExecutionResponse
options?IConversionOptionsConversion options

Returns​

Object

Plain object