Class RollupDataPoint (0.2.0)

public final class RollupDataPoint extends GeneratedMessage implements RollupDataPointOrBuilder

Value of a rollup for a single physical time interval (aggregation window) of reconciled data points from all data sources, excluding those data points that are identified as recorded by wearables in intervals when they were not actually worn.

Protobuf type google.devicesandservices.health.v4.RollupDataPoint

Static Fields

ACTIVE_ENERGY_BURNED_FIELD_NUMBER

public static final int ACTIVE_ENERGY_BURNED_FIELD_NUMBER
Field Value
Type Description
int

ACTIVE_MINUTES_FIELD_NUMBER

public static final int ACTIVE_MINUTES_FIELD_NUMBER
Field Value
Type Description
int

ACTIVE_ZONE_MINUTES_FIELD_NUMBER

public static final int ACTIVE_ZONE_MINUTES_FIELD_NUMBER
Field Value
Type Description
int

ACTIVITY_LEVEL_FIELD_NUMBER

public static final int ACTIVITY_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

ALTITUDE_FIELD_NUMBER

public static final int ALTITUDE_FIELD_NUMBER
Field Value
Type Description
int

BLOOD_GLUCOSE_FIELD_NUMBER

public static final int BLOOD_GLUCOSE_FIELD_NUMBER
Field Value
Type Description
int

BODY_FAT_FIELD_NUMBER

public static final int BODY_FAT_FIELD_NUMBER
Field Value
Type Description
int

CALORIES_IN_HEART_RATE_ZONE_FIELD_NUMBER

public static final int CALORIES_IN_HEART_RATE_ZONE_FIELD_NUMBER
Field Value
Type Description
int

CORE_BODY_TEMPERATURE_FIELD_NUMBER

public static final int CORE_BODY_TEMPERATURE_FIELD_NUMBER
Field Value
Type Description
int

DISTANCE_FIELD_NUMBER

public static final int DISTANCE_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

FLOORS_FIELD_NUMBER

public static final int FLOORS_FIELD_NUMBER
Field Value
Type Description
int

HEART_RATE_FIELD_NUMBER

public static final int HEART_RATE_FIELD_NUMBER
Field Value
Type Description
int

HYDRATION_LOG_FIELD_NUMBER

public static final int HYDRATION_LOG_FIELD_NUMBER
Field Value
Type Description
int

NUTRITION_LOG_FIELD_NUMBER

public static final int NUTRITION_LOG_FIELD_NUMBER
Field Value
Type Description
int

RUN_VO2_MAX_FIELD_NUMBER

public static final int RUN_VO2_MAX_FIELD_NUMBER
Field Value
Type Description
int

SEDENTARY_PERIOD_FIELD_NUMBER

public static final int SEDENTARY_PERIOD_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STEPS_FIELD_NUMBER

public static final int STEPS_FIELD_NUMBER
Field Value
Type Description
int

SWIM_LENGTHS_DATA_FIELD_NUMBER

public static final int SWIM_LENGTHS_DATA_FIELD_NUMBER
Field Value
Type Description
int

TIME_IN_HEART_RATE_ZONE_FIELD_NUMBER

public static final int TIME_IN_HEART_RATE_ZONE_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_CALORIES_FIELD_NUMBER

public static final int TOTAL_CALORIES_FIELD_NUMBER
Field Value
Type Description
int

WEIGHT_FIELD_NUMBER

public static final int WEIGHT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RollupDataPoint getDefaultInstance()
Returns
Type Description
RollupDataPoint

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RollupDataPoint.Builder newBuilder()
Returns
Type Description
RollupDataPoint.Builder

newBuilder(RollupDataPoint prototype)

public static RollupDataPoint.Builder newBuilder(RollupDataPoint prototype)
Parameter
Name Description
prototype RollupDataPoint
Returns
Type Description
RollupDataPoint.Builder

parseDelimitedFrom(InputStream input)

public static RollupDataPoint parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RollupDataPoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RollupDataPoint parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RollupDataPoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RollupDataPoint parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RollupDataPoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RollupDataPoint parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RollupDataPoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RollupDataPoint parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RollupDataPoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RollupDataPoint parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RollupDataPoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RollupDataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RollupDataPoint> parser()
Returns
Type Description
Parser<RollupDataPoint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActiveEnergyBurned()

