Class DataPoint.Builder (0.2.0)

public static final class DataPoint.Builder extends GeneratedMessage.Builder<DataPoint.Builder> implements DataPointOrBuilder

A computed or recorded metric.

Protobuf type google.devicesandservices.health.v4.DataPoint

Implements

DataPointOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public DataPoint build()
Returns
Type Description
DataPoint

buildPartial()

public DataPoint buildPartial()
Returns
Type Description
DataPoint

clear()

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

clearActiveEnergyBurned()

public DataPoint.Builder clearActiveEnergyBurned()

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

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearActiveMinutes()

public DataPoint.Builder clearActiveMinutes()

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

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearActiveZoneMinutes()

public DataPoint.Builder clearActiveZoneMinutes()

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

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearActivityLevel()

public DataPoint.Builder clearActivityLevel()

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

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearAltitude()

public DataPoint.Builder clearAltitude()

Optional. Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearBasalEnergyBurned()

public DataPoint.Builder clearBasalEnergyBurned()

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

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearBloodGlucose()

public DataPoint.Builder clearBloodGlucose()

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

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearBodyFat()

public DataPoint.Builder clearBodyFat()

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

.google.devicesandservices.health.v4.BodyFat body_fat = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearCoreBodyTemperature()

public DataPoint.Builder clearCoreBodyTemperature()

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

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearDailyHeartRateVariability()

public DataPoint.Builder clearDailyHeartRateVariability()

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

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearDailyHeartRateZones()

public DataPoint.Builder clearDailyHeartRateZones()

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

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearDailyOxygenSaturation()

public DataPoint.Builder clearDailyOxygenSaturation()

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

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearDailyRespiratoryRate()

public DataPoint.Builder clearDailyRespiratoryRate()

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

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearDailyRestingHeartRate()

public DataPoint.Builder clearDailyRestingHeartRate()

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

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearDailySleepTemperatureDerivations()

public DataPoint.Builder clearDailySleepTemperatureDerivations()

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

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearDailyVo2Max()

public DataPoint.Builder clearDailyVo2Max()

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

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearData()

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

clearDataSource()

public DataPoint.Builder clearDataSource()

Optional. Data source information for the metric

.google.devicesandservices.health.v4.DataSource data_source = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearDistance()

public DataPoint.Builder clearDistance()

Optional. Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearElectrocardiogram()

public DataPoint.Builder clearElectrocardiogram()

Optional. Data for points in the electrocardiogram session data type collection.

.google.devicesandservices.health.v4.Electrocardiogram electrocardiogram = 31 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearExercise()

public DataPoint.Builder clearExercise()

Optional. Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearFloors()

public DataPoint.Builder clearFloors()

Optional. Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearFood()

public DataPoint.Builder clearFood()

Optional. The food details.

.google.devicesandservices.health.v4.Food food = 34 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearFoodMeasurementUnit()

public DataPoint.Builder clearFoodMeasurementUnit()

Optional. The food measurement unit details.

.google.devicesandservices.health.v4.FoodMeasurementUnit food_measurement_unit = 45 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearHeartRate()

public DataPoint.Builder clearHeartRate()

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

.google.devicesandservices.health.v4.HeartRate heart_rate = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearHeartRateVariability()

public DataPoint.Builder clearHeartRateVariability()

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

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearHeight()

public DataPoint.Builder clearHeight()

Optional. Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearHydrationLog()

public DataPoint.Builder clearHydrationLog()

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

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearIrregularRhythmNotification()

public DataPoint.Builder clearIrregularRhythmNotification()

Optional. Data for points in the irregular-rhythm-notification session data type collection.

.google.devicesandservices.health.v4.IrregularRhythmNotification irregular_rhythm_notification = 30 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearName()

public DataPoint.Builder clearName()

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 name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
DataPoint.Builder

This builder for chaining.

clearNutritionLog()

public DataPoint.Builder clearNutritionLog()

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

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearOxygenSaturation()

public DataPoint.Builder clearOxygenSaturation()

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

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearRespiratoryRateSleepSummary()

public DataPoint.Builder clearRespiratoryRateSleepSummary()

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

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearRunVo2Max()

public DataPoint.Builder clearRunVo2Max()

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

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearSedentaryPeriod()

public DataPoint.Builder clearSedentaryPeriod()

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

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearSleep()

public DataPoint.Builder clearSleep()

Optional. Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearSteps()

public DataPoint.Builder clearSteps()

Optional. Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearSwimLengthsData()

public DataPoint.Builder clearSwimLengthsData()

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

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearTimeInHeartRateZone()

public DataPoint.Builder clearTimeInHeartRateZone()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearVo2Max()

public DataPoint.Builder clearVo2Max()

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

.google.devicesandservices.health.v4.VO2Max vo2_max = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

clearWeight()

public DataPoint.Builder clearWeight()

Optional. Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataPoint.Builder

getActiveEnergyBurned()

public ActiveEnergyBurned getActiveEnergyBurned()

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

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActiveEnergyBurned

The activeEnergyBurned.

getActiveEnergyBurnedBuilder()

public ActiveEnergyBurned.Builder getActiveEnergyBurnedBuilder()

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

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActiveEnergyBurned.Builder

getActiveEnergyBurnedOrBuilder()

public ActiveEnergyBurnedOrBuilder getActiveEnergyBurnedOrBuilder()

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

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActiveEnergyBurnedOrBuilder

getActiveMinutes()

public ActiveMinutes getActiveMinutes()

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

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActiveMinutes

The activeMinutes.

getActiveMinutesBuilder()

public ActiveMinutes.Builder getActiveMinutesBuilder()

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

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActiveMinutes.Builder

getActiveMinutesOrBuilder()

public ActiveMinutesOrBuilder getActiveMinutesOrBuilder()

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

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActiveMinutesOrBuilder

getActiveZoneMinutes()

public ActiveZoneMinutes getActiveZoneMinutes()

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

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActiveZoneMinutes

The activeZoneMinutes.

getActiveZoneMinutesBuilder()

public ActiveZoneMinutes.Builder getActiveZoneMinutesBuilder()

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

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActiveZoneMinutes.Builder

getActiveZoneMinutesOrBuilder()

public ActiveZoneMinutesOrBuilder getActiveZoneMinutesOrBuilder()

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

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActiveZoneMinutesOrBuilder

getActivityLevel()

public ActivityLevel getActivityLevel()

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

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActivityLevel

The activityLevel.

getActivityLevelBuilder()

public ActivityLevel.Builder getActivityLevelBuilder()

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

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActivityLevel.Builder

getActivityLevelOrBuilder()

public ActivityLevelOrBuilder getActivityLevelOrBuilder()

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

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActivityLevelOrBuilder

getAltitude()

public Altitude getAltitude()

Optional. Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Altitude

The altitude.

getAltitudeBuilder()

public Altitude.Builder getAltitudeBuilder()

Optional. Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Altitude.Builder

getAltitudeOrBuilder()

public AltitudeOrBuilder getAltitudeOrBuilder()

Optional. Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AltitudeOrBuilder

getBasalEnergyBurned()

public BasalEnergyBurned getBasalEnergyBurned()

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

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BasalEnergyBurned

The basalEnergyBurned.

getBasalEnergyBurnedBuilder()

public BasalEnergyBurned.Builder getBasalEnergyBurnedBuilder()

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

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BasalEnergyBurned.Builder

getBasalEnergyBurnedOrBuilder()

