Class ReconciledDataPoint.Builder (0.2.0)

public static final class ReconciledDataPoint.Builder extends GeneratedMessage.Builder<ReconciledDataPoint.Builder> implements ReconciledDataPointOrBuilder

A reconciled computed or recorded metric.

Protobuf type google.devicesandservices.health.v4.ReconciledDataPoint

Static Methods

getDescriptor()

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

Methods

build()

public ReconciledDataPoint build()
Returns
Type Description
ReconciledDataPoint

buildPartial()

public ReconciledDataPoint buildPartial()
Returns
Type Description
ReconciledDataPoint

clear()

public ReconciledDataPoint.Builder clear()
Returns
Type Description
ReconciledDataPoint.Builder
Overrides

clearActiveEnergyBurned()

public ReconciledDataPoint.Builder clearActiveEnergyBurned()

Data for points in the active-energy-burned interval data type collection.

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44;

Returns
Type Description
ReconciledDataPoint.Builder

clearActiveMinutes()

public ReconciledDataPoint.Builder clearActiveMinutes()

Data for points in the active-minutes interval data type collection.

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36;

Returns
Type Description
ReconciledDataPoint.Builder

clearActiveZoneMinutes()

public ReconciledDataPoint.Builder clearActiveZoneMinutes()

Data for points in the active-zone-minutes interval data type collection, measured in minutes.

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17;

Returns
Type Description
ReconciledDataPoint.Builder

clearActivityLevel()

public ReconciledDataPoint.Builder clearActivityLevel()

Data for points in the activity-level daily data type collection.

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26;

Returns
Type Description
ReconciledDataPoint.Builder

clearAltitude()

public ReconciledDataPoint.Builder clearAltitude()

Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13;

Returns
Type Description
ReconciledDataPoint.Builder

clearBasalEnergyBurned()

public ReconciledDataPoint.Builder clearBasalEnergyBurned()

Data for points in the basal-energy-burned interval data type collection.

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41;

Returns
Type Description
ReconciledDataPoint.Builder

clearBloodGlucose()

public ReconciledDataPoint.Builder clearBloodGlucose()

Data for points in the blood-glucose sample data type collection.

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46;

Returns
Type Description
ReconciledDataPoint.Builder

clearBodyFat()

public ReconciledDataPoint.Builder clearBodyFat()

Data for points in the body-fat sample data type collection.

.google.devicesandservices.health.v4.BodyFat body_fat = 15;

Returns
Type Description
ReconciledDataPoint.Builder

clearCoreBodyTemperature()

public ReconciledDataPoint.Builder clearCoreBodyTemperature()

Data for points in the core-body-temperature sample data type collection.

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42;

Returns
Type Description
ReconciledDataPoint.Builder

clearDailyHeartRateVariability()

public ReconciledDataPoint.Builder clearDailyHeartRateVariability()

Data for points in the daily-heart-rate-variability daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10;

Returns
Type Description
ReconciledDataPoint.Builder

clearDailyHeartRateZones()

public ReconciledDataPoint.Builder clearDailyHeartRateZones()

Data for points in the daily-heart-rate-zones daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32;

Returns
Type Description
ReconciledDataPoint.Builder

clearDailyOxygenSaturation()

public ReconciledDataPoint.Builder clearDailyOxygenSaturation()

Data for points in the daily-oxygen-saturation daily data type collection.

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25;

Returns
Type Description
ReconciledDataPoint.Builder

clearDailyRespiratoryRate()

public ReconciledDataPoint.Builder clearDailyRespiratoryRate()

Data for points in the daily-respiratory-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38;

Returns
Type Description
ReconciledDataPoint.Builder

clearDailyRestingHeartRate()

public ReconciledDataPoint.Builder clearDailyRestingHeartRate()

Data for points in the daily-resting-heart-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9;

Returns
Type Description
ReconciledDataPoint.Builder

clearDailySleepTemperatureDerivations()

public ReconciledDataPoint.Builder clearDailySleepTemperatureDerivations()

Data for points in the daily-sleep-temperature-derivations daily data type collection.

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20;

Returns
Type Description
ReconciledDataPoint.Builder

clearDailyVo2Max()

public ReconciledDataPoint.Builder clearDailyVo2Max()

Data for points in the daily-vo2-max daily data type collection.

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28;

Returns
Type Description
ReconciledDataPoint.Builder

clearData()

public ReconciledDataPoint.Builder clearData()
Returns
Type Description
ReconciledDataPoint.Builder

clearDataPointName()

public ReconciledDataPoint.Builder clearDataPointName()

Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty.

Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}

Example: users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef

The {user} ID is a system-generated identifier, as described in Identity.health_user_id.

The {data_type} ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. total-calories for the total_calories field.

The {data_point} ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.

string data_point_name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ReconciledDataPoint.Builder

This builder for chaining.

clearDistance()

public ReconciledDataPoint.Builder clearDistance()

Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14;

Returns
Type Description
ReconciledDataPoint.Builder

clearExercise()

public ReconciledDataPoint.Builder clearExercise()

Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11;

Returns
Type Description
ReconciledDataPoint.Builder

clearFloors()

public ReconciledDataPoint.Builder clearFloors()

Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5;

Returns
Type Description
ReconciledDataPoint.Builder

clearHeartRate()

public ReconciledDataPoint.Builder clearHeartRate()

Data for points in the heart-rate sample data type collection.

.google.devicesandservices.health.v4.HeartRate heart_rate = 6;

Returns
Type Description
ReconciledDataPoint.Builder

clearHeartRateVariability()

public ReconciledDataPoint.Builder clearHeartRateVariability()

Data for points in the heart-rate-variability sample data type collection.

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19;

Returns
Type Description
ReconciledDataPoint.Builder

clearHeight()

public ReconciledDataPoint.Builder clearHeight()

Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40;

Returns
Type Description
ReconciledDataPoint.Builder

clearHydrationLog()

public ReconciledDataPoint.Builder clearHydrationLog()

Data for points in the hydration-log session data type collection.

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33;

Returns
Type Description
ReconciledDataPoint.Builder

clearNutritionLog()

public ReconciledDataPoint.Builder clearNutritionLog()

Data for points in the nutrition-log session data type collection.

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29;

Returns
Type Description
ReconciledDataPoint.Builder

clearOxygenSaturation()

public ReconciledDataPoint.Builder clearOxygenSaturation()

Data for points in the oxygen-saturation sample data type collection.

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24;

Returns
Type Description
ReconciledDataPoint.Builder

clearRespiratoryRateSleepSummary()

public ReconciledDataPoint.Builder clearRespiratoryRateSleepSummary()

Data for points in the respiratory-rate-sleep-summary sample data type collection.

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37;

Returns
Type Description
ReconciledDataPoint.Builder

clearRunVo2Max()

public ReconciledDataPoint.Builder clearRunVo2Max()

Data for points in the run-vo2-max sample data type collection.

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22;

Returns
Type Description
ReconciledDataPoint.Builder

clearSedentaryPeriod()

public ReconciledDataPoint.Builder clearSedentaryPeriod()

Data for points in the sedentary-period interval data type collection.

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21;

Returns
Type Description
ReconciledDataPoint.Builder

clearSleep()

public ReconciledDataPoint.Builder clearSleep()

Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8;

Returns
Type Description
ReconciledDataPoint.Builder

clearSteps()

public ReconciledDataPoint.Builder clearSteps()

Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4;

Returns
Type Description
ReconciledDataPoint.Builder

clearSwimLengthsData()

public ReconciledDataPoint.Builder clearSwimLengthsData()

Data for points in the swim-lengths-data interval data type collection.

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39;

Returns
Type Description
ReconciledDataPoint.Builder

clearTimeInHeartRateZone()

public ReconciledDataPoint.Builder clearTimeInHeartRateZone()

Data for points in the time-in-heart-rate-zone interval data type collection.

.google.devicesandservices.health.v4.TimeInHeartRateZone time_in_heart_rate_zone = 35;

Returns
Type Description
ReconciledDataPoint.Builder

clearVo2Max()

public ReconciledDataPoint.Builder clearVo2Max()

Data for points in the vo2-max sample data type collection.

.google.devicesandservices.health.v4.VO2Max vo2_max = 27;

Returns
Type Description
ReconciledDataPoint.Builder

clearWeight()

public ReconciledDataPoint.Builder clearWeight()

Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12;

Returns
Type Description
ReconciledDataPoint.Builder

getActiveEnergyBurned()

public ActiveEnergyBurned getActiveEnergyBurned()

Data for points in the active-energy-burned interval data type collection.

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44;

Returns
Type Description
ActiveEnergyBurned

The activeEnergyBurned.

getActiveEnergyBurnedBuilder()

public ActiveEnergyBurned.Builder getActiveEnergyBurnedBuilder()

Data for points in the active-energy-burned interval data type collection.

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44;

