Skip to main content

Class: TerminateWorkflowExecutionResponse

workflowservice.v1.TerminateWorkflowExecutionResponse

Represents a TerminateWorkflowExecutionResponse.

Methods

toJSON

toJSON(): Object

Converts this TerminateWorkflowExecutionResponse to JSON.

Returns

Object

JSON object


create

create(properties?): TerminateWorkflowExecutionResponse & $Properties

Creates a new TerminateWorkflowExecutionResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

TerminateWorkflowExecutionResponse & $Properties

TerminateWorkflowExecutionResponse instance

create(properties?): TerminateWorkflowExecutionResponse

Parameters

NameType
properties?$Properties

Returns

TerminateWorkflowExecutionResponse


decode

decode(reader, length?): TerminateWorkflowExecutionResponse & $Properties

Decodes a TerminateWorkflowExecutionResponse message from the specified reader or buffer.

Parameters

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

Returns

TerminateWorkflowExecutionResponse & $Properties

TerminateWorkflowExecutionResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): TerminateWorkflowExecutionResponse & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

TerminateWorkflowExecutionResponse & $Properties

TerminateWorkflowExecutionResponse

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

Parameters

NameTypeDescription
message$PropertiesTerminateWorkflowExecutionResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesTerminateWorkflowExecutionResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

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

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageTerminateWorkflowExecutionResponseTerminateWorkflowExecutionResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object