public ActiveEnergyBurnedRollupValue getActiveEnergyBurned()

Returned by default when rolling up data points from the active-energy-burned data type.

.google.devicesandservices.health.v4.ActiveEnergyBurnedRollupValue active_energy_burned = 25;

Returns
Type Description
ActiveEnergyBurnedRollupValue

The activeEnergyBurned.

getActiveEnergyBurnedOrBuilder()

public ActiveEnergyBurnedRollupValueOrBuilder getActiveEnergyBurnedOrBuilder()

Returned by default when rolling up data points from the active-energy-burned data type.

.google.devicesandservices.health.v4.ActiveEnergyBurnedRollupValue active_energy_burned = 25;

Returns
Type Description
ActiveEnergyBurnedRollupValueOrBuilder

getActiveMinutes()

public ActiveMinutesRollupValue getActiveMinutes()

Returned by default when rolling up data points from the active-minutes data type, or when requested explicitly using the active-minutes rollup type identifier.

.google.devicesandservices.health.v4.ActiveMinutesRollupValue active_minutes = 22;

Returns
Type Description
ActiveMinutesRollupValue

The activeMinutes.

getActiveMinutesOrBuilder()

public ActiveMinutesRollupValueOrBuilder getActiveMinutesOrBuilder()

Returned by default when rolling up data points from the active-minutes data type, or when requested explicitly using the active-minutes rollup type identifier.

.google.devicesandservices.health.v4.ActiveMinutesRollupValue active_minutes = 22;

Returns
Type Description
ActiveMinutesRollupValueOrBuilder

getActiveZoneMinutes()

public ActiveZoneMinutesRollupValue getActiveZoneMinutes()

Returned by default when rolling up data points from the active-zone-minutes data type, or when requested explicitly using the active-zone-minutes rollup type identifier.

.google.devicesandservices.health.v4.ActiveZoneMinutesRollupValue active_zone_minutes = 13;

Returns
Type Description
ActiveZoneMinutesRollupValue

The activeZoneMinutes.

getActiveZoneMinutesOrBuilder()

public ActiveZoneMinutesRollupValueOrBuilder getActiveZoneMinutesOrBuilder()

Returned by default when rolling up data points from the active-zone-minutes data type, or when requested explicitly using the active-zone-minutes rollup type identifier.

.google.devicesandservices.health.v4.ActiveZoneMinutesRollupValue active_zone_minutes = 13;

Returns
Type Description
ActiveZoneMinutesRollupValueOrBuilder

getActivityLevel()

public ActivityLevelRollupValue getActivityLevel()

Returned by default when rolling up data points from the activity-level data type, or when requested explicitly using the activity-level rollup type identifier.

.google.devicesandservices.health.v4.ActivityLevelRollupValue activity_level = 18;

Returns
Type Description
ActivityLevelRollupValue

The activityLevel.

getActivityLevelOrBuilder()

public ActivityLevelRollupValueOrBuilder getActivityLevelOrBuilder()

Returned by default when rolling up data points from the activity-level data type, or when requested explicitly using the activity-level rollup type identifier.

.google.devicesandservices.health.v4.ActivityLevelRollupValue activity_level = 18;

Returns
Type Description
ActivityLevelRollupValueOrBuilder

getAltitude()

public AltitudeRollupValue getAltitude()

Returned by default when rolling up data points from the altitude data type, or when requested explicitly using the altitude rollup type identifier.

.google.devicesandservices.health.v4.AltitudeRollupValue altitude = 9;

Returns
Type Description
AltitudeRollupValue

The altitude.

getAltitudeOrBuilder()

public AltitudeRollupValueOrBuilder getAltitudeOrBuilder()

Returned by default when rolling up data points from the altitude data type, or when requested explicitly using the altitude rollup type identifier.

.google.devicesandservices.health.v4.AltitudeRollupValue altitude = 9;

Returns
Type Description
AltitudeRollupValueOrBuilder

getBloodGlucose()

public BloodGlucoseRollupValue getBloodGlucose()