Returns
Type Description
ActiveEnergyBurned.Builder

getActiveEnergyBurnedOrBuilder()

public ActiveEnergyBurnedOrBuilder getActiveEnergyBurnedOrBuilder()

Data for points in the active-energy-burned interval data type collection.

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44;

Returns
Type Description
ActiveEnergyBurnedOrBuilder

getActiveMinutes()

public ActiveMinutes getActiveMinutes()

Data for points in the active-minutes interval data type collection.

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36;

Returns
Type Description
ActiveMinutes

The activeMinutes.

getActiveMinutesBuilder()

public ActiveMinutes.Builder getActiveMinutesBuilder()

Data for points in the active-minutes interval data type collection.

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36;

Returns
Type Description
ActiveMinutes.Builder

getActiveMinutesOrBuilder()

public ActiveMinutesOrBuilder getActiveMinutesOrBuilder()

Data for points in the active-minutes interval data type collection.

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36;

Returns
Type Description
ActiveMinutesOrBuilder

getActiveZoneMinutes()

public ActiveZoneMinutes getActiveZoneMinutes()

Data for points in the active-zone-minutes interval data type collection, measured in minutes.

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17;

Returns
Type Description
ActiveZoneMinutes

The activeZoneMinutes.

getActiveZoneMinutesBuilder()

public ActiveZoneMinutes.Builder getActiveZoneMinutesBuilder()

Data for points in the active-zone-minutes interval data type collection, measured in minutes.

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17;

Returns
Type Description
ActiveZoneMinutes.Builder

getActiveZoneMinutesOrBuilder()

public ActiveZoneMinutesOrBuilder getActiveZoneMinutesOrBuilder()

Data for points in the active-zone-minutes interval data type collection, measured in minutes.

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17;

Returns
Type Description
ActiveZoneMinutesOrBuilder

getActivityLevel()

public ActivityLevel getActivityLevel()

Data for points in the activity-level daily data type collection.

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26;

Returns
Type Description
ActivityLevel

The activityLevel.

getActivityLevelBuilder()

public ActivityLevel.Builder getActivityLevelBuilder()

Data for points in the activity-level daily data type collection.

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26;

Returns
Type Description
ActivityLevel.Builder

getActivityLevelOrBuilder()

public ActivityLevelOrBuilder getActivityLevelOrBuilder()

Data for points in the activity-level daily data type collection.

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26;

Returns
Type Description
ActivityLevelOrBuilder

getAltitude()

public Altitude getAltitude()

Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13;

Returns
Type Description
Altitude

The altitude.

getAltitudeBuilder()

public Altitude.Builder getAltitudeBuilder()

Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13;

Returns
Type Description
Altitude.Builder

getAltitudeOrBuilder()

public AltitudeOrBuilder getAltitudeOrBuilder()

Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13;

Returns
Type Description
AltitudeOrBuilder

getBasalEnergyBurned()

public BasalEnergyBurned getBasalEnergyBurned()

Data for points in the basal-energy-burned interval data type collection.

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41;

Returns
Type Description
BasalEnergyBurned

The basalEnergyBurned.

getBasalEnergyBurnedBuilder()

public BasalEnergyBurned.Builder getBasalEnergyBurnedBuilder()

Data for points in the basal-energy-burned interval data type collection.

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41;

Returns
Type Description
BasalEnergyBurned.Builder

getBasalEnergyBurnedOrBuilder()

public BasalEnergyBurnedOrBuilder getBasalEnergyBurnedOrBuilder()

Data for points in the basal-energy-burned interval data type collection.

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41;

Returns
Type Description
BasalEnergyBurnedOrBuilder

getBloodGlucose()

public BloodGlucose getBloodGlucose()

Data for points in the blood-glucose sample data type collection.

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46;

Returns
Type Description
BloodGlucose

The bloodGlucose.

getBloodGlucoseBuilder()

public BloodGlucose.Builder getBloodGlucoseBuilder()

Data for points in the blood-glucose sample data type collection.

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46;

Returns
Type Description
BloodGlucose.Builder

getBloodGlucoseOrBuilder()

public BloodGlucoseOrBuilder getBloodGlucoseOrBuilder()

Data for points in the blood-glucose sample data type collection.

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46;

Returns
Type Description
BloodGlucoseOrBuilder

getBodyFat()

public BodyFat getBodyFat()

Data for points in the body-fat sample data type collection.

.google.devicesandservices.health.v4.BodyFat body_fat = 15;

Returns
Type Description
BodyFat

The bodyFat.

getBodyFatBuilder()

public BodyFat.Builder getBodyFatBuilder()

Data for points in the body-fat sample data type collection.

.google.devicesandservices.health.v4.BodyFat body_fat = 15;

Returns
Type Description
BodyFat.Builder

getBodyFatOrBuilder()

public BodyFatOrBuilder getBodyFatOrBuilder()

Data for points in the body-fat sample data type collection.

.google.devicesandservices.health.v4.BodyFat body_fat = 15;

Returns
Type Description
BodyFatOrBuilder

getCoreBodyTemperature()

public CoreBodyTemperature getCoreBodyTemperature()

Data for points in the core-body-temperature sample data type collection.

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42;

Returns
Type Description
CoreBodyTemperature

The coreBodyTemperature.

getCoreBodyTemperatureBuilder()

public CoreBodyTemperature.Builder getCoreBodyTemperatureBuilder()

Data for points in the core-body-temperature sample data type collection.

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42;

Returns
Type Description
CoreBodyTemperature.Builder

getCoreBodyTemperatureOrBuilder()

public CoreBodyTemperatureOrBuilder getCoreBodyTemperatureOrBuilder()

Data for points in the core-body-temperature sample data type collection.

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42;

Returns
Type Description
CoreBodyTemperatureOrBuilder

getDailyHeartRateVariability()

public DailyHeartRateVariability getDailyHeartRateVariability()

Data for points in the daily-heart-rate-variability daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10;

Returns
Type Description
DailyHeartRateVariability

The dailyHeartRateVariability.

getDailyHeartRateVariabilityBuilder()

public DailyHeartRateVariability.Builder getDailyHeartRateVariabilityBuilder()

Data for points in the daily-heart-rate-variability daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10;

Returns
Type Description
DailyHeartRateVariability.Builder

getDailyHeartRateVariabilityOrBuilder()

public DailyHeartRateVariabilityOrBuilder getDailyHeartRateVariabilityOrBuilder()

Data for points in the daily-heart-rate-variability daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10;

Returns
Type Description
DailyHeartRateVariabilityOrBuilder

getDailyHeartRateZones()

public DailyHeartRateZones getDailyHeartRateZones()

Data for points in the daily-heart-rate-zones daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32;

Returns
Type Description
DailyHeartRateZones

The dailyHeartRateZones.

getDailyHeartRateZonesBuilder()

public DailyHeartRateZones.Builder getDailyHeartRateZonesBuilder()

Data for points in the daily-heart-rate-zones daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32;

Returns
Type Description
DailyHeartRateZones.Builder

getDailyHeartRateZonesOrBuilder()

public DailyHeartRateZonesOrBuilder getDailyHeartRateZonesOrBuilder()

Data for points in the daily-heart-rate-zones daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32;

Returns
Type Description
DailyHeartRateZonesOrBuilder

getDailyOxygenSaturation()

public DailyOxygenSaturation getDailyOxygenSaturation()

Data for points in the daily-oxygen-saturation daily data type collection.

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25;

Returns
Type Description
DailyOxygenSaturation

The dailyOxygenSaturation.

getDailyOxygenSaturationBuilder()

public DailyOxygenSaturation.Builder getDailyOxygenSaturationBuilder()

Data for points in the daily-oxygen-saturation daily data type collection.

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25;

Returns
Type Description
DailyOxygenSaturation.Builder

getDailyOxygenSaturationOrBuilder()

public DailyOxygenSaturationOrBuilder getDailyOxygenSaturationOrBuilder()

Data for points in the daily-oxygen-saturation daily data type collection.

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25;

Returns
Type Description
DailyOxygenSaturationOrBuilder

getDailyRespiratoryRate()

public DailyRespiratoryRate getDailyRespiratoryRate()

Data for points in the daily-respiratory-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38;

Returns
Type Description
DailyRespiratoryRate

The dailyRespiratoryRate.

getDailyRespiratoryRateBuilder()

public DailyRespiratoryRate.Builder getDailyRespiratoryRateBuilder()

Data for points in the daily-respiratory-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38;

Returns
Type Description
DailyRespiratoryRate.Builder

getDailyRespiratoryRateOrBuilder()

public DailyRespiratoryRateOrBuilder getDailyRespiratoryRateOrBuilder()

Data for points in the daily-respiratory-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38;

Returns
Type Description
DailyRespiratoryRateOrBuilder

getDailyRestingHeartRate()

public DailyRestingHeartRate getDailyRestingHeartRate()

