DiskMode

enum DiskMode : ProtocolMessageEnum
Disk attachment mode/access mode.
Protobuf enum elide.machine.DiskMode

Entries

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

Properties

Link copied to clipboard
Disk mode is unknown or unrecognized for this version of the protocol.
DISK_MODE_UNKNOWN = 0;
Link copied to clipboard
Disk is attached in read-only mode.
READ_ONLY = 1;
Link copied to clipboard
Disk is attached in read-write mode.
READ_WRITE = 2;

Functions

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

open fun valueOf(name: String): DiskMode

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<DiskMode>

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.