public BasalEnergyBurnedOrBuilder getBasalEnergyBurnedOrBuilder()

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

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BasalEnergyBurnedOrBuilder

getBloodGlucose()

public BloodGlucose getBloodGlucose()

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

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BloodGlucose

The bloodGlucose.

getBloodGlucoseBuilder()

public BloodGlucose.Builder getBloodGlucoseBuilder()

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

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BloodGlucose.Builder

getBloodGlucoseOrBuilder()

public BloodGlucoseOrBuilder getBloodGlucoseOrBuilder()

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

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BloodGlucoseOrBuilder

getBodyFat()

public BodyFat getBodyFat()

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

.google.devicesandservices.health.v4.BodyFat body_fat = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BodyFat

The bodyFat.

getBodyFatBuilder()

public BodyFat.Builder getBodyFatBuilder()

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

.google.devicesandservices.health.v4.BodyFat body_fat = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BodyFat.Builder

getBodyFatOrBuilder()

public BodyFatOrBuilder getBodyFatOrBuilder()

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

.google.devicesandservices.health.v4.BodyFat body_fat = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BodyFatOrBuilder

getCoreBodyTemperature()

public CoreBodyTemperature getCoreBodyTemperature()

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

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CoreBodyTemperature

The coreBodyTemperature.

getCoreBodyTemperatureBuilder()

public CoreBodyTemperature.Builder getCoreBodyTemperatureBuilder()

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

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CoreBodyTemperature.Builder

getCoreBodyTemperatureOrBuilder()

public CoreBodyTemperatureOrBuilder getCoreBodyTemperatureOrBuilder()

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

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CoreBodyTemperatureOrBuilder

getDailyHeartRateVariability()

public DailyHeartRateVariability getDailyHeartRateVariability()

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

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyHeartRateVariability

The dailyHeartRateVariability.

getDailyHeartRateVariabilityBuilder()

public DailyHeartRateVariability.Builder getDailyHeartRateVariabilityBuilder()

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

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyHeartRateVariability.Builder

getDailyHeartRateVariabilityOrBuilder()

public DailyHeartRateVariabilityOrBuilder getDailyHeartRateVariabilityOrBuilder()

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

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyHeartRateVariabilityOrBuilder

getDailyHeartRateZones()

public DailyHeartRateZones getDailyHeartRateZones()

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

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyHeartRateZones

The dailyHeartRateZones.

getDailyHeartRateZonesBuilder()

public DailyHeartRateZones.Builder getDailyHeartRateZonesBuilder()

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

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyHeartRateZones.Builder

getDailyHeartRateZonesOrBuilder()

public DailyHeartRateZonesOrBuilder getDailyHeartRateZonesOrBuilder()

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

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyHeartRateZonesOrBuilder

getDailyOxygenSaturation()

public DailyOxygenSaturation getDailyOxygenSaturation()

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

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyOxygenSaturation

The dailyOxygenSaturation.

getDailyOxygenSaturationBuilder()

public DailyOxygenSaturation.Builder getDailyOxygenSaturationBuilder()

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

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyOxygenSaturation.Builder

getDailyOxygenSaturationOrBuilder()

public DailyOxygenSaturationOrBuilder getDailyOxygenSaturationOrBuilder()

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

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyOxygenSaturationOrBuilder

getDailyRespiratoryRate()

public DailyRespiratoryRate getDailyRespiratoryRate()

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

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyRespiratoryRate

The dailyRespiratoryRate.

getDailyRespiratoryRateBuilder()

public DailyRespiratoryRate.Builder getDailyRespiratoryRateBuilder()

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

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyRespiratoryRate.Builder

getDailyRespiratoryRateOrBuilder()

public DailyRespiratoryRateOrBuilder getDailyRespiratoryRateOrBuilder()

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

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyRespiratoryRateOrBuilder

getDailyRestingHeartRate()

public DailyRestingHeartRate getDailyRestingHeartRate()

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

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyRestingHeartRate

The dailyRestingHeartRate.

getDailyRestingHeartRateBuilder()

public DailyRestingHeartRate.Builder getDailyRestingHeartRateBuilder()

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

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyRestingHeartRate.Builder

getDailyRestingHeartRateOrBuilder()

public DailyRestingHeartRateOrBuilder getDailyRestingHeartRateOrBuilder()

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

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyRestingHeartRateOrBuilder

getDailySleepTemperatureDerivations()

public DailySleepTemperatureDerivations getDailySleepTemperatureDerivations()

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

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailySleepTemperatureDerivations

The dailySleepTemperatureDerivations.

getDailySleepTemperatureDerivationsBuilder()

public DailySleepTemperatureDerivations.Builder getDailySleepTemperatureDerivationsBuilder()

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

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailySleepTemperatureDerivations.Builder

getDailySleepTemperatureDerivationsOrBuilder()

public DailySleepTemperatureDerivationsOrBuilder getDailySleepTemperatureDerivationsOrBuilder()

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

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailySleepTemperatureDerivationsOrBuilder

getDailyVo2Max()

public DailyVO2Max getDailyVo2Max()

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

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyVO2Max

The dailyVo2Max.

getDailyVo2MaxBuilder()

public DailyVO2Max.Builder getDailyVo2MaxBuilder()

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

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyVO2Max.Builder

getDailyVo2MaxOrBuilder()

public DailyVO2MaxOrBuilder getDailyVo2MaxOrBuilder()

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

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DailyVO2MaxOrBuilder

getDataCase()

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

getDataSource()

public DataSource getDataSource()

Optional. Data source information for the metric

.google.devicesandservices.health.v4.DataSource data_source = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataSource

The dataSource.

getDataSourceBuilder()

public DataSource.Builder getDataSourceBuilder()

Optional. Data source information for the metric

.google.devicesandservices.health.v4.DataSource data_source = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataSource.Builder

getDataSourceOrBuilder()

public DataSourceOrBuilder getDataSourceOrBuilder()

Optional. Data source information for the metric

.google.devicesandservices.health.v4.DataSource data_source = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataSourceOrBuilder

getDefaultInstanceForType()

public DataPoint getDefaultInstanceForType()
Returns
Type Description
DataPoint

getDescriptorForType()

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

getDistance()

public Distance getDistance()

Optional. Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Distance

The distance.

getDistanceBuilder()

public Distance.Builder getDistanceBuilder()

Optional. Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Distance.Builder

getDistanceOrBuilder()

public DistanceOrBuilder getDistanceOrBuilder()

Optional. Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DistanceOrBuilder

getElectrocardiogram()

public Electrocardiogram getElectrocardiogram()

Optional. Data for points in the electrocardiogram session data type collection.

.google.devicesandservices.health.v4.Electrocardiogram electrocardiogram = 31 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Electrocardiogram

The electrocardiogram.

getElectrocardiogramBuilder()

public Electrocardiogram.Builder getElectrocardiogramBuilder()

Optional. Data for points in the electrocardiogram session data type collection.

.google.devicesandservices.health.v4.Electrocardiogram electrocardiogram = 31 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Electrocardiogram.Builder

getElectrocardiogramOrBuilder()

public ElectrocardiogramOrBuilder getElectrocardiogramOrBuilder()

Optional. Data for points in the electrocardiogram session data type collection.

.google.devicesandservices.health.v4.Electrocardiogram electrocardiogram = 31 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ElectrocardiogramOrBuilder

getExercise()

public Exercise getExercise()

Optional. Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Exercise

The exercise.

getExerciseBuilder()

public Exercise.Builder getExerciseBuilder()

Optional. Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Exercise.Builder