Data for points in the daily-resting-heart-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9;

Returns
Type Description
DailyRestingHeartRate

The dailyRestingHeartRate.

getDailyRestingHeartRateBuilder()

public DailyRestingHeartRate.Builder getDailyRestingHeartRateBuilder()

Data for points in the daily-resting-heart-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9;

Returns
Type Description
DailyRestingHeartRate.Builder

getDailyRestingHeartRateOrBuilder()

public DailyRestingHeartRateOrBuilder getDailyRestingHeartRateOrBuilder()

Data for points in the daily-resting-heart-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9;

Returns
Type Description
DailyRestingHeartRateOrBuilder

getDailySleepTemperatureDerivations()

public DailySleepTemperatureDerivations getDailySleepTemperatureDerivations()

Data for points in the daily-sleep-temperature-derivations daily data type collection.

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20;

Returns
Type Description
DailySleepTemperatureDerivations

The dailySleepTemperatureDerivations.

getDailySleepTemperatureDerivationsBuilder()

public DailySleepTemperatureDerivations.Builder getDailySleepTemperatureDerivationsBuilder()

Data for points in the daily-sleep-temperature-derivations daily data type collection.

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20;

Returns
Type Description
DailySleepTemperatureDerivations.Builder

getDailySleepTemperatureDerivationsOrBuilder()

public DailySleepTemperatureDerivationsOrBuilder getDailySleepTemperatureDerivationsOrBuilder()

Data for points in the daily-sleep-temperature-derivations daily data type collection.

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20;

Returns
Type Description
DailySleepTemperatureDerivationsOrBuilder

getDailyVo2Max()

public DailyVO2Max getDailyVo2Max()

Data for points in the daily-vo2-max daily data type collection.

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28;

Returns
Type Description
DailyVO2Max

The dailyVo2Max.

getDailyVo2MaxBuilder()

public DailyVO2Max.Builder getDailyVo2MaxBuilder()

Data for points in the daily-vo2-max daily data type collection.

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28;

Returns
Type Description
DailyVO2Max.Builder

getDailyVo2MaxOrBuilder()

public DailyVO2MaxOrBuilder getDailyVo2MaxOrBuilder()

Data for points in the daily-vo2-max daily data type collection.

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28;

Returns
Type Description
DailyVO2MaxOrBuilder

getDataCase()

public ReconciledDataPoint.DataCase getDataCase()
Returns
Type Description
ReconciledDataPoint.DataCase

getDataPointName()

public String getDataPointName()

Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty.

Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}

Example: users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef

The {user} ID is a system-generated identifier, as described in Identity.health_user_id.

The {data_type} ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. total-calories for the total_calories field.

The {data_point} ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.

string data_point_name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The dataPointName.

getDataPointNameBytes()

public ByteString getDataPointNameBytes()

Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty.

Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}

Example: users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef

The {user} ID is a system-generated identifier, as described in Identity.health_user_id.

The {data_type} ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. total-calories for the total_calories field.

The {data_point} ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.

string data_point_name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for dataPointName.

getDefaultInstanceForType()

public ReconciledDataPoint getDefaultInstanceForType()
Returns
Type Description
ReconciledDataPoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDistance()

public Distance getDistance()

Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14;

Returns
Type Description
Distance

The distance.

getDistanceBuilder()

public Distance.Builder getDistanceBuilder()

Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14;

Returns
Type Description
Distance.Builder

getDistanceOrBuilder()

public DistanceOrBuilder getDistanceOrBuilder()

Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14;

Returns
Type Description
DistanceOrBuilder

getExercise()

public Exercise getExercise()

Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11;

Returns
Type Description
Exercise

The exercise.

getExerciseBuilder()

public Exercise.Builder getExerciseBuilder()

Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11;

Returns
Type Description
Exercise.Builder

getExerciseOrBuilder()

public ExerciseOrBuilder getExerciseOrBuilder()

Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11;

Returns
Type Description
ExerciseOrBuilder

getFloors()

public Floors getFloors()

Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5;

Returns
Type Description
Floors

The floors.

getFloorsBuilder()

public Floors.Builder getFloorsBuilder()

Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5;

Returns
Type Description
Floors.Builder

getFloorsOrBuilder()

public FloorsOrBuilder getFloorsOrBuilder()

Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5;

Returns
Type Description
FloorsOrBuilder

getHeartRate()

public HeartRate getHeartRate()

Data for points in the heart-rate sample data type collection.

.google.devicesandservices.health.v4.HeartRate heart_rate = 6;

Returns
Type Description
HeartRate

The heartRate.

getHeartRateBuilder()

public HeartRate.Builder getHeartRateBuilder()

Data for points in the heart-rate sample data type collection.

.google.devicesandservices.health.v4.HeartRate heart_rate = 6;

Returns
Type Description
HeartRate.Builder

getHeartRateOrBuilder()

public HeartRateOrBuilder getHeartRateOrBuilder()

Data for points in the heart-rate sample data type collection.

.google.devicesandservices.health.v4.HeartRate heart_rate = 6;

Returns
Type Description
HeartRateOrBuilder

getHeartRateVariability()

public HeartRateVariability getHeartRateVariability()

Data for points in the heart-rate-variability sample data type collection.

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19;

Returns
Type Description
HeartRateVariability

The heartRateVariability.

getHeartRateVariabilityBuilder()

public HeartRateVariability.Builder getHeartRateVariabilityBuilder()

Data for points in the heart-rate-variability sample data type collection.

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19;

Returns
Type Description
HeartRateVariability.Builder

getHeartRateVariabilityOrBuilder()

public HeartRateVariabilityOrBuilder getHeartRateVariabilityOrBuilder()

Data for points in the heart-rate-variability sample data type collection.

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19;

Returns
Type Description
HeartRateVariabilityOrBuilder

getHeight()

public Height getHeight()

Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40;

Returns
Type Description
Height

The height.

getHeightBuilder()

public Height.Builder getHeightBuilder()

Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40;

Returns
Type Description
Height.Builder

getHeightOrBuilder()

public HeightOrBuilder getHeightOrBuilder()

Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40;

Returns
Type Description
HeightOrBuilder

getHydrationLog()

public HydrationLog getHydrationLog()

Data for points in the hydration-log session data type collection.

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33;

Returns
Type Description
HydrationLog

The hydrationLog.

getHydrationLogBuilder()

public HydrationLog.Builder getHydrationLogBuilder()

Data for points in the hydration-log session data type collection.

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33;

Returns
Type Description
HydrationLog.Builder

getHydrationLogOrBuilder()

public HydrationLogOrBuilder getHydrationLogOrBuilder()

Data for points in the hydration-log session data type collection.

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33;

Returns
Type Description
HydrationLogOrBuilder

getNutritionLog()

public NutritionLog getNutritionLog()

Data for points in the nutrition-log session data type collection.

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29;

Returns
Type Description
NutritionLog

The nutritionLog.

getNutritionLogBuilder()

public NutritionLog.Builder getNutritionLogBuilder()

Data for points in the nutrition-log session data type collection.

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29;

Returns
Type Description
NutritionLog.Builder

getNutritionLogOrBuilder()

public NutritionLogOrBuilder getNutritionLogOrBuilder()

Data for points in the nutrition-log session data type collection.

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29;

Returns
Type Description
NutritionLogOrBuilder

getOxygenSaturation()

public OxygenSaturation getOxygenSaturation()

Data for points in the oxygen-saturation sample data type collection.

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24;

Returns
Type Description
OxygenSaturation

The oxygenSaturation.

getOxygenSaturationBuilder()

public OxygenSaturation.Builder getOxygenSaturationBuilder()

Data for points in the oxygen-saturation sample data type collection.

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24;

Returns
Type Description
OxygenSaturation.Builder

getOxygenSaturationOrBuilder()

public OxygenSaturationOrBuilder getOxygenSaturationOrBuilder()

Data for points in the oxygen-saturation sample data type collection.

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24;

Returns
Type Description
OxygenSaturationOrBuilder

getRespiratoryRateSleepSummary()

public RespiratoryRateSleepSummary getRespiratoryRateSleepSummary()

Data for points in the respiratory-rate-sleep-summary sample data type collection.

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37;

Returns
Type Description
RespiratoryRateSleepSummary

The respiratoryRateSleepSummary.

getRespiratoryRateSleepSummaryBuilder()

public RespiratoryRateSleepSummary.Builder getRespiratoryRateSleepSummaryBuilder()

Data for points in the respiratory-rate-sleep-summary sample data type collection.

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37;

Returns
Type Description
RespiratoryRateSleepSummary.Builder

getRespiratoryRateSleepSummaryOrBuilder()

public RespiratoryRateSleepSummaryOrBuilder getRespiratoryRateSleepSummaryOrBuilder()

Data for points in the respiratory-rate-sleep-summary sample data type collection.

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37;