Returned by default when rolling up data points from the blood-glucose data type.

.google.devicesandservices.health.v4.BloodGlucoseRollupValue blood_glucose = 26;

Returns
Type Description
BloodGlucoseRollupValue

The bloodGlucose.

getBloodGlucoseOrBuilder()

public BloodGlucoseRollupValueOrBuilder getBloodGlucoseOrBuilder()

Returned by default when rolling up data points from the blood-glucose data type.

.google.devicesandservices.health.v4.BloodGlucoseRollupValue blood_glucose = 26;

Returns
Type Description
BloodGlucoseRollupValueOrBuilder

getBodyFat()

public BodyFatRollupValue getBodyFat()

Returned by default when rolling up data points from the body-fat data type, or when requested explicitly using the body-fat rollup type identifier.

.google.devicesandservices.health.v4.BodyFatRollupValue body_fat = 11;

Returns
Type Description
BodyFatRollupValue

The bodyFat.

getBodyFatOrBuilder()

public BodyFatRollupValueOrBuilder getBodyFatOrBuilder()

Returned by default when rolling up data points from the body-fat data type, or when requested explicitly using the body-fat rollup type identifier.

.google.devicesandservices.health.v4.BodyFatRollupValue body_fat = 11;

Returns
Type Description
BodyFatRollupValueOrBuilder

getCaloriesInHeartRateZone()

public CaloriesInHeartRateZoneRollupValue getCaloriesInHeartRateZone()

Returned by default when rolling up data points from the calories-in-heart-rate-zone data type, or when requested explicitly using the calories-in-heart-rate-zone rollup type identifier.

.google.devicesandservices.health.v4.CaloriesInHeartRateZoneRollupValue calories_in_heart_rate_zone = 17;

Returns
Type Description
CaloriesInHeartRateZoneRollupValue

The caloriesInHeartRateZone.

getCaloriesInHeartRateZoneOrBuilder()

public CaloriesInHeartRateZoneRollupValueOrBuilder getCaloriesInHeartRateZoneOrBuilder()

Returned by default when rolling up data points from the calories-in-heart-rate-zone data type, or when requested explicitly using the calories-in-heart-rate-zone rollup type identifier.

.google.devicesandservices.health.v4.CaloriesInHeartRateZoneRollupValue calories_in_heart_rate_zone = 17;

Returns
Type Description
CaloriesInHeartRateZoneRollupValueOrBuilder

getCoreBodyTemperature()

public CoreBodyTemperatureRollupValue getCoreBodyTemperature()

Returned by default when rolling up data points from the core-body-temperature data type, or when requested explicitly using the core-body-temperature rollup type identifier.

.google.devicesandservices.health.v4.CoreBodyTemperatureRollupValue core_body_temperature = 24;

Returns
Type Description
CoreBodyTemperatureRollupValue

The coreBodyTemperature.

getCoreBodyTemperatureOrBuilder()

public CoreBodyTemperatureRollupValueOrBuilder getCoreBodyTemperatureOrBuilder()

Returned by default when rolling up data points from the core-body-temperature data type, or when requested explicitly using the core-body-temperature rollup type identifier.

.google.devicesandservices.health.v4.CoreBodyTemperatureRollupValue core_body_temperature = 24;

Returns
Type Description
CoreBodyTemperatureRollupValueOrBuilder

getDefaultInstanceForType()

public RollupDataPoint getDefaultInstanceForType()
Returns
Type Description
RollupDataPoint

getDistance()

public DistanceRollupValue getDistance()

Returned by default when rolling up data points from the distance data type, or when requested explicitly using the distance rollup type identifier.

.google.devicesandservices.health.v4.DistanceRollupValue distance = 10;

Returns
Type Description
DistanceRollupValue

The distance.

getDistanceOrBuilder()

public DistanceRollupValueOrBuilder getDistanceOrBuilder()

Returned by default when rolling up data points from the distance data type, or when requested explicitly using the distance rollup type identifier.

.google.devicesandservices.health.v4.DistanceRollupValue distance = 10;

Returns
Type Description
DistanceRollupValueOrBuilder

getEndTime()

