Skip to main content

Class: TerminateWorkflowExecutionResponse

workflowservice.v1.TerminateWorkflowExecutionResponse

Represents a TerminateWorkflowExecutionResponse.

Implements#

Constructors#

constructor#

new TerminateWorkflowExecutionResponse(properties?)

Constructs a new TerminateWorkflowExecutionResponse.

Parameters#

NameType
properties?ITerminateWorkflowExecutionResponse

Methods#

toJSON#

toJSON(): Object

Converts this TerminateWorkflowExecutionResponse to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): TerminateWorkflowExecutionResponse

Decodes a TerminateWorkflowExecutionResponse message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

TerminateWorkflowExecutionResponse

TerminateWorkflowExecutionResponse


decodeDelimited#

Static decodeDelimited(reader): TerminateWorkflowExecutionResponse

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

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns#

TerminateWorkflowExecutionResponse

TerminateWorkflowExecutionResponse


encode#

Static encode(message, writer?): Writer

Encodes the specified TerminateWorkflowExecutionResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse.verify|verify} messages.

Parameters#

NameTypeDescription
messageITerminateWorkflowExecutionResponseTerminateWorkflowExecutionResponse message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified TerminateWorkflowExecutionResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse.verify|verify} messages.

Parameters#

NameTypeDescription
messageITerminateWorkflowExecutionResponseTerminateWorkflowExecutionResponse message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


fromObject#

Static fromObject(object): TerminateWorkflowExecutionResponse

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

TerminateWorkflowExecutionResponse

TerminateWorkflowExecutionResponse


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageTerminateWorkflowExecutionResponseTerminateWorkflowExecutionResponse
options?IConversionOptions-

Returns#

Object

Plain object