Returns
Type Description
RespiratoryRateSleepSummaryOrBuilder

getRunVo2Max()

public RunVO2Max getRunVo2Max()

Data for points in the run-vo2-max sample data type collection.

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22;

Returns
Type Description
RunVO2Max

The runVo2Max.

getRunVo2MaxBuilder()

public RunVO2Max.Builder getRunVo2MaxBuilder()

Data for points in the run-vo2-max sample data type collection.

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22;

Returns
Type Description
RunVO2Max.Builder

getRunVo2MaxOrBuilder()

public RunVO2MaxOrBuilder getRunVo2MaxOrBuilder()

Data for points in the run-vo2-max sample data type collection.

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22;

Returns
Type Description
RunVO2MaxOrBuilder

getSedentaryPeriod()

public SedentaryPeriod getSedentaryPeriod()

Data for points in the sedentary-period interval data type collection.

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21;

Returns
Type Description
SedentaryPeriod

The sedentaryPeriod.

getSedentaryPeriodBuilder()

public SedentaryPeriod.Builder getSedentaryPeriodBuilder()

Data for points in the sedentary-period interval data type collection.

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21;

Returns
Type Description
SedentaryPeriod.Builder

getSedentaryPeriodOrBuilder()

public SedentaryPeriodOrBuilder getSedentaryPeriodOrBuilder()

Data for points in the sedentary-period interval data type collection.

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21;

Returns
Type Description
SedentaryPeriodOrBuilder

getSleep()

public Sleep getSleep()

Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8;

Returns
Type Description
Sleep

The sleep.

getSleepBuilder()

public Sleep.Builder getSleepBuilder()

Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8;

Returns
Type Description
Sleep.Builder

getSleepOrBuilder()

public SleepOrBuilder getSleepOrBuilder()

Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8;

Returns
Type Description
SleepOrBuilder

getSteps()

public Steps getSteps()

Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4;

Returns
Type Description
Steps

The steps.

getStepsBuilder()

public Steps.Builder getStepsBuilder()

Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4;

Returns
Type Description
Steps.Builder

getStepsOrBuilder()

public StepsOrBuilder getStepsOrBuilder()

Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4;

Returns
Type Description
StepsOrBuilder

getSwimLengthsData()

public SwimLengthsData getSwimLengthsData()

Data for points in the swim-lengths-data interval data type collection.

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39;

Returns
Type Description
SwimLengthsData

The swimLengthsData.

getSwimLengthsDataBuilder()

public SwimLengthsData.Builder getSwimLengthsDataBuilder()

Data for points in the swim-lengths-data interval data type collection.

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39;

Returns
Type Description
SwimLengthsData.Builder

getSwimLengthsDataOrBuilder()

public SwimLengthsDataOrBuilder getSwimLengthsDataOrBuilder()

Data for points in the swim-lengths-data interval data type collection.

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39;

Returns
Type Description
SwimLengthsDataOrBuilder

getTimeInHeartRateZone()

public TimeInHeartRateZone getTimeInHeartRateZone()

Data for points in the time-in-heart-rate-zone interval data type collection.

.google.devicesandservices.health.v4.TimeInHeartRateZone time_in_heart_rate_zone = 35;

Returns
Type Description
TimeInHeartRateZone

The timeInHeartRateZone.

getTimeInHeartRateZoneBuilder()

public TimeInHeartRateZone.Builder getTimeInHeartRateZoneBuilder()

Data for points in the time-in-heart-rate-zone interval data type collection.

.google.devicesandservices.health.v4.TimeInHeartRateZone time_in_heart_rate_zone = 35;

Returns
Type Description
TimeInHeartRateZone.Builder

getTimeInHeartRateZoneOrBuilder()

public TimeInHeartRateZoneOrBuilder getTimeInHeartRateZoneOrBuilder()

Data for points in the time-in-heart-rate-zone interval data type collection.

.google.devicesandservices.health.v4.TimeInHeartRateZone time_in_heart_rate_zone = 35;

Returns
Type Description
TimeInHeartRateZoneOrBuilder

getVo2Max()

public VO2Max getVo2Max()

Data for points in the vo2-max sample data type collection.

.google.devicesandservices.health.v4.VO2Max vo2_max = 27;

Returns
Type Description
VO2Max

The vo2Max.

getVo2MaxBuilder()

public VO2Max.Builder getVo2MaxBuilder()

Data for points in the vo2-max sample data type collection.

.google.devicesandservices.health.v4.VO2Max vo2_max = 27;

Returns
Type Description
VO2Max.Builder

getVo2MaxOrBuilder()

public VO2MaxOrBuilder getVo2MaxOrBuilder()

Data for points in the vo2-max sample data type collection.

.google.devicesandservices.health.v4.VO2Max vo2_max = 27;

Returns
Type Description
VO2MaxOrBuilder

getWeight()

public Weight getWeight()

Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12;

Returns
Type Description
Weight

The weight.

getWeightBuilder()

public Weight.Builder getWeightBuilder()

Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12;

Returns
Type Description
Weight.Builder

getWeightOrBuilder()

public WeightOrBuilder getWeightOrBuilder()

Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12;

Returns
Type Description
WeightOrBuilder

hasActiveEnergyBurned()

public boolean hasActiveEnergyBurned()

Data for points in the active-energy-burned interval data type collection.

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44;

Returns
Type Description
boolean

Whether the activeEnergyBurned field is set.

hasActiveMinutes()

public boolean hasActiveMinutes()

Data for points in the active-minutes interval data type collection.

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36;

Returns
Type Description
boolean

Whether the activeMinutes field is set.

hasActiveZoneMinutes()

public boolean hasActiveZoneMinutes()

Data for points in the active-zone-minutes interval data type collection, measured in minutes.

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17;

Returns
Type Description
boolean

Whether the activeZoneMinutes field is set.

hasActivityLevel()

public boolean hasActivityLevel()

Data for points in the activity-level daily data type collection.

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26;

Returns
Type Description
boolean

Whether the activityLevel field is set.

hasAltitude()

public boolean hasAltitude()

Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13;

Returns
Type Description
boolean

Whether the altitude field is set.

hasBasalEnergyBurned()

public boolean hasBasalEnergyBurned()

Data for points in the basal-energy-burned interval data type collection.

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41;

Returns
Type Description
boolean

Whether the basalEnergyBurned field is set.

hasBloodGlucose()

public boolean hasBloodGlucose()

Data for points in the blood-glucose sample data type collection.

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46;

Returns
Type Description
boolean

Whether the bloodGlucose field is set.

hasBodyFat()

public boolean hasBodyFat()

Data for points in the body-fat sample data type collection.

.google.devicesandservices.health.v4.BodyFat body_fat = 15;

Returns
Type Description
boolean

Whether the bodyFat field is set.

hasCoreBodyTemperature()

public boolean hasCoreBodyTemperature()

Data for points in the core-body-temperature sample data type collection.

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42;

Returns
Type Description
boolean

Whether the coreBodyTemperature field is set.

hasDailyHeartRateVariability()

public boolean hasDailyHeartRateVariability()

Data for points in the daily-heart-rate-variability daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10;

Returns
Type Description
boolean

Whether the dailyHeartRateVariability field is set.

hasDailyHeartRateZones()

public boolean hasDailyHeartRateZones()

Data for points in the daily-heart-rate-zones daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32;

Returns
Type Description
boolean

Whether the dailyHeartRateZones field is set.

hasDailyOxygenSaturation()

public boolean hasDailyOxygenSaturation()

Data for points in the daily-oxygen-saturation daily data type collection.

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25;

Returns
Type Description
boolean

Whether the dailyOxygenSaturation field is set.

hasDailyRespiratoryRate()

public boolean hasDailyRespiratoryRate()

Data for points in the daily-respiratory-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38;

Returns
Type Description
boolean

Whether the dailyRespiratoryRate field is set.

hasDailyRestingHeartRate()

public boolean hasDailyRestingHeartRate()

Data for points in the daily-resting-heart-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9;

Returns
Type Description
boolean

Whether the dailyRestingHeartRate field is set.

hasDailySleepTemperatureDerivations()

public boolean hasDailySleepTemperatureDerivations()

Data for points in the daily-sleep-temperature-derivations daily data type collection.

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20;

Returns
Type Description
boolean

Whether the dailySleepTemperatureDerivations field is set.

hasDailyVo2Max()

public boolean hasDailyVo2Max()

Data for points in the daily-vo2-max daily data type collection.

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28;

Returns
Type Description
boolean

Whether the dailyVo2Max field is set.

hasDistance()

public boolean hasDistance()

Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14;

Returns
Type Description
boolean

Whether the distance field is set.

hasExercise()

public boolean hasExercise()

Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11;

Returns
Type Description
boolean

Whether the exercise field is set.

hasFloors()

public boolean hasFloors()

Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5;

Returns
Type Description
boolean