public Timestamp getEndTime()

End time of the window this value aggregates over

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

End time of the window this value aggregates over

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getFloors()

public FloorsRollupValue getFloors()

Returned by default when rolling up data points from the floors data type, or when requested explicitly using the floors rollup type identifier.

.google.devicesandservices.health.v4.FloorsRollupValue floors = 6;

Returns
Type Description
FloorsRollupValue

The floors.

getFloorsOrBuilder()

public FloorsRollupValueOrBuilder getFloorsOrBuilder()

Returned by default when rolling up data points from the floors data type, or when requested explicitly using the floors rollup type identifier.

.google.devicesandservices.health.v4.FloorsRollupValue floors = 6;

Returns
Type Description
FloorsRollupValueOrBuilder

getHeartRate()

public HeartRateRollupValue getHeartRate()

Returned by default when rolling up data points from the heart-rate data type, or when requested explicitly using the heart-rate rollup type identifier.

.google.devicesandservices.health.v4.HeartRateRollupValue heart_rate = 7;

Returns
Type Description
HeartRateRollupValue

The heartRate.

getHeartRateOrBuilder()

public HeartRateRollupValueOrBuilder getHeartRateOrBuilder()

Returned by default when rolling up data points from the heart-rate data type, or when requested explicitly using the heart-rate rollup type identifier.

.google.devicesandservices.health.v4.HeartRateRollupValue heart_rate = 7;

Returns
Type Description
HeartRateRollupValueOrBuilder

getHydrationLog()

public HydrationLogRollupValue getHydrationLog()

Returned by default when rolling up data points from the hydration-log data type, or when requested explicitly using the hydration-log rollup type identifier.

.google.devicesandservices.health.v4.HydrationLogRollupValue hydration_log = 20;

Returns
Type Description
HydrationLogRollupValue

The hydrationLog.

getHydrationLogOrBuilder()

public HydrationLogRollupValueOrBuilder getHydrationLogOrBuilder()

Returned by default when rolling up data points from the hydration-log data type, or when requested explicitly using the hydration-log rollup type identifier.

.google.devicesandservices.health.v4.HydrationLogRollupValue hydration_log = 20;

Returns
Type Description
HydrationLogRollupValueOrBuilder

getNutritionLog()

public NutritionLogRollupValue getNutritionLog()

Returned by default when rolling up data points from the nutrition-log data type, or when requested explicitly using the nutrition-log rollup type identifier.

.google.devicesandservices.health.v4.NutritionLogRollupValue nutrition_log = 19;

Returns
Type Description
NutritionLogRollupValue

The nutritionLog.

getNutritionLogOrBuilder()

public NutritionLogRollupValueOrBuilder getNutritionLogOrBuilder()

Returned by default when rolling up data points from the nutrition-log data type, or when requested explicitly using the nutrition-log rollup type identifier.

.google.devicesandservices.health.v4.NutritionLogRollupValue nutrition_log = 19;

Returns
Type Description
NutritionLogRollupValueOrBuilder

getParserForType()

public Parser<RollupDataPoint> getParserForType()
Returns
Type Description
Parser<RollupDataPoint>
Overrides

getRunVo2Max()

public RunVO2MaxRollupValue getRunVo2Max()

Returned by default when rolling up data points from the run-vo2-max data type, or when requested explicitly using the run-vo2-max rollup type identifier.

.google.devicesandservices.health.v4.RunVO2MaxRollupValue run_vo2_max = 16;

Returns
Type Description
RunVO2MaxRollupValue

The runVo2Max.

getRunVo2MaxOrBuilder()

public RunVO2MaxRollupValueOrBuilder getRunVo2MaxOrBuilder()

Returned by default when rolling up data points from the run-vo2-max data type, or when requested explicitly using the run-vo2-max rollup type identifier.

.google.devicesandservices.health.v4.RunVO2MaxRollupValue run_vo2_max = 16;

Returns
Type Description
RunVO2MaxRollupValueOrBuilder

getSedentaryPeriod()

public SedentaryPeriodRollupValue getSedentaryPeriod()

Returned by default when rolling up data points from the sedentary-period data type, or when requested explicitly using the sedentary-period rollup type identifier.

