Package io.redvox.apis
Enum Class 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 unitsProtobuf enum
redvox_api_m.RedvoxPacketM.Unit-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBYTE = 12;CENTIMETERS = 16;DECIBEL = 10;DECIMAL_DEGREES = 4;DEGREES_CELSIUS = 11;KILOPASCAL = 2;LSB_PLUS_MINUS_COUNTS = 8;LUX = 18;METERS = 5;METERS_PER_SECOND = 6;METERS_PER_SECOND_SQUARED = 1;MICROAMPERES = 15;MICROSECONDS_SINCE_UNIX_EPOCH = 9;MICROTESLA = 7;NORMALIZED_COUNTS = 17;PCM = 20;PERCENTAGE = 13;RADIANS = 14;RADIANS_PER_SECOND = 3;UNITLESS = 19;UNKNOWN = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBYTE = 12;static final intCENTIMETERS = 16;static final intDECIBEL = 10;static final intDECIMAL_DEGREES = 4;static final intDEGREES_CELSIUS = 11;static final intKILOPASCAL = 2;static final intLSB_PLUS_MINUS_COUNTS = 8;static final intLUX = 18;static final intMETERS_PER_SECOND_SQUARED = 1;static final intMETERS_PER_SECOND = 6;static final intMETERS = 5;static final intMICROAMPERES = 15;static final intMICROSECONDS_SINCE_UNIX_EPOCH = 9;static final intMICROTESLA = 7;static final intNORMALIZED_COUNTS = 17;static final intPCM = 20;static final intPERCENTAGE = 13;static final intRADIANS_PER_SECOND = 3;static final intRADIANS = 14;static final intUNITLESS = 19;static final intUNKNOWN = 0; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(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<RedvoxApiM.RedvoxPacketM.Unit>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static RedvoxApiM.RedvoxPacketM.Unit[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
UNKNOWN = 0; -
METERS_PER_SECOND_SQUARED
METERS_PER_SECOND_SQUARED = 1; -
KILOPASCAL
KILOPASCAL = 2; -
RADIANS_PER_SECOND
RADIANS_PER_SECOND = 3; -
DECIMAL_DEGREES
DECIMAL_DEGREES = 4; -
METERS
METERS = 5; -
METERS_PER_SECOND
METERS_PER_SECOND = 6; -
MICROTESLA
MICROTESLA = 7; -
LSB_PLUS_MINUS_COUNTS
LSB_PLUS_MINUS_COUNTS = 8; -
MICROSECONDS_SINCE_UNIX_EPOCH
MICROSECONDS_SINCE_UNIX_EPOCH = 9; -
DECIBEL
DECIBEL = 10; -
DEGREES_CELSIUS
DEGREES_CELSIUS = 11; -
BYTE
BYTE = 12; -
PERCENTAGE
PERCENTAGE = 13; -
RADIANS
RADIANS = 14; -
MICROAMPERES
MICROAMPERES = 15; -
CENTIMETERS
CENTIMETERS = 16; -
NORMALIZED_COUNTS
NORMALIZED_COUNTS = 17; -
LUX
LUX = 18; -
UNITLESS
UNITLESS = 19; -
PCM
PCM = 20; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUNKNOWN = 0;- See Also:
-
METERS_PER_SECOND_SQUARED_VALUE
public static final int METERS_PER_SECOND_SQUARED_VALUEMETERS_PER_SECOND_SQUARED = 1;- See Also:
-
KILOPASCAL_VALUE
public static final int KILOPASCAL_VALUEKILOPASCAL = 2;- See Also:
-
RADIANS_PER_SECOND_VALUE
public static final int RADIANS_PER_SECOND_VALUERADIANS_PER_SECOND = 3;- See Also:
-
DECIMAL_DEGREES_VALUE
public static final int DECIMAL_DEGREES_VALUEDECIMAL_DEGREES = 4;- See Also:
-
METERS_VALUE
public static final int METERS_VALUEMETERS = 5;- See Also:
-
METERS_PER_SECOND_VALUE
public static final int METERS_PER_SECOND_VALUEMETERS_PER_SECOND = 6;- See Also:
-
MICROTESLA_VALUE
public static final int MICROTESLA_VALUEMICROTESLA = 7;- See Also:
-
LSB_PLUS_MINUS_COUNTS_VALUE
public static final int LSB_PLUS_MINUS_COUNTS_VALUELSB_PLUS_MINUS_COUNTS = 8;- See Also:
-
MICROSECONDS_SINCE_UNIX_EPOCH_VALUE
public static final int MICROSECONDS_SINCE_UNIX_EPOCH_VALUEMICROSECONDS_SINCE_UNIX_EPOCH = 9;- See Also:
-
DECIBEL_VALUE
public static final int DECIBEL_VALUEDECIBEL = 10;- See Also:
-
DEGREES_CELSIUS_VALUE
public static final int DEGREES_CELSIUS_VALUEDEGREES_CELSIUS = 11;- See Also:
-
BYTE_VALUE
public static final int BYTE_VALUEBYTE = 12;- See Also:
-
PERCENTAGE_VALUE
public static final int PERCENTAGE_VALUEPERCENTAGE = 13;- See Also:
-
RADIANS_VALUE
public static final int RADIANS_VALUERADIANS = 14;- See Also:
-
MICROAMPERES_VALUE
public static final int MICROAMPERES_VALUEMICROAMPERES = 15;- See Also:
-
CENTIMETERS_VALUE
public static final int CENTIMETERS_VALUECENTIMETERS = 16;- See Also:
-
NORMALIZED_COUNTS_VALUE
public static final int NORMALIZED_COUNTS_VALUENORMALIZED_COUNTS = 17;- See Also:
-
LUX_VALUE
public static final int LUX_VALUELUX = 18;- See Also:
-
UNITLESS_VALUE
public static final int UNITLESS_VALUEUNITLESS = 19;- See Also:
-
PCM_VALUE
public static final int PCM_VALUEPCM = 20;- 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
public static com.google.protobuf.Internal.EnumLiteMap<RedvoxApiM.RedvoxPacketM.Unit> 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
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 nameNullPointerException- if the argument is null
-