Skip to main content

Class: CancelOperationResponse

nexus.v1.CancelOperationResponse

Response variant for CancelOperationRequest.

Implements

Constructors

constructor

new CancelOperationResponse(properties?): CancelOperationResponse

Constructs a new CancelOperationResponse.

Parameters

NameTypeDescription
properties?ICancelOperationResponseProperties to set

Returns

CancelOperationResponse

Methods

toJSON

toJSON(): Object

Converts this CancelOperationResponse to JSON.

Returns

Object

JSON object


create

create(properties?): CancelOperationResponse

Creates a new CancelOperationResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?ICancelOperationResponseProperties to set

Returns

CancelOperationResponse

CancelOperationResponse instance


decode

decode(reader, length?): CancelOperationResponse

Decodes a CancelOperationResponse message from the specified reader or buffer.

Parameters

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

Returns

CancelOperationResponse

CancelOperationResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): CancelOperationResponse

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

CancelOperationResponse

CancelOperationResponse

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): CancelOperationResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

CancelOperationResponse

CancelOperationResponse


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for CancelOperationResponse

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

Parameters

NameTypeDescription
messageCancelOperationResponseCancelOperationResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object