DiskType

enum DiskType : ProtocolMessageEnum
Enumerates disk types known to this version of the protocol.
Protobuf enum elide.machine.DiskType

Entries

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
Unspecified disk type, or unrecognized type for this version of the protocol.
DISK_TYPE_UNSPECIFIED = 0;
Link copied to clipboard
val HDD_VALUE: Int = 1
Hard-disk drive as disk type.
HDD = 1;
Link copied to clipboard
val RAM_VALUE: Int = 3
In-memory RAM disk as disk type.
RAM = 3;
Link copied to clipboard
val SSD_VALUE: Int = 2
Solid-state drive as disk type.
SSD = 2;

Functions

Link copied to clipboard
open fun forNumber(value: Int): DiskType
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<DiskType>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): DiskType
open fun valueOf(value: Int): DiskType

open fun valueOf(name: String): DiskType

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
open fun values(): Array<DiskType>

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.