DeviceFamily

enum DeviceFamily : ProtocolMessageEnum
Enumerates broad families of devices and peripherals which may be connected to a given machine.
Protobuf enum elide.machine.DeviceFamily

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Describes accelerator devices.
ACCELERATOR = 3;
Link copied to clipboard
Describes block storage devices.
BLOCK_STORAGE = 1;
Link copied to clipboard
Indicates an unknown or unrecognized device family to this version of the protocol; should not be used by regular
code.
DEVICE_FAMILY_UNKNOWN = 0;
Link copied to clipboard
val GPU_VALUE: Int = 4
Describes GPU devices.
GPU = 4;
Link copied to clipboard
Describes network devices.
NETWORK = 2;

Functions

Link copied to clipboard
open fun forNumber(value: Int): DeviceFamily
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<DeviceFamily>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): DeviceFamily
open fun valueOf(value: Int): DeviceFamily

open fun valueOf(name: String): DeviceFamily

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.