public enum EnergyUnit extends Enum<EnergyUnit> implements ProtocolMessageEnumEnum representing the unit of energy.
Protobuf enum google.devicesandservices.health.v4.EnergyUnit
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
CALORIE |
Value representing calorie. |
CALORIE_VALUE |
Value representing calorie. |
ENERGY_UNIT_UNSPECIFIED |
Unspecified energy unit. |
ENERGY_UNIT_UNSPECIFIED_VALUE |
Unspecified energy unit. |
JOULE |
Value representing joule. |
JOULE_VALUE |
Value representing joule. |
KILOCALORIE |
Value representing kilocalorie. |
KILOCALORIE_VALUE |
Value representing kilocalorie. |
KILOJOULE |
Value representing kilojoule. |
KILOJOULE_VALUE |
Value representing kilojoule. |
SMALL_CALORIE |
Value representing small calorie. |
SMALL_CALORIE_VALUE |
Value representing small calorie. |
UNRECOGNIZED |
|
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() |
|