getExerciseOrBuilder()

public ExerciseOrBuilder getExerciseOrBuilder()

Optional. Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExerciseOrBuilder

getFloors()

public Floors getFloors()

Optional. Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Floors

The floors.

getFloorsBuilder()

public Floors.Builder getFloorsBuilder()

Optional. Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Floors.Builder

getFloorsOrBuilder()

public FloorsOrBuilder getFloorsOrBuilder()

Optional. Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FloorsOrBuilder

getFood()

public Food getFood()

Optional. The food details.

.google.devicesandservices.health.v4.Food food = 34 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Food

The food.

getFoodBuilder()

public Food.Builder getFoodBuilder()

Optional. The food details.

.google.devicesandservices.health.v4.Food food = 34 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Food.Builder

getFoodMeasurementUnit()

public FoodMeasurementUnit getFoodMeasurementUnit()

Optional. The food measurement unit details.

.google.devicesandservices.health.v4.FoodMeasurementUnit food_measurement_unit = 45 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FoodMeasurementUnit

The foodMeasurementUnit.

getFoodMeasurementUnitBuilder()

public FoodMeasurementUnit.Builder getFoodMeasurementUnitBuilder()

Optional. The food measurement unit details.

.google.devicesandservices.health.v4.FoodMeasurementUnit food_measurement_unit = 45 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FoodMeasurementUnit.Builder

getFoodMeasurementUnitOrBuilder()

public FoodMeasurementUnitOrBuilder getFoodMeasurementUnitOrBuilder()

Optional. The food measurement unit details.

.google.devicesandservices.health.v4.FoodMeasurementUnit food_measurement_unit = 45 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FoodMeasurementUnitOrBuilder

getFoodOrBuilder()

public FoodOrBuilder getFoodOrBuilder()

Optional. The food details.

.google.devicesandservices.health.v4.Food food = 34 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FoodOrBuilder

getHeartRate()

public HeartRate getHeartRate()

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

.google.devicesandservices.health.v4.HeartRate heart_rate = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HeartRate

The heartRate.

getHeartRateBuilder()

public HeartRate.Builder getHeartRateBuilder()

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

.google.devicesandservices.health.v4.HeartRate heart_rate = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HeartRate.Builder

getHeartRateOrBuilder()

public HeartRateOrBuilder getHeartRateOrBuilder()

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

.google.devicesandservices.health.v4.HeartRate heart_rate = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HeartRateOrBuilder

getHeartRateVariability()

public HeartRateVariability getHeartRateVariability()

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

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HeartRateVariability

The heartRateVariability.

getHeartRateVariabilityBuilder()

public HeartRateVariability.Builder getHeartRateVariabilityBuilder()

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

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HeartRateVariability.Builder

getHeartRateVariabilityOrBuilder()

public HeartRateVariabilityOrBuilder getHeartRateVariabilityOrBuilder()

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

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HeartRateVariabilityOrBuilder

getHeight()

public Height getHeight()

Optional. Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Height

The height.

getHeightBuilder()

public Height.Builder getHeightBuilder()

Optional. Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Height.Builder

getHeightOrBuilder()

public HeightOrBuilder getHeightOrBuilder()

Optional. Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HeightOrBuilder

getHydrationLog()

public HydrationLog getHydrationLog()

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

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HydrationLog

The hydrationLog.

getHydrationLogBuilder()

public HydrationLog.Builder getHydrationLogBuilder()

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

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HydrationLog.Builder

getHydrationLogOrBuilder()

public HydrationLogOrBuilder getHydrationLogOrBuilder()

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

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HydrationLogOrBuilder

getIrregularRhythmNotification()

public IrregularRhythmNotification getIrregularRhythmNotification()

Optional. Data for points in the irregular-rhythm-notification session data type collection.

.google.devicesandservices.health.v4.IrregularRhythmNotification irregular_rhythm_notification = 30 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IrregularRhythmNotification

The irregularRhythmNotification.

getIrregularRhythmNotificationBuilder()

public IrregularRhythmNotification.Builder getIrregularRhythmNotificationBuilder()

Optional. Data for points in the irregular-rhythm-notification session data type collection.

.google.devicesandservices.health.v4.IrregularRhythmNotification irregular_rhythm_notification = 30 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IrregularRhythmNotification.Builder

getIrregularRhythmNotificationOrBuilder()

public IrregularRhythmNotificationOrBuilder getIrregularRhythmNotificationOrBuilder()

Optional. Data for points in the irregular-rhythm-notification session data type collection.

.google.devicesandservices.health.v4.IrregularRhythmNotification irregular_rhythm_notification = 30 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IrregularRhythmNotificationOrBuilder

getName()

public String getName()

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 name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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 name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getNutritionLog()

public NutritionLog getNutritionLog()

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

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NutritionLog

The nutritionLog.

getNutritionLogBuilder()

public NutritionLog.Builder getNutritionLogBuilder()

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

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NutritionLog.Builder

getNutritionLogOrBuilder()

public NutritionLogOrBuilder getNutritionLogOrBuilder()

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

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NutritionLogOrBuilder

getOxygenSaturation()

public OxygenSaturation getOxygenSaturation()

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

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OxygenSaturation

The oxygenSaturation.

getOxygenSaturationBuilder()

public OxygenSaturation.Builder getOxygenSaturationBuilder()

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

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OxygenSaturation.Builder

getOxygenSaturationOrBuilder()

public OxygenSaturationOrBuilder getOxygenSaturationOrBuilder()

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

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OxygenSaturationOrBuilder

getRespiratoryRateSleepSummary()

public RespiratoryRateSleepSummary getRespiratoryRateSleepSummary()

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

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RespiratoryRateSleepSummary

The respiratoryRateSleepSummary.

getRespiratoryRateSleepSummaryBuilder()

public RespiratoryRateSleepSummary.Builder getRespiratoryRateSleepSummaryBuilder()

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

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RespiratoryRateSleepSummary.Builder

getRespiratoryRateSleepSummaryOrBuilder()

public RespiratoryRateSleepSummaryOrBuilder getRespiratoryRateSleepSummaryOrBuilder()

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

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RespiratoryRateSleepSummaryOrBuilder

getRunVo2Max()

public RunVO2Max getRunVo2Max()

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

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RunVO2Max

The runVo2Max.

getRunVo2MaxBuilder()

public RunVO2Max.Builder getRunVo2MaxBuilder()

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

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RunVO2Max.Builder

getRunVo2MaxOrBuilder()

public RunVO2MaxOrBuilder getRunVo2MaxOrBuilder()

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

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RunVO2MaxOrBuilder

getSedentaryPeriod()

public SedentaryPeriod getSedentaryPeriod()

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

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SedentaryPeriod

The sedentaryPeriod.

getSedentaryPeriodBuilder()

public SedentaryPeriod.Builder getSedentaryPeriodBuilder()

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

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SedentaryPeriod.Builder

getSedentaryPeriodOrBuilder()

public SedentaryPeriodOrBuilder getSedentaryPeriodOrBuilder()

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

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SedentaryPeriodOrBuilder

getSleep()

public Sleep getSleep()

Optional. Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Sleep

The sleep.

getSleepBuilder()

public Sleep.Builder getSleepBuilder()

Optional. Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Sleep.Builder

getSleepOrBuilder()

public SleepOrBuilder getSleepOrBuilder()

Optional. Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SleepOrBuilder

getSteps()

public Steps getSteps()

Optional. Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Steps

The steps.

getStepsBuilder()

public Steps.Builder getStepsBuilder()

