Enum Settings.WeightUnit (0.2.0)

public enum Settings.WeightUnit extends Enum<Settings.WeightUnit> implements ProtocolMessageEnum

The measurement unit defined in the user's account settings.

Protobuf enum google.devicesandservices.health.v4.Settings.WeightUnit

Implements

ProtocolMessageEnum

Static Fields

Name Description
UNRECOGNIZED
WEIGHT_UNIT_KILOGRAMS

Weight unit is kilograms.

WEIGHT_UNIT_KILOGRAMS = 3;

WEIGHT_UNIT_KILOGRAMS_VALUE

Weight unit is kilograms.

WEIGHT_UNIT_KILOGRAMS = 3;

WEIGHT_UNIT_POUNDS

Weight unit is pounds.

WEIGHT_UNIT_POUNDS = 1;

WEIGHT_UNIT_POUNDS_VALUE

Weight unit is pounds.

WEIGHT_UNIT_POUNDS = 1;

WEIGHT_UNIT_STONE

Weight unit is stones.

WEIGHT_UNIT_STONE = 2;

WEIGHT_UNIT_STONE_VALUE

Weight unit is stones.

WEIGHT_UNIT_STONE = 2;

WEIGHT_UNIT_UNSPECIFIED

Weight unit is not specified.

WEIGHT_UNIT_UNSPECIFIED = 0;

WEIGHT_UNIT_UNSPECIFIED_VALUE

Weight unit is not specified.

WEIGHT_UNIT_UNSPECIFIED = 0;

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()