public interface NutritionLogRollupValueOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEnergy()
public abstract NutritionLogRollupValue.EnergyQuantityRollup getEnergy()Energy rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.EnergyQuantityRollup energy = 2;
| Returns | |
|---|---|
| Type | Description |
NutritionLogRollupValue.EnergyQuantityRollup |
The energy. |
getEnergyFromFat()
public abstract NutritionLogRollupValue.EnergyQuantityRollup getEnergyFromFat()Value Energy from fat rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.EnergyQuantityRollup energy_from_fat = 3;
| Returns | |
|---|---|
| Type | Description |
NutritionLogRollupValue.EnergyQuantityRollup |
The energyFromFat. |
getEnergyFromFatOrBuilder()
public abstract NutritionLogRollupValue.EnergyQuantityRollupOrBuilder getEnergyFromFatOrBuilder()Value Energy from fat rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.EnergyQuantityRollup energy_from_fat = 3;
| Returns | |
|---|---|
| Type | Description |
NutritionLogRollupValue.EnergyQuantityRollupOrBuilder |
|
getEnergyOrBuilder()
public abstract NutritionLogRollupValue.EnergyQuantityRollupOrBuilder getEnergyOrBuilder()Energy rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.EnergyQuantityRollup energy = 2;
| Returns | |
|---|---|
| Type | Description |
NutritionLogRollupValue.EnergyQuantityRollupOrBuilder |
|
getNutrients(int index)
public abstract NutritionLogRollupValue.NutrientQuantityRollup getNutrients(int index)List of the nutrient roll-ups by the nutrient type.
repeated .google.devicesandservices.health.v4.NutritionLogRollupValue.NutrientQuantityRollup nutrients = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NutritionLogRollupValue.NutrientQuantityRollup |
|
getNutrientsCount()
public abstract int getNutrientsCount()List of the nutrient roll-ups by the nutrient type.
repeated .google.devicesandservices.health.v4.NutritionLogRollupValue.NutrientQuantityRollup nutrients = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getNutrientsList()
public abstract List<NutritionLogRollupValue.NutrientQuantityRollup> getNutrientsList()List of the nutrient roll-ups by the nutrient type.
repeated .google.devicesandservices.health.v4.NutritionLogRollupValue.NutrientQuantityRollup nutrients = 1;
| Returns | |
|---|---|
| Type | Description |
List<NutrientQuantityRollup> |
|
getNutrientsOrBuilder(int index)
public abstract NutritionLogRollupValue.NutrientQuantityRollupOrBuilder getNutrientsOrBuilder(int index)List of the nutrient roll-ups by the nutrient type.
repeated .google.devicesandservices.health.v4.NutritionLogRollupValue.NutrientQuantityRollup nutrients = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NutritionLogRollupValue.NutrientQuantityRollupOrBuilder |
|
getNutrientsOrBuilderList()
public abstract List<? extends NutritionLogRollupValue.NutrientQuantityRollupOrBuilder> getNutrientsOrBuilderList()List of the nutrient roll-ups by the nutrient type.
repeated .google.devicesandservices.health.v4.NutritionLogRollupValue.NutrientQuantityRollup nutrients = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.devicesandservices.health.v4.NutritionLogRollupValue.NutrientQuantityRollupOrBuilder> |
|
getTotalCarbohydrate()
public abstract NutritionLogRollupValue.WeightQuantityRollup getTotalCarbohydrate()Total carbohydrate rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.WeightQuantityRollup total_carbohydrate = 4;
| Returns | |
|---|---|
| Type | Description |
NutritionLogRollupValue.WeightQuantityRollup |
The totalCarbohydrate. |
getTotalCarbohydrateOrBuilder()
public abstract NutritionLogRollupValue.WeightQuantityRollupOrBuilder getTotalCarbohydrateOrBuilder()Total carbohydrate rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.WeightQuantityRollup total_carbohydrate = 4;
| Returns | |
|---|---|
| Type | Description |
NutritionLogRollupValue.WeightQuantityRollupOrBuilder |
|
getTotalFat()
public abstract NutritionLogRollupValue.WeightQuantityRollup getTotalFat()Total fat rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.WeightQuantityRollup total_fat = 5;
| Returns | |
|---|---|
| Type | Description |
NutritionLogRollupValue.WeightQuantityRollup |
The totalFat. |
getTotalFatOrBuilder()
public abstract NutritionLogRollupValue.WeightQuantityRollupOrBuilder getTotalFatOrBuilder()Total fat rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.WeightQuantityRollup total_fat = 5;
| Returns | |
|---|---|
| Type | Description |
NutritionLogRollupValue.WeightQuantityRollupOrBuilder |
|
hasEnergy()
public abstract boolean hasEnergy()Energy rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.EnergyQuantityRollup energy = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the energy field is set. |
hasEnergyFromFat()
public abstract boolean hasEnergyFromFat()Value Energy from fat rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.EnergyQuantityRollup energy_from_fat = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the energyFromFat field is set. |
hasTotalCarbohydrate()
public abstract boolean hasTotalCarbohydrate()Total carbohydrate rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.WeightQuantityRollup total_carbohydrate = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the totalCarbohydrate field is set. |
hasTotalFat()
public abstract boolean hasTotalFat()Total fat rollup.
.google.devicesandservices.health.v4.NutritionLogRollupValue.WeightQuantityRollup total_fat = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the totalFat field is set. |