Optional. Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Steps.Builder

getStepsOrBuilder()

public StepsOrBuilder getStepsOrBuilder()

Optional. Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StepsOrBuilder

getSwimLengthsData()

public SwimLengthsData getSwimLengthsData()

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

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SwimLengthsData

The swimLengthsData.

getSwimLengthsDataBuilder()

public SwimLengthsData.Builder getSwimLengthsDataBuilder()

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

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SwimLengthsData.Builder

getSwimLengthsDataOrBuilder()

public SwimLengthsDataOrBuilder getSwimLengthsDataOrBuilder()

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

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SwimLengthsDataOrBuilder

getTimeInHeartRateZone()

public TimeInHeartRateZone getTimeInHeartRateZone()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimeInHeartRateZone

The timeInHeartRateZone.

getTimeInHeartRateZoneBuilder()

public TimeInHeartRateZone.Builder getTimeInHeartRateZoneBuilder()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimeInHeartRateZone.Builder

getTimeInHeartRateZoneOrBuilder()

public TimeInHeartRateZoneOrBuilder getTimeInHeartRateZoneOrBuilder()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimeInHeartRateZoneOrBuilder

getVo2Max()

public VO2Max getVo2Max()

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

.google.devicesandservices.health.v4.VO2Max vo2_max = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VO2Max

The vo2Max.

getVo2MaxBuilder()

public VO2Max.Builder getVo2MaxBuilder()

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

.google.devicesandservices.health.v4.VO2Max vo2_max = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VO2Max.Builder

getVo2MaxOrBuilder()

public VO2MaxOrBuilder getVo2MaxOrBuilder()

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

.google.devicesandservices.health.v4.VO2Max vo2_max = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VO2MaxOrBuilder

getWeight()

public Weight getWeight()

Optional. Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Weight

The weight.

getWeightBuilder()

public Weight.Builder getWeightBuilder()

Optional. Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Weight.Builder

getWeightOrBuilder()

public WeightOrBuilder getWeightOrBuilder()

Optional. Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WeightOrBuilder

hasActiveEnergyBurned()

public boolean hasActiveEnergyBurned()

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

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the activeEnergyBurned field is set.

hasActiveMinutes()

public boolean hasActiveMinutes()

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

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the activeMinutes field is set.

hasActiveZoneMinutes()

public boolean hasActiveZoneMinutes()

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

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the activeZoneMinutes field is set.

hasActivityLevel()

public boolean hasActivityLevel()

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

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the activityLevel field is set.

hasAltitude()

public boolean hasAltitude()

Optional. Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the altitude field is set.

hasBasalEnergyBurned()

public boolean hasBasalEnergyBurned()

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

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the basalEnergyBurned field is set.

hasBloodGlucose()

public boolean hasBloodGlucose()

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

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the bloodGlucose field is set.

hasBodyFat()

public boolean hasBodyFat()

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

.google.devicesandservices.health.v4.BodyFat body_fat = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the bodyFat field is set.

hasCoreBodyTemperature()

public boolean hasCoreBodyTemperature()

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

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the coreBodyTemperature field is set.

hasDailyHeartRateVariability()

public boolean hasDailyHeartRateVariability()

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

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dailyHeartRateVariability field is set.

hasDailyHeartRateZones()

public boolean hasDailyHeartRateZones()

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

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dailyHeartRateZones field is set.

hasDailyOxygenSaturation()

public boolean hasDailyOxygenSaturation()

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

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dailyOxygenSaturation field is set.

hasDailyRespiratoryRate()

public boolean hasDailyRespiratoryRate()

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

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dailyRespiratoryRate field is set.

hasDailyRestingHeartRate()

public boolean hasDailyRestingHeartRate()

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

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dailyRestingHeartRate field is set.

hasDailySleepTemperatureDerivations()

public boolean hasDailySleepTemperatureDerivations()

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

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dailySleepTemperatureDerivations field is set.

hasDailyVo2Max()

public boolean hasDailyVo2Max()

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

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dailyVo2Max field is set.

hasDataSource()

public boolean hasDataSource()

Optional. Data source information for the metric

.google.devicesandservices.health.v4.DataSource data_source = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dataSource field is set.

hasDistance()

public boolean hasDistance()

Optional. Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the distance field is set.

hasElectrocardiogram()

public boolean hasElectrocardiogram()

Optional. Data for points in the electrocardiogram session data type collection.

.google.devicesandservices.health.v4.Electrocardiogram electrocardiogram = 31 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the electrocardiogram field is set.

hasExercise()

public boolean hasExercise()

Optional. Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the exercise field is set.

hasFloors()

public boolean hasFloors()

Optional. Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the floors field is set.

hasFood()

public boolean hasFood()

Optional. The food details.

.google.devicesandservices.health.v4.Food food = 34 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the food field is set.

hasFoodMeasurementUnit()

public boolean hasFoodMeasurementUnit()

Optional. The food measurement unit details.

.google.devicesandservices.health.v4.FoodMeasurementUnit food_measurement_unit = 45 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the foodMeasurementUnit field is set.

hasHeartRate()

public boolean hasHeartRate()

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

.google.devicesandservices.health.v4.HeartRate heart_rate = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the heartRate field is set.

hasHeartRateVariability()

public boolean hasHeartRateVariability()

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

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the heartRateVariability field is set.

hasHeight()

public boolean hasHeight()

Optional. Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the height field is set.

hasHydrationLog()

public boolean hasHydrationLog()

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

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the hydrationLog field is set.

hasIrregularRhythmNotification()

public boolean hasIrregularRhythmNotification()

Optional. Data for points in the irregular-rhythm-notification session data type collection.

.google.devicesandservices.health.v4.IrregularRhythmNotification irregular_rhythm_notification = 30 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the irregularRhythmNotification field is set.

hasNutritionLog()

public boolean hasNutritionLog()

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

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the nutritionLog field is set.

hasOxygenSaturation()

public boolean hasOxygenSaturation()

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

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the oxygenSaturation field is set.

hasRespiratoryRateSleepSummary()

public boolean hasRespiratoryRateSleepSummary()

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

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the respiratoryRateSleepSummary field is set.

hasRunVo2Max()

public boolean hasRunVo2Max()

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

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the runVo2Max field is set.

hasSedentaryPeriod()

public boolean hasSedentaryPeriod()

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

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sedentaryPeriod field is set.

hasSleep()

public boolean hasSleep()

Optional. Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sleep field is set.

hasSteps()

public boolean hasSteps()

Optional. Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the steps field is set.

hasSwimLengthsData()

public boolean hasSwimLengthsData()

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

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the swimLengthsData field is set.

hasTimeInHeartRateZone()

public boolean hasTimeInHeartRateZone()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the timeInHeartRateZone field is set.

hasVo2Max()

public boolean hasVo2Max()

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

.google.devicesandservices.health.v4.VO2Max vo2_max = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the vo2Max field is set.

hasWeight()

public boolean hasWeight()

Optional. Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12 [(.google.api.field_behavior) = OPTIONAL];

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 DataPoint.Builder mergeActiveEnergyBurned(ActiveEnergyBurned value)

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

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ActiveEnergyBurned
Returns
Type Description
DataPoint.Builder

mergeActiveMinutes(ActiveMinutes value)

public DataPoint.Builder mergeActiveMinutes(ActiveMinutes value)

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

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ActiveMinutes
Returns
Type Description
DataPoint.Builder

mergeActiveZoneMinutes(ActiveZoneMinutes value)