.google.devicesandservices.health.v4.SedentaryPeriodRollupValue sedentary_period = 15;

Returns
Type Description
SedentaryPeriodRollupValue

The sedentaryPeriod.

getSedentaryPeriodOrBuilder()

public SedentaryPeriodRollupValueOrBuilder getSedentaryPeriodOrBuilder()

Returned by default when rolling up data points from the sedentary-period data type, or when requested explicitly using the sedentary-period rollup type identifier.

.google.devicesandservices.health.v4.SedentaryPeriodRollupValue sedentary_period = 15;

Returns
Type Description
SedentaryPeriodRollupValueOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Start time of the window this value aggregates over

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Start time of the window this value aggregates over

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getSteps()

public StepsRollupValue getSteps()

Returned by default when rolling up data points from the steps data type, or when requested explicitly using the steps rollup type identifier.

.google.devicesandservices.health.v4.StepsRollupValue steps = 5;

Returns
Type Description
StepsRollupValue

The steps.

getStepsOrBuilder()

public StepsRollupValueOrBuilder getStepsOrBuilder()

Returned by default when rolling up data points from the steps data type, or when requested explicitly using the steps rollup type identifier.

.google.devicesandservices.health.v4.StepsRollupValue steps = 5;

Returns
Type Description
StepsRollupValueOrBuilder

getSwimLengthsData()

public SwimLengthsDataRollupValue getSwimLengthsData()

Returned by default when rolling up data points from the swim-lengths-data data type, or when requested explicitly using the swim-lengths-data rollup type identifier.

.google.devicesandservices.health.v4.SwimLengthsDataRollupValue swim_lengths_data = 23;

Returns
Type Description
SwimLengthsDataRollupValue

The swimLengthsData.

getSwimLengthsDataOrBuilder()

public SwimLengthsDataRollupValueOrBuilder getSwimLengthsDataOrBuilder()

Returned by default when rolling up data points from the swim-lengths-data data type, or when requested explicitly using the swim-lengths-data rollup type identifier.

.google.devicesandservices.health.v4.SwimLengthsDataRollupValue swim_lengths_data = 23;

Returns
Type Description
SwimLengthsDataRollupValueOrBuilder

getTimeInHeartRateZone()

public TimeInHeartRateZoneRollupValue getTimeInHeartRateZone()

Returned by default when rolling up data points from the time-in-heart-rate-zone data type, or when requested explicitly using the time-in-heart-rate-zone rollup type identifier.

.google.devicesandservices.health.v4.TimeInHeartRateZoneRollupValue time_in_heart_rate_zone = 21;

Returns
Type Description
TimeInHeartRateZoneRollupValue

The timeInHeartRateZone.

getTimeInHeartRateZoneOrBuilder()

public TimeInHeartRateZoneRollupValueOrBuilder getTimeInHeartRateZoneOrBuilder()

Returned by default when rolling up data points from the time-in-heart-rate-zone data type, or when requested explicitly using the time-in-heart-rate-zone rollup type identifier.

.google.devicesandservices.health.v4.TimeInHeartRateZoneRollupValue time_in_heart_rate_zone = 21;

Returns
Type Description
TimeInHeartRateZoneRollupValueOrBuilder

getTotalCalories()

public TotalCaloriesRollupValue getTotalCalories()

Returned by default when rolling up data points from the total-calories data type, or when requested explicitly using the total-calories rollup type identifier.

.google.devicesandservices.health.v4.TotalCaloriesRollupValue total_calories = 12;

Returns
Type Description
TotalCaloriesRollupValue

The totalCalories.

getTotalCaloriesOrBuilder()

public TotalCaloriesRollupValueOrBuilder getTotalCaloriesOrBuilder()

Returned by default when rolling up data points from the total-calories data type, or when requested explicitly using the total-calories rollup type identifier.

.google.devicesandservices.health.v4.TotalCaloriesRollupValue total_calories = 12;

Returns
Type Description
TotalCaloriesRollupValueOrBuilder

getValueCase()

public RollupDataPoint.ValueCase getValueCase()
Returns
Type Description
RollupDataPoint.ValueCase

getWeight()

