Skip to main content

Class: DeleteWorkflowExecutionResponse

workflowservice.v1.DeleteWorkflowExecutionResponse

Represents a DeleteWorkflowExecutionResponse.

Implements​

Constructors​

constructor​

β€’ new DeleteWorkflowExecutionResponse(properties?): DeleteWorkflowExecutionResponse

Constructs a new DeleteWorkflowExecutionResponse.

Parameters​

NameTypeDescription
properties?IDeleteWorkflowExecutionResponseProperties to set

Returns​

DeleteWorkflowExecutionResponse

Methods​

toJSON​

β–Έ toJSON(): Object

Converts this DeleteWorkflowExecutionResponse to JSON.

Returns​

Object

JSON object


create​

β–Έ create(properties?): DeleteWorkflowExecutionResponse

Creates a new DeleteWorkflowExecutionResponse instance using the specified properties.

Parameters​

NameTypeDescription
properties?IDeleteWorkflowExecutionResponseProperties to set

Returns​

DeleteWorkflowExecutionResponse

DeleteWorkflowExecutionResponse instance


decode​

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

Decodes a DeleteWorkflowExecutionResponse message from the specified reader or buffer.

Parameters​

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

Returns​

DeleteWorkflowExecutionResponse

DeleteWorkflowExecutionResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

β–Έ decodeDelimited(reader): DeleteWorkflowExecutionResponse

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

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

DeleteWorkflowExecutionResponse

DeleteWorkflowExecutionResponse

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

Parameters​

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

Returns​

Writer

Writer


encodeDelimited​

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

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

Parameters​

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

Returns​

Writer

Writer


fromObject​

β–Έ fromObject(object): DeleteWorkflowExecutionResponse

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

DeleteWorkflowExecutionResponse

DeleteWorkflowExecutionResponse


getTypeUrl​

β–Έ getTypeUrl(typeUrlPrefix?): string

Gets the default type url for DeleteWorkflowExecutionResponse

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

Parameters​

NameTypeDescription
messageDeleteWorkflowExecutionResponseDeleteWorkflowExecutionResponse
options?IConversionOptionsConversion options

Returns​

Object

Plain object