public DataPoint.Builder mergeActiveZoneMinutes(ActiveZoneMinutes value)

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

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ActiveZoneMinutes
Returns
Type Description
DataPoint.Builder

mergeActivityLevel(ActivityLevel value)

public DataPoint.Builder mergeActivityLevel(ActivityLevel value)

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

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ActivityLevel
Returns
Type Description
DataPoint.Builder

mergeAltitude(Altitude value)

public DataPoint.Builder mergeAltitude(Altitude value)

Optional. Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Altitude
Returns
Type Description
DataPoint.Builder

mergeBasalEnergyBurned(BasalEnergyBurned value)

public DataPoint.Builder mergeBasalEnergyBurned(BasalEnergyBurned value)

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

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BasalEnergyBurned
Returns
Type Description
DataPoint.Builder

mergeBloodGlucose(BloodGlucose value)

public DataPoint.Builder mergeBloodGlucose(BloodGlucose value)

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

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BloodGlucose
Returns
Type Description
DataPoint.Builder

mergeBodyFat(BodyFat value)

public DataPoint.Builder mergeBodyFat(BodyFat value)

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

.google.devicesandservices.health.v4.BodyFat body_fat = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BodyFat
Returns
Type Description
DataPoint.Builder

mergeCoreBodyTemperature(CoreBodyTemperature value)

public DataPoint.Builder mergeCoreBodyTemperature(CoreBodyTemperature value)

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

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CoreBodyTemperature
Returns
Type Description
DataPoint.Builder

mergeDailyHeartRateVariability(DailyHeartRateVariability value)

public DataPoint.Builder mergeDailyHeartRateVariability(DailyHeartRateVariability value)

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

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyHeartRateVariability
Returns
Type Description
DataPoint.Builder

mergeDailyHeartRateZones(DailyHeartRateZones value)

public DataPoint.Builder mergeDailyHeartRateZones(DailyHeartRateZones value)

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

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyHeartRateZones
Returns
Type Description
DataPoint.Builder

mergeDailyOxygenSaturation(DailyOxygenSaturation value)

public DataPoint.Builder mergeDailyOxygenSaturation(DailyOxygenSaturation value)

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

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyOxygenSaturation
Returns
Type Description
DataPoint.Builder

mergeDailyRespiratoryRate(DailyRespiratoryRate value)

public DataPoint.Builder mergeDailyRespiratoryRate(DailyRespiratoryRate value)

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

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyRespiratoryRate
Returns
Type Description
DataPoint.Builder

mergeDailyRestingHeartRate(DailyRestingHeartRate value)

public DataPoint.Builder mergeDailyRestingHeartRate(DailyRestingHeartRate value)

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

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyRestingHeartRate
Returns
Type Description
DataPoint.Builder

mergeDailySleepTemperatureDerivations(DailySleepTemperatureDerivations value)

public DataPoint.Builder mergeDailySleepTemperatureDerivations(DailySleepTemperatureDerivations value)

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

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailySleepTemperatureDerivations
Returns
Type Description
DataPoint.Builder

mergeDailyVo2Max(DailyVO2Max value)

public DataPoint.Builder mergeDailyVo2Max(DailyVO2Max value)

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

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyVO2Max
Returns
Type Description
DataPoint.Builder

mergeDataSource(DataSource value)

public DataPoint.Builder mergeDataSource(DataSource value)

Optional. Data source information for the metric

.google.devicesandservices.health.v4.DataSource data_source = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataSource
Returns
Type Description
DataPoint.Builder

mergeDistance(Distance value)

public DataPoint.Builder mergeDistance(Distance value)

Optional. Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Distance
Returns
Type Description
DataPoint.Builder

mergeElectrocardiogram(Electrocardiogram value)

public DataPoint.Builder mergeElectrocardiogram(Electrocardiogram value)

Optional. Data for points in the electrocardiogram session data type collection.

.google.devicesandservices.health.v4.Electrocardiogram electrocardiogram = 31 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Electrocardiogram
Returns
Type Description
DataPoint.Builder

mergeExercise(Exercise value)

public DataPoint.Builder mergeExercise(Exercise value)

Optional. Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Exercise
Returns
Type Description
DataPoint.Builder

mergeFloors(Floors value)

public DataPoint.Builder mergeFloors(Floors value)

Optional. Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Floors
Returns
Type Description
DataPoint.Builder

mergeFood(Food value)

public DataPoint.Builder mergeFood(Food value)

Optional. The food details.

.google.devicesandservices.health.v4.Food food = 34 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Food
Returns
Type Description
DataPoint.Builder

mergeFoodMeasurementUnit(FoodMeasurementUnit value)

public DataPoint.Builder mergeFoodMeasurementUnit(FoodMeasurementUnit value)

Optional. The food measurement unit details.

.google.devicesandservices.health.v4.FoodMeasurementUnit food_measurement_unit = 45 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FoodMeasurementUnit
Returns
Type Description
DataPoint.Builder

