Skip to main content

Class: NexusSlotInfo

proto.coresdk.NexusSlotInfo

Info about nexus task slot usage

Properties

operation

operation: string

NexusSlotInfo operation.


service

service: string

NexusSlotInfo service.

Methods

toJSON

toJSON(): Object

Converts this NexusSlotInfo to JSON.

Returns

Object

JSON object


create

create(properties?): NexusSlotInfo & $Properties

Creates a new NexusSlotInfo instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

NexusSlotInfo & $Properties

NexusSlotInfo instance

create(properties?): NexusSlotInfo

Parameters

NameType
properties?$Properties

Returns

NexusSlotInfo


decode

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

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 & $Properties

NexusSlotInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): NexusSlotInfo & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

NexusSlotInfo & $Properties

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
message$PropertiesNexusSlotInfo 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
message$PropertiesNexusSlotInfo 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


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