Package com.buildless.telemetry
Enum Class OSFamily
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OSFamily>,Constable
## OS Families Enumerates known operating system families.Protobuf enum
buildless.telemetry.OSFamily-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionmacOS, iOS, iPad OS and other Darwin variants.Linux and Linux-derived operating systems, such as Ubuntu or Red Hat.Other operating system family not otherwise listed here.Pure Unix operating systems, such as FreeBSD and OpenBSD.Unknown or un-recognized Operating System Family.Windows family of operating systems. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intmacOS, iOS, iPad OS and other Darwin variants.static final intLinux and Linux-derived operating systems, such as Ubuntu or Red Hat.static final intOther operating system family not otherwise listed here.static final intPure Unix operating systems, such as FreeBSD and OpenBSD.static final intUnknown or un-recognized Operating System Family.static final intWindows family of operating systems. -
Method Summary
Modifier and TypeMethodDescriptionstatic OSFamilyforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<OSFamily>static OSFamilyvalueOf(int value) Deprecated.static OSFamilyvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static OSFamilyReturns the enum constant of this class with the specified name.static OSFamily[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN_OS_FAMILY
Unknown or un-recognized Operating System Family. This value should not be used by new code.
UNKNOWN_OS_FAMILY = 0; -
UNIX
Pure Unix operating systems, such as FreeBSD and OpenBSD.
UNIX = 1; -
LINUX
Linux and Linux-derived operating systems, such as Ubuntu or Red Hat.
LINUX = 2; -
DARWIN
macOS, iOS, iPad OS and other Darwin variants.
DARWIN = 3; -
WINDOWS
Windows family of operating systems.
WINDOWS = 4; -
OTHER_OS
Other operating system family not otherwise listed here.
OTHER_OS = 5; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_OS_FAMILY_VALUE
public static final int UNKNOWN_OS_FAMILY_VALUEUnknown or un-recognized Operating System Family. This value should not be used by new code.
UNKNOWN_OS_FAMILY = 0;- See Also:
-
UNIX_VALUE
public static final int UNIX_VALUEPure Unix operating systems, such as FreeBSD and OpenBSD.
UNIX = 1;- See Also:
-
LINUX_VALUE
public static final int LINUX_VALUELinux and Linux-derived operating systems, such as Ubuntu or Red Hat.
LINUX = 2;- See Also:
-
DARWIN_VALUE
public static final int DARWIN_VALUEmacOS, iOS, iPad OS and other Darwin variants.
DARWIN = 3;- See Also:
-
WINDOWS_VALUE
public static final int WINDOWS_VALUEWindows family of operating systems.
WINDOWS = 4;- See Also:
-
OTHER_OS_VALUE
public static final int OTHER_OS_VALUEOther operating system family not otherwise listed here.
OTHER_OS = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-