Skip to main content

Class: NexusOperationFailureInfo

failure.v1.NexusOperationFailureInfo

Represents a NexusOperationFailureInfo.

Implements

Constructors

constructor

new NexusOperationFailureInfo(properties?): NexusOperationFailureInfo

Constructs a new NexusOperationFailureInfo.

Parameters

NameTypeDescription
properties?INexusOperationFailureInfoProperties to set

Returns

NexusOperationFailureInfo

Properties

endpoint

endpoint: string

Endpoint name.

Implementation of

INexusOperationFailureInfo.endpoint


operation

operation: string

Operation name.

Implementation of

INexusOperationFailureInfo.operation


operationId

operationId: string

Operation ID - may be empty if the operation completed synchronously.

Implementation of

INexusOperationFailureInfo.operationId


scheduledEventId

scheduledEventId: Long

The NexusOperationScheduled event ID.

Implementation of

INexusOperationFailureInfo.scheduledEventId


service

service: string

Service name.

Implementation of

INexusOperationFailureInfo.service

Methods

toJSON

toJSON(): Object

Converts this NexusOperationFailureInfo to JSON.

Returns

Object

JSON object


create

create(properties?): NexusOperationFailureInfo

Creates a new NexusOperationFailureInfo instance using the specified properties.

Parameters

NameTypeDescription
properties?INexusOperationFailureInfoProperties to set

Returns

NexusOperationFailureInfo

NexusOperationFailureInfo instance


decode

decode(reader, length?): NexusOperationFailureInfo

Decodes a NexusOperationFailureInfo message from the specified reader or buffer.

Parameters

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

Returns

NexusOperationFailureInfo

NexusOperationFailureInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): NexusOperationFailureInfo

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

NexusOperationFailureInfo

NexusOperationFailureInfo

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): NexusOperationFailureInfo

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

NexusOperationFailureInfo

NexusOperationFailureInfo


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for NexusOperationFailureInfo

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

Parameters

NameTypeDescription
messageNexusOperationFailureInfoNexusOperationFailureInfo
options?IConversionOptionsConversion options

Returns

Object

Plain object