public WeightRollupValue getWeight()

Returned by default when rolling up data points from the weight data type, or when requested explicitly using the weight rollup type identifier.

.google.devicesandservices.health.v4.WeightRollupValue weight = 8;

Returns
Type Description
WeightRollupValue

The weight.

getWeightOrBuilder()

public WeightRollupValueOrBuilder getWeightOrBuilder()

Returned by default when rolling up data points from the weight data type, or when requested explicitly using the weight rollup type identifier.

.google.devicesandservices.health.v4.WeightRollupValue weight = 8;

Returns
Type Description
WeightRollupValueOrBuilder

hasActiveEnergyBurned()

public boolean hasActiveEnergyBurned()

Returned by default when rolling up data points from the active-energy-burned data type.

.google.devicesandservices.health.v4.ActiveEnergyBurnedRollupValue active_energy_burned = 25;

Returns
Type Description
boolean

Whether the activeEnergyBurned field is set.

hasActiveMinutes()

public boolean hasActiveMinutes()

Returned by default when rolling up data points from the active-minutes data type, or when requested explicitly using the active-minutes rollup type identifier.

.google.devicesandservices.health.v4.ActiveMinutesRollupValue active_minutes = 22;

Returns
Type Description
boolean

Whether the activeMinutes field is set.

hasActiveZoneMinutes()

public boolean hasActiveZoneMinutes()

Returned by default when rolling up data points from the active-zone-minutes data type, or when requested explicitly using the active-zone-minutes rollup type identifier.

.google.devicesandservices.health.v4.ActiveZoneMinutesRollupValue active_zone_minutes = 13;

Returns
Type Description
boolean

Whether the activeZoneMinutes field is set.

hasActivityLevel()

public boolean hasActivityLevel()

Returned by default when rolling up data points from the activity-level data type, or when requested explicitly using the activity-level rollup type identifier.

.google.devicesandservices.health.v4.ActivityLevelRollupValue activity_level = 18;

Returns
Type Description
boolean

Whether the activityLevel field is set.

hasAltitude()

public boolean hasAltitude()

Returned by default when rolling up data points from the altitude data type, or when requested explicitly using the altitude rollup type identifier.

.google.devicesandservices.health.v4.AltitudeRollupValue altitude = 9;

Returns
Type Description
boolean

Whether the altitude field is set.

hasBloodGlucose()

public boolean hasBloodGlucose()

Returned by default when rolling up data points from the blood-glucose data type.

.google.devicesandservices.health.v4.BloodGlucoseRollupValue blood_glucose = 26;

Returns
Type Description
boolean

Whether the bloodGlucose field is set.

hasBodyFat()

public boolean hasBodyFat()

Returned by default when rolling up data points from the body-fat data type, or when requested explicitly using the body-fat rollup type identifier.

.google.devicesandservices.health.v4.BodyFatRollupValue body_fat = 11;

Returns
Type Description
boolean

Whether the bodyFat field is set.

hasCaloriesInHeartRateZone()

public boolean hasCaloriesInHeartRateZone()

Returned by default when rolling up data points from the calories-in-heart-rate-zone data type, or when requested explicitly using the calories-in-heart-rate-zone rollup type identifier.

.google.devicesandservices.health.v4.CaloriesInHeartRateZoneRollupValue calories_in_heart_rate_zone = 17;

Returns
Type Description
boolean

Whether the caloriesInHeartRateZone field is set.

hasCoreBodyTemperature()

public boolean hasCoreBodyTemperature()

Returned by default when rolling up data points from the core-body-temperature data type, or when requested explicitly using the core-body-temperature rollup type identifier.

.google.devicesandservices.health.v4.CoreBodyTemperatureRollupValue core_body_temperature = 24;

Returns
Type Description
boolean

Whether the coreBodyTemperature field is set.

hasDistance()

public boolean hasDistance()

Returned by default when rolling up data points from the distance data type, or when requested explicitly using the distance rollup type identifier.

.google.devicesandservices.health.v4.DistanceRollupValue distance = 10;

Returns
Type Description
boolean

Whether the distance field is set.

hasEndTime()

public boolean hasEndTime()

