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