Enum Class OSFamily

java.lang.Object
java.lang.Enum<OSFamily>
com.buildless.telemetry.OSFamily
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<OSFamily>, Constable

public enum OSFamily extends Enum<OSFamily> implements com.google.protobuf.ProtocolMessageEnum
 ## OS Families

 Enumerates known operating system families.
 
Protobuf enum buildless.telemetry.OSFamily
  • Enum Constant Details

    • UNKNOWN_OS_FAMILY

      public static final OSFamily UNKNOWN_OS_FAMILY
       Unknown or un-recognized Operating System Family. This value should not be used by new code.
       
      UNKNOWN_OS_FAMILY = 0;
    • UNIX

      public static final OSFamily UNIX
       Pure Unix operating systems, such as FreeBSD and OpenBSD.
       
      UNIX = 1;
    • LINUX

      public static final OSFamily LINUX
       Linux and Linux-derived operating systems, such as Ubuntu or Red Hat.
       
      LINUX = 2;
    • DARWIN

      public static final OSFamily DARWIN
       macOS, iOS, iPad OS and other Darwin variants.
       
      DARWIN = 3;
    • WINDOWS

      public static final OSFamily WINDOWS
       Windows family of operating systems.
       
      WINDOWS = 4;
    • OTHER_OS

      public static final OSFamily OTHER_OS
       Other operating system family not otherwise listed here.
       
      OTHER_OS = 5;
    • UNRECOGNIZED

      public static final OSFamily UNRECOGNIZED
  • Field Details

    • UNKNOWN_OS_FAMILY_VALUE

      public static final int UNKNOWN_OS_FAMILY_VALUE
       Unknown 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_VALUE
       Pure Unix operating systems, such as FreeBSD and OpenBSD.
       
      UNIX = 1;
      See Also:
    • LINUX_VALUE

      public static final int LINUX_VALUE
       Linux and Linux-derived operating systems, such as Ubuntu or Red Hat.
       
      LINUX = 2;
      See Also:
    • DARWIN_VALUE

      public static final int DARWIN_VALUE
       macOS, iOS, iPad OS and other Darwin variants.
       
      DARWIN = 3;
      See Also:
    • WINDOWS_VALUE

      public static final int WINDOWS_VALUE
       Windows family of operating systems.
       
      WINDOWS = 4;
      See Also:
    • OTHER_OS_VALUE

      public static final int OTHER_OS_VALUE
       Other operating system family not otherwise listed here.
       
      OTHER_OS = 5;
      See Also:
  • Method Details

    • values

      public static OSFamily[] 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

      public static OSFamily valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static OSFamily valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static OSFamily forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<OSFamily> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static OSFamily valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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 name
      NullPointerException - if the argument is null