End time of the window this value aggregates over

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasFloors()

public boolean hasFloors()

Returned by default when rolling up data points from the floors data type, or when requested explicitly using the floors rollup type identifier.

.google.devicesandservices.health.v4.FloorsRollupValue floors = 6;

Returns
Type Description
boolean

Whether the floors field is set.

hasHeartRate()

public boolean hasHeartRate()

Returned by default when rolling up data points from the heart-rate data type, or when requested explicitly using the heart-rate rollup type identifier.

.google.devicesandservices.health.v4.HeartRateRollupValue heart_rate = 7;

Returns
Type Description
boolean

Whether the heartRate field is set.

hasHydrationLog()

public boolean hasHydrationLog()

Returned by default when rolling up data points from the hydration-log data type, or when requested explicitly using the hydration-log rollup type identifier.

.google.devicesandservices.health.v4.HydrationLogRollupValue hydration_log = 20;

Returns
Type Description
boolean

Whether the hydrationLog field is set.

hasNutritionLog()

public boolean hasNutritionLog()

Returned by default when rolling up data points from the nutrition-log data type, or when requested explicitly using the nutrition-log rollup type identifier.

.google.devicesandservices.health.v4.NutritionLogRollupValue nutrition_log = 19;

Returns
Type Description
boolean

Whether the nutritionLog field is set.

hasRunVo2Max()

public boolean hasRunVo2Max()

Returned by default when rolling up data points from the run-vo2-max data type, or when requested explicitly using the run-vo2-max rollup type identifier.

.google.devicesandservices.health.v4.RunVO2MaxRollupValue run_vo2_max = 16;

Returns
Type Description
boolean

Whether the runVo2Max field is set.

hasSedentaryPeriod()

public boolean hasSedentaryPeriod()

Returned by default when rolling up data points from the sedentary-period data type, or when requested explicitly using the sedentary-period rollup type identifier.

.google.devicesandservices.health.v4.SedentaryPeriodRollupValue sedentary_period = 15;

Returns
Type Description
boolean

Whether the sedentaryPeriod field is set.

hasStartTime()

public boolean hasStartTime()

Start time of the window this value aggregates over

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

hasSteps()

public boolean hasSteps()

Returned by default when rolling up data points from the steps data type, or when requested explicitly using the steps rollup type identifier.

.google.devicesandservices.health.v4.StepsRollupValue steps = 5;

Returns
Type Description
boolean

Whether the steps field is set.

hasSwimLengthsData()

public boolean hasSwimLengthsData()

Returned by default when rolling up data points from the swim-lengths-data data type, or when requested explicitly using the swim-lengths-data rollup type identifier.

.google.devicesandservices.health.v4.SwimLengthsDataRollupValue swim_lengths_data = 23;

Returns
Type Description
boolean

Whether the swimLengthsData field is set.

hasTimeInHeartRateZone()

public boolean hasTimeInHeartRateZone()

Returned by default when rolling up data points from the time-in-heart-rate-zone data type, or when requested explicitly using the time-in-heart-rate-zone rollup type identifier.

.google.devicesandservices.health.v4.TimeInHeartRateZoneRollupValue time_in_heart_rate_zone = 21;

Returns
Type Description
boolean

Whether the timeInHeartRateZone field is set.

hasTotalCalories()

public boolean hasTotalCalories()

Returned by default when rolling up data points from the total-calories data type, or when requested explicitly using the total-calories rollup type identifier.

.google.devicesandservices.health.v4.TotalCaloriesRollupValue total_calories = 12;

Returns
Type Description
boolean

Whether the totalCalories field is set.

hasWeight()

public boolean hasWeight()

Returned by default when rolling up data points from the weight data type, or when requested explicitly using the weight rollup type identifier.

.google.devicesandservices.health.v4.WeightRollupValue weight = 8;

Returns
Type Description
boolean

Whether the weight field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RollupDataPoint.Builder newBuilderForType()
Returns
Type Description
RollupDataPoint.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RollupDataPoint.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RollupDataPoint.Builder
Overrides

toBuilder()

public RollupDataPoint.Builder toBuilder()
Returns
Type Description
RollupDataPoint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException