Enum Nutrient (0.2.0)

public enum Nutrient extends Enum<Nutrient> implements ProtocolMessageEnum

Holds information about a user logged food.

Protobuf enum google.devicesandservices.health.v4.Nutrient

Implements

ProtocolMessageEnum

Static Fields

Name Description
BIOTIN

Value representing biotin nutrient.

BIOTIN = 1;

BIOTIN_VALUE

Value representing biotin nutrient.

BIOTIN = 1;

CAFFEINE

Value representing caffeine nutrient.

CAFFEINE = 2;

CAFFEINE_VALUE

Value representing caffeine nutrient.

CAFFEINE = 2;

CALCIUM

Value representing calcium nutrient.

CALCIUM = 3;

CALCIUM_VALUE

Value representing calcium nutrient.

CALCIUM = 3;

CARBOHYDRATES

Value representing carbohydrates nutrient.

CARBOHYDRATES = 5;

CARBOHYDRATES_VALUE

Value representing carbohydrates nutrient.

CARBOHYDRATES = 5;

CHLORIDE

Value representing chloride nutrient.

CHLORIDE = 4;

CHLORIDE_VALUE

Value representing chloride nutrient.

CHLORIDE = 4;

CHOLESTEROL

Value representing cholesterol nutrient.

CHOLESTEROL = 6;

CHOLESTEROL_VALUE

Value representing cholesterol nutrient.

CHOLESTEROL = 6;

CHROMIUM

Value representing chromium nutrient.

CHROMIUM = 7;

CHROMIUM_VALUE

Value representing chromium nutrient.

CHROMIUM = 7;

COPPER

Value representing copper nutrient.

COPPER = 8;

COPPER_VALUE

Value representing copper nutrient.

COPPER = 8;

DIETARY_FIBER

Value representing dietary fiber nutrient.

DIETARY_FIBER = 9;

DIETARY_FIBER_VALUE

Value representing dietary fiber nutrient.

DIETARY_FIBER = 9;

FOLATE

Value representing folate nutrient.

FOLATE = 39;

FOLATE_VALUE

Value representing folate nutrient.

FOLATE = 39;

FOLIC_ACID

Value representing folic acid nutrient.

FOLIC_ACID = 10;

FOLIC_ACID_VALUE

Value representing folic acid nutrient.

FOLIC_ACID = 10;

IODINE

Value representing iodine nutrient.

IODINE = 11;

IODINE_VALUE

Value representing iodine nutrient.

IODINE = 11;

IRON

Value representing iron nutrient.

IRON = 12;

IRON_VALUE

Value representing iron nutrient.

IRON = 12;

MAGNESIUM

Value representing magnesium nutrient.

MAGNESIUM = 13;

MAGNESIUM_VALUE

Value representing magnesium nutrient.

MAGNESIUM = 13;

MANGANESE

Value representing manganese nutrient.

MANGANESE = 14;

MANGANESE_VALUE

Value representing manganese nutrient.

MANGANESE = 14;

MOLYBDENUM

Value representing molybdenum nutrient.

MOLYBDENUM = 15;

MOLYBDENUM_VALUE

Value representing molybdenum nutrient.

MOLYBDENUM = 15;

MONOUNSATURATED_FAT

Value representing monounsaturated fat nutrient.

MONOUNSATURATED_FAT = 16;

MONOUNSATURATED_FAT_VALUE

Value representing monounsaturated fat nutrient.

MONOUNSATURATED_FAT = 16;

NIACIN

Value representing niacin nutrient.

NIACIN = 17;

NIACIN_VALUE

Value representing niacin nutrient.

NIACIN = 17;

NUTRIENT_UNSPECIFIED

Unspecified nutrient.

NUTRIENT_UNSPECIFIED = 0;

NUTRIENT_UNSPECIFIED_VALUE

Unspecified nutrient.

NUTRIENT_UNSPECIFIED = 0;

PANTOTHENIC_ACID

Value representing pantothenic acid nutrient.

PANTOTHENIC_ACID = 18;

PANTOTHENIC_ACID_VALUE

