Skip to main content

Class: NexusSlotInfo

proto.coresdk.NexusSlotInfo

Info about nexus task slot usage

Implements

Constructors

constructor

new NexusSlotInfo(properties?): NexusSlotInfo

Constructs a new NexusSlotInfo.

Parameters

NameTypeDescription
properties?INexusSlotInfoProperties to set

Returns

NexusSlotInfo

Properties

operation

operation: string

NexusSlotInfo operation.

Implementation of

INexusSlotInfo.operation


service

service: string

NexusSlotInfo service.

Implementation of

INexusSlotInfo.service

Methods

toJSON

toJSON(): Object

Converts this NexusSlotInfo to JSON.

Returns

Object

JSON object


create

create(properties?): NexusSlotInfo

Creates a new NexusSlotInfo instance using the specified properties.

Parameters

NameTypeDescription
properties?INexusSlotInfoProperties to set

Returns

NexusSlotInfo

NexusSlotInfo instance


decode

decode(reader, length?): NexusSlotInfo

Decodes a NexusSlotInfo message from the specified reader or buffer.

Parameters

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

Returns

NexusSlotInfo

NexusSlotInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): NexusSlotInfo

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

NexusSlotInfo

NexusSlotInfo

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 NexusSlotInfo message. Does not implicitly coresdk.NexusSlotInfo.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified NexusSlotInfo message, length delimited. Does not implicitly coresdk.NexusSlotInfo.verify|verify messages.

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): NexusSlotInfo

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

NexusSlotInfo

NexusSlotInfo


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for NexusSlotInfo

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

Parameters

NameTypeDescription
messageNexusSlotInfoNexusSlotInfo
options?IConversionOptionsConversion options

Returns

Object

Plain object