Whether the floors field is set.

hasHeartRate()

public boolean hasHeartRate()

Data for points in the heart-rate sample data type collection.

.google.devicesandservices.health.v4.HeartRate heart_rate = 6;

Returns
Type Description
boolean

Whether the heartRate field is set.

hasHeartRateVariability()

public boolean hasHeartRateVariability()

Data for points in the heart-rate-variability sample data type collection.

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19;

Returns
Type Description
boolean

Whether the heartRateVariability field is set.

hasHeight()

public boolean hasHeight()

Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40;

Returns
Type Description
boolean

Whether the height field is set.

hasHydrationLog()

public boolean hasHydrationLog()

Data for points in the hydration-log session data type collection.

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33;

Returns
Type Description
boolean

Whether the hydrationLog field is set.

hasNutritionLog()

public boolean hasNutritionLog()

Data for points in the nutrition-log session data type collection.

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29;

Returns
Type Description
boolean

Whether the nutritionLog field is set.

hasOxygenSaturation()

public boolean hasOxygenSaturation()

Data for points in the oxygen-saturation sample data type collection.

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24;

Returns
Type Description
boolean

Whether the oxygenSaturation field is set.

hasRespiratoryRateSleepSummary()

public boolean hasRespiratoryRateSleepSummary()

Data for points in the respiratory-rate-sleep-summary sample data type collection.

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37;

Returns
Type Description
boolean

Whether the respiratoryRateSleepSummary field is set.

hasRunVo2Max()

public boolean hasRunVo2Max()

Data for points in the run-vo2-max sample data type collection.

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22;

Returns
Type Description
boolean

Whether the runVo2Max field is set.

hasSedentaryPeriod()

public boolean hasSedentaryPeriod()

Data for points in the sedentary-period interval data type collection.

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21;

Returns
Type Description
boolean

Whether the sedentaryPeriod field is set.

hasSleep()

public boolean hasSleep()

Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8;

Returns
Type Description
boolean

Whether the sleep field is set.

hasSteps()

public boolean hasSteps()

Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4;

Returns
Type Description
boolean

Whether the steps field is set.

hasSwimLengthsData()

public boolean hasSwimLengthsData()

Data for points in the swim-lengths-data interval data type collection.

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39;

Returns
Type Description
boolean

Whether the swimLengthsData field is set.

hasTimeInHeartRateZone()

public boolean hasTimeInHeartRateZone()

Data for points in the time-in-heart-rate-zone interval data type collection.

.google.devicesandservices.health.v4.TimeInHeartRateZone time_in_heart_rate_zone = 35;

Returns
Type Description
boolean

Whether the timeInHeartRateZone field is set.

hasVo2Max()

public boolean hasVo2Max()

Data for points in the vo2-max sample data type collection.

.google.devicesandservices.health.v4.VO2Max vo2_max = 27;

Returns
Type Description
boolean

Whether the vo2Max field is set.

hasWeight()

public boolean hasWeight()

Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12;

Returns
Type Description
boolean

Whether the weight field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeActiveEnergyBurned(ActiveEnergyBurned value)

public ReconciledDataPoint.Builder mergeActiveEnergyBurned(ActiveEnergyBurned value)

Data for points in the active-energy-burned interval data type collection.

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44;

Parameter
Name Description
value ActiveEnergyBurned
Returns
Type Description
ReconciledDataPoint.Builder

mergeActiveMinutes(ActiveMinutes value)

public ReconciledDataPoint.Builder mergeActiveMinutes(ActiveMinutes value)

Data for points in the active-minutes interval data type collection.

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36;

Parameter
Name Description
value ActiveMinutes
Returns
Type Description
ReconciledDataPoint.Builder

mergeActiveZoneMinutes(ActiveZoneMinutes value)

public ReconciledDataPoint.Builder mergeActiveZoneMinutes(ActiveZoneMinutes value)

Data for points in the active-zone-minutes interval data type collection, measured in minutes.

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17;

Parameter
Name Description
value ActiveZoneMinutes
Returns
Type Description
ReconciledDataPoint.Builder

mergeActivityLevel(ActivityLevel value)

public ReconciledDataPoint.Builder mergeActivityLevel(ActivityLevel value)

Data for points in the activity-level daily data type collection.

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26;

Parameter
Name Description
value ActivityLevel
Returns
Type Description
ReconciledDataPoint.Builder

mergeAltitude(Altitude value)

public ReconciledDataPoint.Builder mergeAltitude(Altitude value)

Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13;

Parameter
Name Description
value Altitude
Returns
Type Description
ReconciledDataPoint.Builder

mergeBasalEnergyBurned(BasalEnergyBurned value)

public ReconciledDataPoint.Builder mergeBasalEnergyBurned(BasalEnergyBurned value)

Data for points in the basal-energy-burned interval data type collection.

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41;

Parameter
Name Description
value BasalEnergyBurned
Returns
Type Description
ReconciledDataPoint.Builder

mergeBloodGlucose(BloodGlucose value)

public ReconciledDataPoint.Builder mergeBloodGlucose(BloodGlucose value)

Data for points in the blood-glucose sample data type collection.

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46;

Parameter
Name Description
value BloodGlucose
Returns
Type Description
ReconciledDataPoint.Builder

mergeBodyFat(BodyFat value)

public ReconciledDataPoint.Builder mergeBodyFat(BodyFat value)

Data for points in the body-fat sample data type collection.

.google.devicesandservices.health.v4.BodyFat body_fat = 15;

Parameter
Name Description
value BodyFat
Returns
Type Description
ReconciledDataPoint.Builder

mergeCoreBodyTemperature(CoreBodyTemperature value)

public ReconciledDataPoint.Builder mergeCoreBodyTemperature(CoreBodyTemperature value)

Data for points in the core-body-temperature sample data type collection.

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42;

Parameter
Name Description
value CoreBodyTemperature
Returns
Type Description
ReconciledDataPoint.Builder

mergeDailyHeartRateVariability(DailyHeartRateVariability value)

public ReconciledDataPoint.Builder mergeDailyHeartRateVariability(DailyHeartRateVariability value)

Data for points in the daily-heart-rate-variability daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10;

Parameter
Name Description
value DailyHeartRateVariability
Returns
Type Description
ReconciledDataPoint.Builder

mergeDailyHeartRateZones(DailyHeartRateZones value)

public ReconciledDataPoint.Builder mergeDailyHeartRateZones(DailyHeartRateZones value)

Data for points in the daily-heart-rate-zones daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32;

Parameter
Name Description
value DailyHeartRateZones
Returns
Type Description
ReconciledDataPoint.Builder

mergeDailyOxygenSaturation(DailyOxygenSaturation value)

public ReconciledDataPoint.Builder mergeDailyOxygenSaturation(DailyOxygenSaturation value)

Data for points in the daily-oxygen-saturation daily data type collection.

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25;

Parameter
Name Description
value DailyOxygenSaturation
Returns
Type Description
ReconciledDataPoint.Builder

mergeDailyRespiratoryRate(DailyRespiratoryRate value)

public ReconciledDataPoint.Builder mergeDailyRespiratoryRate(DailyRespiratoryRate value)

Data for points in the daily-respiratory-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38;

Parameter
Name Description
value DailyRespiratoryRate
Returns
Type Description
ReconciledDataPoint.Builder

mergeDailyRestingHeartRate(DailyRestingHeartRate value)

public ReconciledDataPoint.Builder mergeDailyRestingHeartRate(DailyRestingHeartRate value)

Data for points in the daily-resting-heart-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9;

Parameter
Name Description
value DailyRestingHeartRate
Returns
Type Description
ReconciledDataPoint.Builder

mergeDailySleepTemperatureDerivations(DailySleepTemperatureDerivations value)

public ReconciledDataPoint.Builder mergeDailySleepTemperatureDerivations(DailySleepTemperatureDerivations value)

Data for points in the daily-sleep-temperature-derivations daily data type collection.

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20;

Parameter
Name Description
value DailySleepTemperatureDerivations
Returns
Type Description
ReconciledDataPoint.Builder

mergeDailyVo2Max(DailyVO2Max value)

public ReconciledDataPoint.Builder mergeDailyVo2Max(DailyVO2Max value)

Data for points in the daily-vo2-max daily data type collection.

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28;

Parameter
Name Description
value DailyVO2Max
Returns
Type Description
ReconciledDataPoint.Builder

mergeDistance(Distance value)

public ReconciledDataPoint.Builder mergeDistance(Distance value)

Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14;

Parameter
Name Description
value Distance
Returns
Type Description
ReconciledDataPoint.Builder

mergeExercise(Exercise value)

public ReconciledDataPoint.Builder mergeExercise(Exercise value)

Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11;

Parameter
Name Description
value Exercise
Returns
Type Description
ReconciledDataPoint.Builder

mergeFloors(Floors value)