Value representing pantothenic acid nutrient.

PANTOTHENIC_ACID = 18;

PHOSPHORUS

Value representing phosphorus nutrient.

PHOSPHORUS = 19;

PHOSPHORUS_VALUE

Value representing phosphorus nutrient.

PHOSPHORUS = 19;

POLYUNSATURATED_FAT

Value representing polyunsaturated fat nutrient.

POLYUNSATURATED_FAT = 20;

POLYUNSATURATED_FAT_VALUE

Value representing polyunsaturated fat nutrient.

POLYUNSATURATED_FAT = 20;

POTASSIUM

Value representing potassium nutrient.

POTASSIUM = 21;

POTASSIUM_VALUE

Value representing potassium nutrient.

POTASSIUM = 21;

PROTEIN

Value representing protein nutrient.

PROTEIN = 22;

PROTEIN_VALUE

Value representing protein nutrient.

PROTEIN = 22;

RIBOFLAVIN

Value representing riboflavin nutrient.

RIBOFLAVIN = 23;

RIBOFLAVIN_VALUE

Value representing riboflavin nutrient.

RIBOFLAVIN = 23;

SATURATED_FAT

Value representing saturated fat nutrient.

SATURATED_FAT = 24;

SATURATED_FAT_VALUE

Value representing saturated fat nutrient.

SATURATED_FAT = 24;

SELENIUM

Value representing selenium nutrient.

SELENIUM = 25;

SELENIUM_VALUE

Value representing selenium nutrient.

SELENIUM = 25;

SODIUM

Value representing sodium nutrient.

SODIUM = 26;

SODIUM_VALUE

Value representing sodium nutrient.

SODIUM = 26;

SUGAR

Value representing sugar nutrient.

SUGAR = 27;

SUGAR_VALUE

Value representing sugar nutrient.

SUGAR = 27;

THIAMIN

Value representing thiamin nutrient.

THIAMIN = 28;

THIAMIN_VALUE

Value representing thiamin nutrient.

THIAMIN = 28;

TRANS_FAT

Value representing trans fat nutrient.

TRANS_FAT = 29;

TRANS_FAT_VALUE

Value representing trans fat nutrient.

TRANS_FAT = 29;

UNRECOGNIZED
UNSATURATED_FAT

Value representing unsaturated fat nutrient.

UNSATURATED_FAT = 30;

UNSATURATED_FAT_VALUE

Value representing unsaturated fat nutrient.

UNSATURATED_FAT = 30;

VITAMIN_A

Value representing vitamin A nutrient.

VITAMIN_A = 31;

VITAMIN_A_VALUE

Value representing vitamin A nutrient.

VITAMIN_A = 31;

VITAMIN_B12

Value representing vitamin B12 nutrient.

VITAMIN_B12 = 32;

VITAMIN_B12_VALUE

Value representing vitamin B12 nutrient.

VITAMIN_B12 = 32;

VITAMIN_B6

Value representing vitamin B6 nutrient.

VITAMIN_B6 = 33;

VITAMIN_B6_VALUE

Value representing vitamin B6 nutrient.

VITAMIN_B6 = 33;

VITAMIN_C

Value representing vitamin C nutrient.

VITAMIN_C = 34;

VITAMIN_C_VALUE

Value representing vitamin C nutrient.

VITAMIN_C = 34;

VITAMIN_D

Value representing vitamin D nutrient.

VITAMIN_D = 35;

VITAMIN_D_VALUE

Value representing vitamin D nutrient.

VITAMIN_D = 35;

VITAMIN_E

Value representing vitamin E nutrient.

VITAMIN_E = 36;

VITAMIN_E_VALUE

Value representing vitamin E nutrient.

VITAMIN_E = 36;

VITAMIN_K

Value representing vitamin K nutrient.

VITAMIN_K = 37;

VITAMIN_K_VALUE

Value representing vitamin K nutrient.

VITAMIN_K = 37;

ZINC

Value representing zinc nutrient.

ZINC = 38;

ZINC_VALUE

Value representing zinc nutrient.

ZINC = 38;

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