Enum Class RedvoxApiM.RedvoxPacketM.Unit

java.lang.Object
java.lang.Enum<RedvoxApiM.RedvoxPacketM.Unit>
io.redvox.apis.RedvoxApiM.RedvoxPacketM.Unit
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<RedvoxApiM.RedvoxPacketM.Unit>, Constable
Enclosing class:
RedvoxApiM.RedvoxPacketM

public static enum RedvoxApiM.RedvoxPacketM.Unit extends Enum<RedvoxApiM.RedvoxPacketM.Unit> implements com.google.protobuf.ProtocolMessageEnum
 Enumeration of API M supported units
 
Protobuf enum redvox_api_m.RedvoxPacketM.Unit
  • Enum Constant Details

  • Field Details

    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
      UNKNOWN = 0;
      See Also:
    • METERS_PER_SECOND_SQUARED_VALUE

      public static final int METERS_PER_SECOND_SQUARED_VALUE
      METERS_PER_SECOND_SQUARED = 1;
      See Also:
    • KILOPASCAL_VALUE

      public static final int KILOPASCAL_VALUE
      KILOPASCAL = 2;
      See Also:
    • RADIANS_PER_SECOND_VALUE

      public static final int RADIANS_PER_SECOND_VALUE
      RADIANS_PER_SECOND = 3;
      See Also:
    • DECIMAL_DEGREES_VALUE

      public static final int DECIMAL_DEGREES_VALUE
      DECIMAL_DEGREES = 4;
      See Also:
    • METERS_VALUE

      public static final int METERS_VALUE
      METERS = 5;
      See Also:
    • METERS_PER_SECOND_VALUE

      public static final int METERS_PER_SECOND_VALUE
      METERS_PER_SECOND = 6;
      See Also:
    • MICROTESLA_VALUE

      public static final int MICROTESLA_VALUE
      MICROTESLA = 7;
      See Also:
    • LSB_PLUS_MINUS_COUNTS_VALUE

      public static final int LSB_PLUS_MINUS_COUNTS_VALUE
      LSB_PLUS_MINUS_COUNTS = 8;
      See Also:
    • MICROSECONDS_SINCE_UNIX_EPOCH_VALUE

      public static final int MICROSECONDS_SINCE_UNIX_EPOCH_VALUE
      MICROSECONDS_SINCE_UNIX_EPOCH = 9;
      See Also:
    • DECIBEL_VALUE

      public static final int DECIBEL_VALUE
      DECIBEL = 10;
      See Also:
    • DEGREES_CELSIUS_VALUE

      public static final int DEGREES_CELSIUS_VALUE
      DEGREES_CELSIUS = 11;
      See Also:
    • BYTE_VALUE

      public static final int BYTE_VALUE
      BYTE = 12;
      See Also:
    • PERCENTAGE_VALUE

      public static final int PERCENTAGE_VALUE
      PERCENTAGE = 13;
      See Also:
    • RADIANS_VALUE

      public static final int RADIANS_VALUE
      RADIANS = 14;
      See Also:
    • MICROAMPERES_VALUE

      public static final int MICROAMPERES_VALUE
      MICROAMPERES = 15;
      See Also:
    • CENTIMETERS_VALUE

      public static final int CENTIMETERS_VALUE
      CENTIMETERS = 16;
      See Also:
    • NORMALIZED_COUNTS_VALUE

      public static final int NORMALIZED_COUNTS_VALUE
      NORMALIZED_COUNTS = 17;
      See Also:
    • LUX_VALUE

      public static final int LUX_VALUE
      LUX = 18;
      See Also:
    • UNITLESS_VALUE

      public static final int UNITLESS_VALUE
      UNITLESS = 19;
      See Also:
    • PCM_VALUE

      public static final int PCM_VALUE
      PCM = 20;
      See Also:
  • Method Details

    • values

      public static RedvoxApiM.RedvoxPacketM.Unit[] 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 RedvoxApiM.RedvoxPacketM.Unit 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 RedvoxApiM.RedvoxPacketM.Unit 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 RedvoxApiM.RedvoxPacketM.Unit 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<RedvoxApiM.RedvoxPacketM.Unit> 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 RedvoxApiM.RedvoxPacketM.Unit 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