public ReconciledDataPoint.Builder mergeFloors(Floors value)

Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5;

Parameter
Name Description
value Floors
Returns
Type Description
ReconciledDataPoint.Builder

mergeFrom(ReconciledDataPoint other)

public ReconciledDataPoint.Builder mergeFrom(ReconciledDataPoint other)
Parameter
Name Description
other ReconciledDataPoint
Returns
Type Description
ReconciledDataPoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReconciledDataPoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconciledDataPoint.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReconciledDataPoint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReconciledDataPoint.Builder
Overrides

mergeHeartRate(HeartRate value)

public ReconciledDataPoint.Builder mergeHeartRate(HeartRate value)

Data for points in the heart-rate sample data type collection.

.google.devicesandservices.health.v4.HeartRate heart_rate = 6;

Parameter
Name Description
value HeartRate
Returns
Type Description
ReconciledDataPoint.Builder

mergeHeartRateVariability(HeartRateVariability value)

public ReconciledDataPoint.Builder mergeHeartRateVariability(HeartRateVariability value)

Data for points in the heart-rate-variability sample data type collection.

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19;

Parameter
Name Description
value HeartRateVariability
Returns
Type Description
ReconciledDataPoint.Builder

mergeHeight(Height value)

public ReconciledDataPoint.Builder mergeHeight(Height value)

Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40;

Parameter
Name Description
value Height
Returns
Type Description
ReconciledDataPoint.Builder

mergeHydrationLog(HydrationLog value)

public ReconciledDataPoint.Builder mergeHydrationLog(HydrationLog value)

Data for points in the hydration-log session data type collection.

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33;

Parameter
Name Description
value HydrationLog
Returns
Type Description
ReconciledDataPoint.Builder

mergeNutritionLog(NutritionLog value)

public ReconciledDataPoint.Builder mergeNutritionLog(NutritionLog value)

Data for points in the nutrition-log session data type collection.

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29;

Parameter
Name Description
value NutritionLog
Returns
Type Description
ReconciledDataPoint.Builder

mergeOxygenSaturation(OxygenSaturation value)

public ReconciledDataPoint.Builder mergeOxygenSaturation(OxygenSaturation value)

Data for points in the oxygen-saturation sample data type collection.

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24;

Parameter
Name Description
value OxygenSaturation
Returns
Type Description
ReconciledDataPoint.Builder

mergeRespiratoryRateSleepSummary(RespiratoryRateSleepSummary value)

public ReconciledDataPoint.Builder mergeRespiratoryRateSleepSummary(RespiratoryRateSleepSummary value)

Data for points in the respiratory-rate-sleep-summary sample data type collection.

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37;

Parameter
Name Description
value RespiratoryRateSleepSummary
Returns
Type Description
ReconciledDataPoint.Builder

mergeRunVo2Max(RunVO2Max value)

public ReconciledDataPoint.Builder mergeRunVo2Max(RunVO2Max value)

Data for points in the run-vo2-max sample data type collection.

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22;

Parameter
Name Description
value RunVO2Max
Returns
Type Description
ReconciledDataPoint.Builder

mergeSedentaryPeriod(SedentaryPeriod value)

public ReconciledDataPoint.Builder mergeSedentaryPeriod(SedentaryPeriod value)

Data for points in the sedentary-period interval data type collection.

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21;

Parameter
Name Description
value SedentaryPeriod
Returns
Type Description
ReconciledDataPoint.Builder

mergeSleep(Sleep value)

public ReconciledDataPoint.Builder mergeSleep(Sleep value)

Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8;

Parameter
Name Description
value Sleep
Returns
Type Description
ReconciledDataPoint.Builder

mergeSteps(Steps value)

public ReconciledDataPoint.Builder mergeSteps(Steps value)

Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4;

Parameter
Name Description
value Steps
Returns
Type Description
ReconciledDataPoint.Builder

mergeSwimLengthsData(SwimLengthsData value)

public ReconciledDataPoint.Builder mergeSwimLengthsData(SwimLengthsData value)

Data for points in the swim-lengths-data interval data type collection.

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39;

Parameter
Name Description
value SwimLengthsData
Returns
Type Description
ReconciledDataPoint.Builder

mergeTimeInHeartRateZone(TimeInHeartRateZone value)

public ReconciledDataPoint.Builder mergeTimeInHeartRateZone(TimeInHeartRateZone value)

Data for points in the time-in-heart-rate-zone interval data type collection.

.google.devicesandservices.health.v4.TimeInHeartRateZone time_in_heart_rate_zone = 35;

Parameter
Name Description
value TimeInHeartRateZone
Returns
Type Description
ReconciledDataPoint.Builder

mergeVo2Max(VO2Max value)

public ReconciledDataPoint.Builder mergeVo2Max(VO2Max value)

Data for points in the vo2-max sample data type collection.

.google.devicesandservices.health.v4.VO2Max vo2_max = 27;

Parameter
Name Description
value VO2Max
Returns
Type Description
ReconciledDataPoint.Builder

mergeWeight(Weight value)

public ReconciledDataPoint.Builder mergeWeight(Weight value)

Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12;

Parameter
Name Description
value Weight
Returns
Type Description
ReconciledDataPoint.Builder

setActiveEnergyBurned(ActiveEnergyBurned value)

public ReconciledDataPoint.Builder setActiveEnergyBurned(ActiveEnergyBurned value)

Data for points in the active-energy-burned interval data type collection.

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44;

Parameter
Name Description
value ActiveEnergyBurned
Returns
Type Description
ReconciledDataPoint.Builder

setActiveEnergyBurned(ActiveEnergyBurned.Builder builderForValue)

public ReconciledDataPoint.Builder setActiveEnergyBurned(ActiveEnergyBurned.Builder builderForValue)

Data for points in the active-energy-burned interval data type collection.

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44;

Parameter
Name Description
builderForValue ActiveEnergyBurned.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setActiveMinutes(ActiveMinutes value)

public ReconciledDataPoint.Builder setActiveMinutes(ActiveMinutes value)

Data for points in the active-minutes interval data type collection.

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36;

Parameter
Name Description
value ActiveMinutes
Returns
Type Description
ReconciledDataPoint.Builder

setActiveMinutes(ActiveMinutes.Builder builderForValue)

public ReconciledDataPoint.Builder setActiveMinutes(ActiveMinutes.Builder builderForValue)

Data for points in the active-minutes interval data type collection.

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36;

Parameter
Name Description
builderForValue ActiveMinutes.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setActiveZoneMinutes(ActiveZoneMinutes value)

public ReconciledDataPoint.Builder setActiveZoneMinutes(ActiveZoneMinutes value)

Data for points in the active-zone-minutes interval data type collection, measured in minutes.

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17;

Parameter
Name Description
value ActiveZoneMinutes
Returns
Type Description
ReconciledDataPoint.Builder

setActiveZoneMinutes(ActiveZoneMinutes.Builder builderForValue)

public ReconciledDataPoint.Builder setActiveZoneMinutes(ActiveZoneMinutes.Builder builderForValue)

Data for points in the active-zone-minutes interval data type collection, measured in minutes.

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17;

Parameter
Name Description
builderForValue ActiveZoneMinutes.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setActivityLevel(ActivityLevel value)

public ReconciledDataPoint.Builder setActivityLevel(ActivityLevel value)

Data for points in the activity-level daily data type collection.

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26;

Parameter
Name Description
value ActivityLevel
Returns
Type Description
ReconciledDataPoint.Builder

setActivityLevel(ActivityLevel.Builder builderForValue)

public ReconciledDataPoint.Builder setActivityLevel(ActivityLevel.Builder builderForValue)

Data for points in the activity-level daily data type collection.

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26;

Parameter
Name Description
builderForValue ActivityLevel.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setAltitude(Altitude value)

public ReconciledDataPoint.Builder setAltitude(Altitude value)

Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13;

Parameter
Name Description
value Altitude
Returns
Type Description
ReconciledDataPoint.Builder

setAltitude(Altitude.Builder builderForValue)

public ReconciledDataPoint.Builder setAltitude(Altitude.Builder builderForValue)

Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13;

Parameter
Name Description
builderForValue Altitude.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setBasalEnergyBurned(BasalEnergyBurned value)

public ReconciledDataPoint.Builder setBasalEnergyBurned(BasalEnergyBurned value)

Data for points in the basal-energy-burned interval data type collection.

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41;

Parameter
Name Description
value BasalEnergyBurned
Returns
Type Description
ReconciledDataPoint.Builder

setBasalEnergyBurned(BasalEnergyBurned.Builder builderForValue)

public ReconciledDataPoint.Builder setBasalEnergyBurned(BasalEnergyBurned.Builder builderForValue)

Data for points in the basal-energy-burned interval data type collection.

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41;

Parameter
Name Description
builderForValue BasalEnergyBurned.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setBloodGlucose(BloodGlucose value)

