public enum WeightUnit extends Enum<WeightUnit> implements ProtocolMessageEnumEnum representing the unit of weight.
Protobuf enum google.devicesandservices.health.v4.WeightUnit
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
GRAM |
Value representing gram. |
GRAM_VALUE |
Value representing gram. |
KILOGRAM |
Value representing kilogram. |
KILOGRAM_VALUE |
Value representing kilogram. |
MICROGRAM |
Value representing microgram. |
MICROGRAM_VALUE |
Value representing microgram. |
MILLIGRAM |
Value representing milligram. |
MILLIGRAM_VALUE |
Value representing milligram. |
NANOGRAM |
Value representing nanogram. |
NANOGRAM_VALUE |
Value representing nanogram. |
OUNCE |
Value representing ounce. |
OUNCE_VALUE |
Value representing ounce. |
POUND |
Value representing pound. |
POUND_VALUE |
Value representing pound. |
STONE |
Value representing stone. |
STONE_VALUE |
Value representing stone. |
UNRECOGNIZED |
|
WEIGHT_UNIT_UNSPECIFIED |
Unspecified weight unit. |
WEIGHT_UNIT_UNSPECIFIED_VALUE |
Unspecified weight unit. |
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|