OperatingSystem

enum OperatingSystem : ProtocolMessageEnum
Enumerates known operating systems.
Protobuf enum elide.machine.OperatingSystem

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
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Operating system is Android.
ANDROID = 4;
Link copied to clipboard
Operating system is FreeBSD.
FREEBSD = 5;
Link copied to clipboard
val LINUX_VALUE: Int = 1
Operating system is Linux.
LINUX = 1;
Link copied to clipboard
val MACOS_VALUE: Int = 2
Operating system is macOS.
MACOS = 2;
Link copied to clipboard
Operating system is OpenBSD.
OPENBSD = 6;
Link copied to clipboard
Operating system is unknown.
UNKNOWN_OS = 0;
Link copied to clipboard
Operating system is Windows.
WINDOWS = 3;

Functions

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

open fun valueOf(name: String): OperatingSystem

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.