public ReconciledDataPoint.Builder setBloodGlucose(BloodGlucose value)

Data for points in the blood-glucose sample data type collection.

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46;

Parameter
Name Description
value BloodGlucose
Returns
Type Description
ReconciledDataPoint.Builder

setBloodGlucose(BloodGlucose.Builder builderForValue)

public ReconciledDataPoint.Builder setBloodGlucose(BloodGlucose.Builder builderForValue)

Data for points in the blood-glucose sample data type collection.

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46;

Parameter
Name Description
builderForValue BloodGlucose.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setBodyFat(BodyFat value)

public ReconciledDataPoint.Builder setBodyFat(BodyFat value)

Data for points in the body-fat sample data type collection.

.google.devicesandservices.health.v4.BodyFat body_fat = 15;

Parameter
Name Description
value BodyFat
Returns
Type Description
ReconciledDataPoint.Builder

setBodyFat(BodyFat.Builder builderForValue)

public ReconciledDataPoint.Builder setBodyFat(BodyFat.Builder builderForValue)

Data for points in the body-fat sample data type collection.

.google.devicesandservices.health.v4.BodyFat body_fat = 15;

Parameter
Name Description
builderForValue BodyFat.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setCoreBodyTemperature(CoreBodyTemperature value)

public ReconciledDataPoint.Builder setCoreBodyTemperature(CoreBodyTemperature value)

Data for points in the core-body-temperature sample data type collection.

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42;

Parameter
Name Description
value CoreBodyTemperature
Returns
Type Description
ReconciledDataPoint.Builder

setCoreBodyTemperature(CoreBodyTemperature.Builder builderForValue)

public ReconciledDataPoint.Builder setCoreBodyTemperature(CoreBodyTemperature.Builder builderForValue)

Data for points in the core-body-temperature sample data type collection.

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42;

Parameter
Name Description
builderForValue CoreBodyTemperature.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setDailyHeartRateVariability(DailyHeartRateVariability value)

public ReconciledDataPoint.Builder setDailyHeartRateVariability(DailyHeartRateVariability value)

Data for points in the daily-heart-rate-variability daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10;

Parameter
Name Description
value DailyHeartRateVariability
Returns
Type Description
ReconciledDataPoint.Builder

setDailyHeartRateVariability(DailyHeartRateVariability.Builder builderForValue)

public ReconciledDataPoint.Builder setDailyHeartRateVariability(DailyHeartRateVariability.Builder builderForValue)

Data for points in the daily-heart-rate-variability daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10;

Parameter
Name Description
builderForValue DailyHeartRateVariability.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setDailyHeartRateZones(DailyHeartRateZones value)

public ReconciledDataPoint.Builder setDailyHeartRateZones(DailyHeartRateZones value)

Data for points in the daily-heart-rate-zones daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32;

Parameter
Name Description
value DailyHeartRateZones
Returns
Type Description
ReconciledDataPoint.Builder

setDailyHeartRateZones(DailyHeartRateZones.Builder builderForValue)

public ReconciledDataPoint.Builder setDailyHeartRateZones(DailyHeartRateZones.Builder builderForValue)

Data for points in the daily-heart-rate-zones daily data type collection.

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32;

Parameter
Name Description
builderForValue DailyHeartRateZones.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setDailyOxygenSaturation(DailyOxygenSaturation value)

public ReconciledDataPoint.Builder setDailyOxygenSaturation(DailyOxygenSaturation value)

Data for points in the daily-oxygen-saturation daily data type collection.

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25;

Parameter
Name Description
value DailyOxygenSaturation
Returns
Type Description
ReconciledDataPoint.Builder

setDailyOxygenSaturation(DailyOxygenSaturation.Builder builderForValue)

public ReconciledDataPoint.Builder setDailyOxygenSaturation(DailyOxygenSaturation.Builder builderForValue)

Data for points in the daily-oxygen-saturation daily data type collection.

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25;

Parameter
Name Description
builderForValue DailyOxygenSaturation.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setDailyRespiratoryRate(DailyRespiratoryRate value)

public ReconciledDataPoint.Builder setDailyRespiratoryRate(DailyRespiratoryRate value)

Data for points in the daily-respiratory-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38;

Parameter
Name Description
value DailyRespiratoryRate
Returns
Type Description
ReconciledDataPoint.Builder

setDailyRespiratoryRate(DailyRespiratoryRate.Builder builderForValue)

public ReconciledDataPoint.Builder setDailyRespiratoryRate(DailyRespiratoryRate.Builder builderForValue)

Data for points in the daily-respiratory-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38;

Parameter
Name Description
builderForValue DailyRespiratoryRate.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setDailyRestingHeartRate(DailyRestingHeartRate value)

public ReconciledDataPoint.Builder setDailyRestingHeartRate(DailyRestingHeartRate value)

Data for points in the daily-resting-heart-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9;

Parameter
Name Description
value DailyRestingHeartRate
Returns
Type Description
ReconciledDataPoint.Builder

setDailyRestingHeartRate(DailyRestingHeartRate.Builder builderForValue)

public ReconciledDataPoint.Builder setDailyRestingHeartRate(DailyRestingHeartRate.Builder builderForValue)

Data for points in the daily-resting-heart-rate daily data type collection.

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9;

Parameter
Name Description
builderForValue DailyRestingHeartRate.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setDailySleepTemperatureDerivations(DailySleepTemperatureDerivations value)

public ReconciledDataPoint.Builder setDailySleepTemperatureDerivations(DailySleepTemperatureDerivations value)

Data for points in the daily-sleep-temperature-derivations daily data type collection.

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20;

Parameter
Name Description
value DailySleepTemperatureDerivations
Returns
Type Description
ReconciledDataPoint.Builder

setDailySleepTemperatureDerivations(DailySleepTemperatureDerivations.Builder builderForValue)

public ReconciledDataPoint.Builder setDailySleepTemperatureDerivations(DailySleepTemperatureDerivations.Builder builderForValue)

Data for points in the daily-sleep-temperature-derivations daily data type collection.

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20;

Parameter
Name Description
builderForValue DailySleepTemperatureDerivations.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setDailyVo2Max(DailyVO2Max value)

public ReconciledDataPoint.Builder setDailyVo2Max(DailyVO2Max value)

Data for points in the daily-vo2-max daily data type collection.

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28;

Parameter
Name Description
value DailyVO2Max
Returns
Type Description
ReconciledDataPoint.Builder

setDailyVo2Max(DailyVO2Max.Builder builderForValue)

public ReconciledDataPoint.Builder setDailyVo2Max(DailyVO2Max.Builder builderForValue)

Data for points in the daily-vo2-max daily data type collection.

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28;

Parameter
Name Description
builderForValue DailyVO2Max.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setDataPointName(String value)

public ReconciledDataPoint.Builder setDataPointName(String value)

Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty.

Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}

Example: users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef

The {user} ID is a system-generated identifier, as described in Identity.health_user_id.

The {data_type} ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. total-calories for the total_calories field.

The {data_point} ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.

string data_point_name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The dataPointName to set.

Returns
Type Description
ReconciledDataPoint.Builder

This builder for chaining.

setDataPointNameBytes(ByteString value)

public ReconciledDataPoint.Builder setDataPointNameBytes(ByteString value)

Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty.

Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}

Example: users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef

The {user} ID is a system-generated identifier, as described in Identity.health_user_id.

The {data_type} ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. total-calories for the total_calories field.

The {data_point} ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.

string data_point_name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for dataPointName to set.

Returns
Type Description
ReconciledDataPoint.Builder

This builder for chaining.

setDistance(Distance value)

public ReconciledDataPoint.Builder setDistance(Distance value)

Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14;

Parameter
Name Description
value Distance
Returns
Type Description
ReconciledDataPoint.Builder

setDistance(Distance.Builder builderForValue)

public ReconciledDataPoint.Builder setDistance(Distance.Builder builderForValue)

Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14;

Parameter
Name Description
builderForValue Distance.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setExercise(Exercise value)

public ReconciledDataPoint.Builder setExercise(Exercise value)

Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11;

Parameter
Name Description
value Exercise
Returns
Type Description
ReconciledDataPoint.Builder

setExercise(Exercise.Builder builderForValue)

public ReconciledDataPoint.Builder setExercise(Exercise.Builder builderForValue)

Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11;

Parameter
Name Description
builderForValue Exercise.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setFloors(Floors value)

public ReconciledDataPoint.Builder setFloors(Floors value)

Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5;

Parameter
Name Description
value Floors
Returns
Type Description
ReconciledDataPoint.Builder

setFloors(Floors.Builder builderForValue)

public ReconciledDataPoint.Builder setFloors(Floors.Builder builderForValue)

Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5;

Parameter
Name Description
builderForValue Floors.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setHeartRate(HeartRate value)

public ReconciledDataPoint.Builder setHeartRate(HeartRate value)