mergeFrom(DataPoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeHeartRate(HeartRate value)

public DataPoint.Builder mergeHeartRate(HeartRate value)

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

.google.devicesandservices.health.v4.HeartRate heart_rate = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value HeartRate
Returns
Type Description
DataPoint.Builder

mergeHeartRateVariability(HeartRateVariability value)

public DataPoint.Builder mergeHeartRateVariability(HeartRateVariability value)

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

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value HeartRateVariability
Returns
Type Description
DataPoint.Builder

mergeHeight(Height value)

public DataPoint.Builder mergeHeight(Height value)

Optional. Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Height
Returns
Type Description
DataPoint.Builder

mergeHydrationLog(HydrationLog value)

public DataPoint.Builder mergeHydrationLog(HydrationLog value)

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

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value HydrationLog
Returns
Type Description
DataPoint.Builder

mergeIrregularRhythmNotification(IrregularRhythmNotification value)

public DataPoint.Builder mergeIrregularRhythmNotification(IrregularRhythmNotification value)

Optional. Data for points in the irregular-rhythm-notification session data type collection.

.google.devicesandservices.health.v4.IrregularRhythmNotification irregular_rhythm_notification = 30 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IrregularRhythmNotification
Returns
Type Description
DataPoint.Builder

mergeNutritionLog(NutritionLog value)

public DataPoint.Builder mergeNutritionLog(NutritionLog value)

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

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NutritionLog
Returns
Type Description
DataPoint.Builder

mergeOxygenSaturation(OxygenSaturation value)

public DataPoint.Builder mergeOxygenSaturation(OxygenSaturation value)

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

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OxygenSaturation
Returns
Type Description
DataPoint.Builder

mergeRespiratoryRateSleepSummary(RespiratoryRateSleepSummary value)

public DataPoint.Builder mergeRespiratoryRateSleepSummary(RespiratoryRateSleepSummary value)

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

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RespiratoryRateSleepSummary
Returns
Type Description
DataPoint.Builder

mergeRunVo2Max(RunVO2Max value)

public DataPoint.Builder mergeRunVo2Max(RunVO2Max value)

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

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RunVO2Max
Returns
Type Description
DataPoint.Builder

mergeSedentaryPeriod(SedentaryPeriod value)

public DataPoint.Builder mergeSedentaryPeriod(SedentaryPeriod value)

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

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SedentaryPeriod
Returns
Type Description
DataPoint.Builder

mergeSleep(Sleep value)

public DataPoint.Builder mergeSleep(Sleep value)

Optional. Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Sleep
Returns
Type Description
DataPoint.Builder

mergeSteps(Steps value)

public DataPoint.Builder mergeSteps(Steps value)

Optional. Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Steps
Returns
Type Description
DataPoint.Builder

mergeSwimLengthsData(SwimLengthsData value)

public DataPoint.Builder mergeSwimLengthsData(SwimLengthsData value)

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

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SwimLengthsData
Returns
Type Description
DataPoint.Builder

mergeTimeInHeartRateZone(TimeInHeartRateZone value)

public DataPoint.Builder mergeTimeInHeartRateZone(TimeInHeartRateZone value)

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TimeInHeartRateZone
Returns
Type Description
DataPoint.Builder

mergeVo2Max(VO2Max value)

public DataPoint.Builder mergeVo2Max(VO2Max value)

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

.google.devicesandservices.health.v4.VO2Max vo2_max = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VO2Max
Returns
Type Description
DataPoint.Builder

mergeWeight(Weight value)

public DataPoint.Builder mergeWeight(Weight value)

Optional. Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Weight
Returns
Type Description
DataPoint.Builder

setActiveEnergyBurned(ActiveEnergyBurned value)

public DataPoint.Builder setActiveEnergyBurned(ActiveEnergyBurned value)

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

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ActiveEnergyBurned
Returns
Type Description
DataPoint.Builder

setActiveEnergyBurned(ActiveEnergyBurned.Builder builderForValue)

public DataPoint.Builder setActiveEnergyBurned(ActiveEnergyBurned.Builder builderForValue)

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

.google.devicesandservices.health.v4.ActiveEnergyBurned active_energy_burned = 44 [(.google.api.field_behavior) = OPTIONAL];

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

setActiveMinutes(ActiveMinutes value)

public DataPoint.Builder setActiveMinutes(ActiveMinutes value)

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

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ActiveMinutes
Returns
Type Description
DataPoint.Builder

setActiveMinutes(ActiveMinutes.Builder builderForValue)

public DataPoint.Builder setActiveMinutes(ActiveMinutes.Builder builderForValue)

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

.google.devicesandservices.health.v4.ActiveMinutes active_minutes = 36 [(.google.api.field_behavior) = OPTIONAL];

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

setActiveZoneMinutes(ActiveZoneMinutes value)

public DataPoint.Builder setActiveZoneMinutes(ActiveZoneMinutes value)

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

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ActiveZoneMinutes
Returns
Type Description
DataPoint.Builder

setActiveZoneMinutes(ActiveZoneMinutes.Builder builderForValue)

public DataPoint.Builder setActiveZoneMinutes(ActiveZoneMinutes.Builder builderForValue)

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

.google.devicesandservices.health.v4.ActiveZoneMinutes active_zone_minutes = 17 [(.google.api.field_behavior) = OPTIONAL];

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

setActivityLevel(ActivityLevel value)

public DataPoint.Builder setActivityLevel(ActivityLevel value)

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

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ActivityLevel
Returns
Type Description
DataPoint.Builder

setActivityLevel(ActivityLevel.Builder builderForValue)

public DataPoint.Builder setActivityLevel(ActivityLevel.Builder builderForValue)

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

.google.devicesandservices.health.v4.ActivityLevel activity_level = 26 [(.google.api.field_behavior) = OPTIONAL];

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

setAltitude(Altitude value)

public DataPoint.Builder setAltitude(Altitude value)

Optional. Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Altitude
Returns
Type Description
DataPoint.Builder

setAltitude(Altitude.Builder builderForValue)

public DataPoint.Builder setAltitude(Altitude.Builder builderForValue)

Optional. Data for points in the altitude interval data type collection.

.google.devicesandservices.health.v4.Altitude altitude = 13 [(.google.api.field_behavior) = OPTIONAL];

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

setBasalEnergyBurned(BasalEnergyBurned value)

public DataPoint.Builder setBasalEnergyBurned(BasalEnergyBurned value)

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

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BasalEnergyBurned
Returns
Type Description
DataPoint.Builder

setBasalEnergyBurned(BasalEnergyBurned.Builder builderForValue)

public DataPoint.Builder setBasalEnergyBurned(BasalEnergyBurned.Builder builderForValue)

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

.google.devicesandservices.health.v4.BasalEnergyBurned basal_energy_burned = 41 [(.google.api.field_behavior) = OPTIONAL];

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

setBloodGlucose(BloodGlucose value)

public DataPoint.Builder setBloodGlucose(BloodGlucose value)

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

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BloodGlucose
Returns
Type Description
DataPoint.Builder

setBloodGlucose(BloodGlucose.Builder builderForValue)

public DataPoint.Builder setBloodGlucose(BloodGlucose.Builder builderForValue)

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

.google.devicesandservices.health.v4.BloodGlucose blood_glucose = 46 [(.google.api.field_behavior) = OPTIONAL];

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

setBodyFat(BodyFat value)

public DataPoint.Builder setBodyFat(BodyFat value)

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

.google.devicesandservices.health.v4.BodyFat body_fat = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BodyFat
Returns
Type Description
DataPoint.Builder

setBodyFat(BodyFat.Builder builderForValue)

public DataPoint.Builder setBodyFat(BodyFat.Builder builderForValue)

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

.google.devicesandservices.health.v4.BodyFat body_fat = 15 [(.google.api.field_behavior) = OPTIONAL];

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

setCoreBodyTemperature(CoreBodyTemperature value)

public DataPoint.Builder setCoreBodyTemperature(CoreBodyTemperature value)

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

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CoreBodyTemperature
Returns
Type Description
DataPoint.Builder

setCoreBodyTemperature(CoreBodyTemperature.Builder builderForValue)

public DataPoint.Builder setCoreBodyTemperature(CoreBodyTemperature.Builder builderForValue)

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

.google.devicesandservices.health.v4.CoreBodyTemperature core_body_temperature = 42 [(.google.api.field_behavior) = OPTIONAL];

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

setDailyHeartRateVariability(DailyHeartRateVariability value)

public DataPoint.Builder setDailyHeartRateVariability(DailyHeartRateVariability value)

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

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyHeartRateVariability
Returns
Type Description
DataPoint.Builder

setDailyHeartRateVariability(DailyHeartRateVariability.Builder builderForValue)

public DataPoint.Builder setDailyHeartRateVariability(DailyHeartRateVariability.Builder builderForValue)

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

.google.devicesandservices.health.v4.DailyHeartRateVariability daily_heart_rate_variability = 10 [(.google.api.field_behavior) = OPTIONAL];

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

setDailyHeartRateZones(DailyHeartRateZones value)

public DataPoint.Builder setDailyHeartRateZones(DailyHeartRateZones value)

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

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyHeartRateZones
Returns
Type Description
DataPoint.Builder

setDailyHeartRateZones(DailyHeartRateZones.Builder builderForValue)

public DataPoint.Builder setDailyHeartRateZones(DailyHeartRateZones.Builder builderForValue)

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

.google.devicesandservices.health.v4.DailyHeartRateZones daily_heart_rate_zones = 32 [(.google.api.field_behavior) = OPTIONAL];

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

setDailyOxygenSaturation(DailyOxygenSaturation value)

public DataPoint.Builder setDailyOxygenSaturation(DailyOxygenSaturation value)

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

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyOxygenSaturation
Returns
Type Description
DataPoint.Builder

setDailyOxygenSaturation(DailyOxygenSaturation.Builder builderForValue)

public DataPoint.Builder setDailyOxygenSaturation(DailyOxygenSaturation.Builder builderForValue)

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

.google.devicesandservices.health.v4.DailyOxygenSaturation daily_oxygen_saturation = 25 [(.google.api.field_behavior) = OPTIONAL];

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

setDailyRespiratoryRate(DailyRespiratoryRate value)

public DataPoint.Builder setDailyRespiratoryRate(DailyRespiratoryRate value)

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

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyRespiratoryRate
Returns
Type Description
DataPoint.Builder

setDailyRespiratoryRate(DailyRespiratoryRate.Builder builderForValue)

public DataPoint.Builder setDailyRespiratoryRate(DailyRespiratoryRate.Builder builderForValue)

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

.google.devicesandservices.health.v4.DailyRespiratoryRate daily_respiratory_rate = 38 [(.google.api.field_behavior) = OPTIONAL];

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

setDailyRestingHeartRate(DailyRestingHeartRate value)

public DataPoint.Builder setDailyRestingHeartRate(DailyRestingHeartRate value)

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

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyRestingHeartRate
Returns
Type Description
DataPoint.Builder

setDailyRestingHeartRate(DailyRestingHeartRate.Builder builderForValue)

public DataPoint.Builder setDailyRestingHeartRate(DailyRestingHeartRate.Builder builderForValue)

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

.google.devicesandservices.health.v4.DailyRestingHeartRate daily_resting_heart_rate = 9 [(.google.api.field_behavior) = OPTIONAL];

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

setDailySleepTemperatureDerivations(DailySleepTemperatureDerivations value)

public DataPoint.Builder setDailySleepTemperatureDerivations(DailySleepTemperatureDerivations value)

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

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailySleepTemperatureDerivations
Returns
Type Description
DataPoint.Builder

setDailySleepTemperatureDerivations(DailySleepTemperatureDerivations.Builder builderForValue)

public DataPoint.Builder setDailySleepTemperatureDerivations(DailySleepTemperatureDerivations.Builder builderForValue)

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

.google.devicesandservices.health.v4.DailySleepTemperatureDerivations daily_sleep_temperature_derivations = 20 [(.google.api.field_behavior) = OPTIONAL];

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

setDailyVo2Max(DailyVO2Max value)

public DataPoint.Builder setDailyVo2Max(DailyVO2Max value)

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

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DailyVO2Max
Returns
Type Description
DataPoint.Builder

setDailyVo2Max(DailyVO2Max.Builder builderForValue)

public DataPoint.Builder setDailyVo2Max(DailyVO2Max.Builder builderForValue)

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

.google.devicesandservices.health.v4.DailyVO2Max daily_vo2_max = 28 [(.google.api.field_behavior) = OPTIONAL];

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

setDataSource(DataSource value)

public DataPoint.Builder setDataSource(DataSource value)

Optional. Data source information for the metric

.google.devicesandservices.health.v4.DataSource data_source = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataSource
Returns
Type Description
DataPoint.Builder

setDataSource(DataSource.Builder builderForValue)

public DataPoint.Builder setDataSource(DataSource.Builder builderForValue)

Optional. Data source information for the metric

.google.devicesandservices.health.v4.DataSource data_source = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DataSource.Builder
Returns
Type Description
DataPoint.Builder

setDistance(Distance value)

public DataPoint.Builder setDistance(Distance value)

Optional. Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Distance
Returns
Type Description
DataPoint.Builder

setDistance(Distance.Builder builderForValue)

public DataPoint.Builder setDistance(Distance.Builder builderForValue)

Optional. Data for points in the distance interval data type collection.

.google.devicesandservices.health.v4.Distance distance = 14 [(.google.api.field_behavior) = OPTIONAL];

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

setElectrocardiogram(Electrocardiogram value)

public DataPoint.Builder setElectrocardiogram(Electrocardiogram value)

Optional. Data for points in the electrocardiogram session data type collection.

.google.devicesandservices.health.v4.Electrocardiogram electrocardiogram = 31 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Electrocardiogram
Returns
Type Description
DataPoint.Builder

setElectrocardiogram(Electrocardiogram.Builder builderForValue)

public DataPoint.Builder setElectrocardiogram(Electrocardiogram.Builder builderForValue)

Optional. Data for points in the electrocardiogram session data type collection.

.google.devicesandservices.health.v4.Electrocardiogram electrocardiogram = 31 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Electrocardiogram.Builder
Returns
Type Description
DataPoint.Builder

setExercise(Exercise value)

public DataPoint.Builder setExercise(Exercise value)

Optional. Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Exercise
Returns
Type Description
DataPoint.Builder

setExercise(Exercise.Builder builderForValue)

public DataPoint.Builder setExercise(Exercise.Builder builderForValue)

Optional. Data for points in the exercise session data type collection.

.google.devicesandservices.health.v4.Exercise exercise = 11 [(.google.api.field_behavior) = OPTIONAL];

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

setFloors(Floors value)

public DataPoint.Builder setFloors(Floors value)

Optional. Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Floors
Returns
Type Description
DataPoint.Builder

setFloors(Floors.Builder builderForValue)

public DataPoint.Builder setFloors(Floors.Builder builderForValue)

Optional. Data for points in the floors interval data type collection.

.google.devicesandservices.health.v4.Floors floors = 5 [(.google.api.field_behavior) = OPTIONAL];

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

setFood(Food value)

public DataPoint.Builder setFood(Food value)

Optional. The food details.

.google.devicesandservices.health.v4.Food food = 34 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Food
Returns
Type Description
DataPoint.Builder

setFood(Food.Builder builderForValue)

public DataPoint.Builder setFood(Food.Builder builderForValue)

Optional. The food details.

.google.devicesandservices.health.v4.Food food = 34 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Food.Builder
Returns
Type Description
DataPoint.Builder

setFoodMeasurementUnit(FoodMeasurementUnit value)

public DataPoint.Builder setFoodMeasurementUnit(FoodMeasurementUnit value)

Optional. The food measurement unit details.

.google.devicesandservices.health.v4.FoodMeasurementUnit food_measurement_unit = 45 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FoodMeasurementUnit
Returns
Type Description
DataPoint.Builder

setFoodMeasurementUnit(FoodMeasurementUnit.Builder builderForValue)

public DataPoint.Builder setFoodMeasurementUnit(FoodMeasurementUnit.Builder builderForValue)

Optional. The food measurement unit details.

.google.devicesandservices.health.v4.FoodMeasurementUnit food_measurement_unit = 45 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue FoodMeasurementUnit.Builder
Returns
Type Description
DataPoint.Builder

setHeartRate(HeartRate value)

public DataPoint.Builder setHeartRate(HeartRate value)

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

.google.devicesandservices.health.v4.HeartRate heart_rate = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value HeartRate
Returns
Type Description
DataPoint.Builder

setHeartRate(HeartRate.Builder builderForValue)

public DataPoint.Builder setHeartRate(HeartRate.Builder builderForValue)

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

.google.devicesandservices.health.v4.HeartRate heart_rate = 6 [(.google.api.field_behavior) = OPTIONAL];

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

setHeartRateVariability(HeartRateVariability value)

public DataPoint.Builder setHeartRateVariability(HeartRateVariability value)

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

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value HeartRateVariability
Returns
Type Description
DataPoint.Builder

setHeartRateVariability(HeartRateVariability.Builder builderForValue)

public DataPoint.Builder setHeartRateVariability(HeartRateVariability.Builder builderForValue)

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

.google.devicesandservices.health.v4.HeartRateVariability heart_rate_variability = 19 [(.google.api.field_behavior) = OPTIONAL];

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

setHeight(Height value)

public DataPoint.Builder setHeight(Height value)

Optional. Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Height
Returns
Type Description
DataPoint.Builder

setHeight(Height.Builder builderForValue)

public DataPoint.Builder setHeight(Height.Builder builderForValue)

Optional. Data for points in the height sample data type collection.

.google.devicesandservices.health.v4.Height height = 40 [(.google.api.field_behavior) = OPTIONAL];

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

setHydrationLog(HydrationLog value)

public DataPoint.Builder setHydrationLog(HydrationLog value)

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

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value HydrationLog
Returns
Type Description
DataPoint.Builder

setHydrationLog(HydrationLog.Builder builderForValue)

public DataPoint.Builder setHydrationLog(HydrationLog.Builder builderForValue)

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

.google.devicesandservices.health.v4.HydrationLog hydration_log = 33 [(.google.api.field_behavior) = OPTIONAL];

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

setIrregularRhythmNotification(IrregularRhythmNotification value)

public DataPoint.Builder setIrregularRhythmNotification(IrregularRhythmNotification value)

Optional. Data for points in the irregular-rhythm-notification session data type collection.

.google.devicesandservices.health.v4.IrregularRhythmNotification irregular_rhythm_notification = 30 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IrregularRhythmNotification
Returns
Type Description
DataPoint.Builder

setIrregularRhythmNotification(IrregularRhythmNotification.Builder builderForValue)

public DataPoint.Builder setIrregularRhythmNotification(IrregularRhythmNotification.Builder builderForValue)

Optional. Data for points in the irregular-rhythm-notification session data type collection.

.google.devicesandservices.health.v4.IrregularRhythmNotification irregular_rhythm_notification = 30 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue IrregularRhythmNotification.Builder
Returns
Type Description
DataPoint.Builder

setName(String value)

public DataPoint.Builder setName(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 name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DataPoint.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DataPoint.Builder setNameBytes(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 name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DataPoint.Builder

This builder for chaining.

setNutritionLog(NutritionLog value)

public DataPoint.Builder setNutritionLog(NutritionLog value)

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

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NutritionLog
Returns
Type Description
DataPoint.Builder

setNutritionLog(NutritionLog.Builder builderForValue)

public DataPoint.Builder setNutritionLog(NutritionLog.Builder builderForValue)

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

.google.devicesandservices.health.v4.NutritionLog nutrition_log = 29 [(.google.api.field_behavior) = OPTIONAL];

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

setOxygenSaturation(OxygenSaturation value)

public DataPoint.Builder setOxygenSaturation(OxygenSaturation value)

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

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OxygenSaturation
Returns
Type Description
DataPoint.Builder

setOxygenSaturation(OxygenSaturation.Builder builderForValue)

public DataPoint.Builder setOxygenSaturation(OxygenSaturation.Builder builderForValue)

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

.google.devicesandservices.health.v4.OxygenSaturation oxygen_saturation = 24 [(.google.api.field_behavior) = OPTIONAL];

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

setRespiratoryRateSleepSummary(RespiratoryRateSleepSummary value)

public DataPoint.Builder setRespiratoryRateSleepSummary(RespiratoryRateSleepSummary value)

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

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RespiratoryRateSleepSummary
Returns
Type Description
DataPoint.Builder

setRespiratoryRateSleepSummary(RespiratoryRateSleepSummary.Builder builderForValue)

public DataPoint.Builder setRespiratoryRateSleepSummary(RespiratoryRateSleepSummary.Builder builderForValue)

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

.google.devicesandservices.health.v4.RespiratoryRateSleepSummary respiratory_rate_sleep_summary = 37 [(.google.api.field_behavior) = OPTIONAL];

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

setRunVo2Max(RunVO2Max value)

public DataPoint.Builder setRunVo2Max(RunVO2Max value)

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

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RunVO2Max
Returns
Type Description
DataPoint.Builder

setRunVo2Max(RunVO2Max.Builder builderForValue)

public DataPoint.Builder setRunVo2Max(RunVO2Max.Builder builderForValue)

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

.google.devicesandservices.health.v4.RunVO2Max run_vo2_max = 22 [(.google.api.field_behavior) = OPTIONAL];

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

setSedentaryPeriod(SedentaryPeriod value)

public DataPoint.Builder setSedentaryPeriod(SedentaryPeriod value)

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

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SedentaryPeriod
Returns
Type Description
DataPoint.Builder

setSedentaryPeriod(SedentaryPeriod.Builder builderForValue)

public DataPoint.Builder setSedentaryPeriod(SedentaryPeriod.Builder builderForValue)

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

.google.devicesandservices.health.v4.SedentaryPeriod sedentary_period = 21 [(.google.api.field_behavior) = OPTIONAL];

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

setSleep(Sleep value)

public DataPoint.Builder setSleep(Sleep value)

Optional. Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Sleep
Returns
Type Description
DataPoint.Builder

setSleep(Sleep.Builder builderForValue)

public DataPoint.Builder setSleep(Sleep.Builder builderForValue)

Optional. Data for points in the sleep session data type collection.

.google.devicesandservices.health.v4.Sleep sleep = 8 [(.google.api.field_behavior) = OPTIONAL];

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

setSteps(Steps value)

public DataPoint.Builder setSteps(Steps value)

Optional. Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Steps
Returns
Type Description
DataPoint.Builder

setSteps(Steps.Builder builderForValue)

public DataPoint.Builder setSteps(Steps.Builder builderForValue)

Optional. Data for points in the steps interval data type collection.

.google.devicesandservices.health.v4.Steps steps = 4 [(.google.api.field_behavior) = OPTIONAL];

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

setSwimLengthsData(SwimLengthsData value)

public DataPoint.Builder setSwimLengthsData(SwimLengthsData value)

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

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SwimLengthsData
Returns
Type Description
DataPoint.Builder

setSwimLengthsData(SwimLengthsData.Builder builderForValue)

public DataPoint.Builder setSwimLengthsData(SwimLengthsData.Builder builderForValue)

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

.google.devicesandservices.health.v4.SwimLengthsData swim_lengths_data = 39 [(.google.api.field_behavior) = OPTIONAL];

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

setTimeInHeartRateZone(TimeInHeartRateZone value)

public DataPoint.Builder setTimeInHeartRateZone(TimeInHeartRateZone value)

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TimeInHeartRateZone
Returns
Type Description
DataPoint.Builder

setTimeInHeartRateZone(TimeInHeartRateZone.Builder builderForValue)

public DataPoint.Builder setTimeInHeartRateZone(TimeInHeartRateZone.Builder builderForValue)

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

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

setVo2Max(VO2Max value)

public DataPoint.Builder setVo2Max(VO2Max value)

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

.google.devicesandservices.health.v4.VO2Max vo2_max = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VO2Max
Returns
Type Description
DataPoint.Builder

setVo2Max(VO2Max.Builder builderForValue)

public DataPoint.Builder setVo2Max(VO2Max.Builder builderForValue)

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

.google.devicesandservices.health.v4.VO2Max vo2_max = 27 [(.google.api.field_behavior) = OPTIONAL];

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

setWeight(Weight value)

public DataPoint.Builder setWeight(Weight value)

Optional. Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Weight
Returns
Type Description
DataPoint.Builder

setWeight(Weight.Builder builderForValue)

public DataPoint.Builder setWeight(Weight.Builder builderForValue)

Optional. Data for points in the weight sample data type collection.

.google.devicesandservices.health.v4.Weight weight = 12 [(.google.api.field_behavior) = OPTIONAL];

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