Data for points in the heart-rate sample data type collection.

.google.devicesandservices.health.v4.HeartRate heart_rate = 6;

Parameter
Name Description
value HeartRate
Returns
Type Description
ReconciledDataPoint.Builder

setHeartRate(HeartRate.Builder builderForValue)

public ReconciledDataPoint.Builder setHeartRate(HeartRate.Builder builderForValue)

Data for points in the heart-rate sample data type collection.

.google.devicesandservices.health.v4.HeartRate heart_rate = 6;

Parameter
Name Description
builderForValue HeartRate.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setHeartRateVariability(HeartRateVariability value)

public ReconciledDataPoint.Builder setHeartRateVariability(HeartRateVariability value)

Data for points in the heart-rate-variability sample data type collection.

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19;

Parameter
Name Description
value HeartRateVariability
Returns
Type Description
ReconciledDataPoint.Builder

setHeartRateVariability(HeartRateVariability.Builder builderForValue)

public ReconciledDataPoint.Builder setHeartRateVariability(HeartRateVariability.Builder builderForValue)

Data for points in the heart-rate-variability sample data type collection.

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19;

Parameter
Name Description
builderForValue HeartRateVariability.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setHeight(Height value)

public ReconciledDataPoint.Builder setHeight(Height value)

Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40;

Parameter
Name Description
value Height
Returns
Type Description
ReconciledDataPoint.Builder

setHeight(Height.Builder builderForValue)

public ReconciledDataPoint.Builder setHeight(Height.Builder builderForValue)

Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40;

Parameter
Name Description
builderForValue Height.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setHydrationLog(HydrationLog value)

public ReconciledDataPoint.Builder setHydrationLog(HydrationLog value)

Data for points in the hydration-log session data type collection.

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33;

Parameter
Name Description
value HydrationLog
Returns
Type Description
ReconciledDataPoint.Builder

setHydrationLog(HydrationLog.Builder builderForValue)

public ReconciledDataPoint.Builder setHydrationLog(HydrationLog.Builder builderForValue)

Data for points in the hydration-log session data type collection.

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33;

Parameter
Name Description
builderForValue HydrationLog.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setNutritionLog(NutritionLog value)

public ReconciledDataPoint.Builder setNutritionLog(NutritionLog value)

Data for points in the nutrition-log session data type collection.

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29;

Parameter
Name Description
value NutritionLog
Returns
Type Description
ReconciledDataPoint.Builder

setNutritionLog(NutritionLog.Builder builderForValue)

public ReconciledDataPoint.Builder setNutritionLog(NutritionLog.Builder builderForValue)

Data for points in the nutrition-log session data type collection.

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29;

Parameter
Name Description
builderForValue NutritionLog.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setOxygenSaturation(OxygenSaturation value)

public ReconciledDataPoint.Builder setOxygenSaturation(OxygenSaturation value)

Data for points in the oxygen-saturation sample data type collection.

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24;

Parameter
Name Description
value OxygenSaturation
Returns
Type Description
ReconciledDataPoint.Builder

setOxygenSaturation(OxygenSaturation.Builder builderForValue)

public ReconciledDataPoint.Builder setOxygenSaturation(OxygenSaturation.Builder builderForValue)

Data for points in the oxygen-saturation sample data type collection.

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24;

Parameter
Name Description
builderForValue OxygenSaturation.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setRespiratoryRateSleepSummary(RespiratoryRateSleepSummary value)

public ReconciledDataPoint.Builder setRespiratoryRateSleepSummary(RespiratoryRateSleepSummary value)

Data for points in the respiratory-rate-sleep-summary sample data type collection.

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37;

Parameter
Name Description
value RespiratoryRateSleepSummary
Returns
Type Description
ReconciledDataPoint.Builder

setRespiratoryRateSleepSummary(RespiratoryRateSleepSummary.Builder builderForValue)

public ReconciledDataPoint.Builder setRespiratoryRateSleepSummary(RespiratoryRateSleepSummary.Builder builderForValue)

Data for points in the respiratory-rate-sleep-summary sample data type collection.

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37;

Parameter
Name Description
builderForValue RespiratoryRateSleepSummary.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setRunVo2Max(RunVO2Max value)

public ReconciledDataPoint.Builder setRunVo2Max(RunVO2Max value)

Data for points in the run-vo2-max sample data type collection.

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22;

Parameter
Name Description
value RunVO2Max
Returns
Type Description
ReconciledDataPoint.Builder

setRunVo2Max(RunVO2Max.Builder builderForValue)

public ReconciledDataPoint.Builder setRunVo2Max(RunVO2Max.Builder builderForValue)

Data for points in the run-vo2-max sample data type collection.

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22;

Parameter
Name Description
builderForValue RunVO2Max.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setSedentaryPeriod(SedentaryPeriod value)

public ReconciledDataPoint.Builder setSedentaryPeriod(SedentaryPeriod value)

Data for points in the sedentary-period interval data type collection.

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21;

Parameter
Name Description
value SedentaryPeriod
Returns
Type Description
ReconciledDataPoint.Builder

setSedentaryPeriod(SedentaryPeriod.Builder builderForValue)

public ReconciledDataPoint.Builder setSedentaryPeriod(SedentaryPeriod.Builder builderForValue)

Data for points in the sedentary-period interval data type collection.

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21;

Parameter
Name Description
builderForValue SedentaryPeriod.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setSleep(Sleep value)

public ReconciledDataPoint.Builder setSleep(Sleep value)

Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8;

Parameter
Name Description
value Sleep
Returns
Type Description
ReconciledDataPoint.Builder

setSleep(Sleep.Builder builderForValue)

public ReconciledDataPoint.Builder setSleep(Sleep.Builder builderForValue)

Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8;

Parameter
Name Description
builderForValue Sleep.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setSteps(Steps value)

public ReconciledDataPoint.Builder setSteps(Steps value)

Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4;

Parameter
Name Description
value Steps
Returns
Type Description
ReconciledDataPoint.Builder

setSteps(Steps.Builder builderForValue)

public ReconciledDataPoint.Builder setSteps(Steps.Builder builderForValue)

Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4;

Parameter
Name Description
builderForValue Steps.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setSwimLengthsData(SwimLengthsData value)

public ReconciledDataPoint.Builder setSwimLengthsData(SwimLengthsData value)

Data for points in the swim-lengths-data interval data type collection.

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39;

Parameter
Name Description
value SwimLengthsData
Returns
Type Description
ReconciledDataPoint.Builder

setSwimLengthsData(SwimLengthsData.Builder builderForValue)

public ReconciledDataPoint.Builder setSwimLengthsData(SwimLengthsData.Builder builderForValue)

Data for points in the swim-lengths-data interval data type collection.

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39;

Parameter
Name Description
builderForValue SwimLengthsData.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setTimeInHeartRateZone(TimeInHeartRateZone value)

public ReconciledDataPoint.Builder setTimeInHeartRateZone(TimeInHeartRateZone value)

Data for points in the time-in-heart-rate-zone interval data type collection.

.google.devicesandservices.health.v4.TimeInHeartRateZone time_in_heart_rate_zone = 35;

Parameter
Name Description
value TimeInHeartRateZone
Returns
Type Description
ReconciledDataPoint.Builder

setTimeInHeartRateZone(TimeInHeartRateZone.Builder builderForValue)

public ReconciledDataPoint.Builder setTimeInHeartRateZone(TimeInHeartRateZone.Builder builderForValue)

Data for points in the time-in-heart-rate-zone interval data type collection.

.google.devicesandservices.health.v4.TimeInHeartRateZone time_in_heart_rate_zone = 35;

Parameter
Name Description
builderForValue TimeInHeartRateZone.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setVo2Max(VO2Max value)

public ReconciledDataPoint.Builder setVo2Max(VO2Max value)

Data for points in the vo2-max sample data type collection.

.google.devicesandservices.health.v4.VO2Max vo2_max = 27;

Parameter
Name Description
value VO2Max
Returns
Type Description
ReconciledDataPoint.Builder

setVo2Max(VO2Max.Builder builderForValue)

public ReconciledDataPoint.Builder setVo2Max(VO2Max.Builder builderForValue)

Data for points in the vo2-max sample data type collection.

.google.devicesandservices.health.v4.VO2Max vo2_max = 27;

Parameter
Name Description
builderForValue VO2Max.Builder
Returns
Type Description
ReconciledDataPoint.Builder

setWeight(Weight value)

public ReconciledDataPoint.Builder setWeight(Weight value)

Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12;

Parameter
Name Description
value Weight
Returns
Type Description
ReconciledDataPoint.Builder

setWeight(Weight.Builder builderForValue)

public ReconciledDataPoint.Builder setWeight(Weight.Builder builderForValue)

Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12;

Parameter
Name Description
builderForValue Weight.Builder
Returns
Type Description
ReconciledDataPoint.Builder