Interface DataPointOrBuilder (0.2.0)

public interface DataPointOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActiveEnergyBurned()

public abstract 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.

getActiveEnergyBurnedOrBuilder()

public abstract 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 abstract 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.

getActiveMinutesOrBuilder()

public abstract 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 abstract 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.

getActiveZoneMinutesOrBuilder()

public abstract 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 abstract 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.

getActivityLevelOrBuilder()

public abstract 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 abstract 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.

getAltitudeOrBuilder()

public abstract 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 abstract 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.

getBasalEnergyBurnedOrBuilder()

public abstract 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 abstract 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.

getBloodGlucoseOrBuilder()

public abstract 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 abstract 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.

getBodyFatOrBuilder()

public abstract 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 abstract 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.

getCoreBodyTemperatureOrBuilder()

public abstract 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 abstract 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.

getDailyHeartRateVariabilityOrBuilder()

public abstract 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 abstract 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.

getDailyHeartRateZonesOrBuilder()

public abstract 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 abstract 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.

getDailyOxygenSaturationOrBuilder()

public abstract 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 abstract 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.

getDailyRespiratoryRateOrBuilder()

public abstract 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 abstract 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.

getDailyRestingHeartRateOrBuilder()

public abstract 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 abstract 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.

getDailySleepTemperatureDerivationsOrBuilder()

public abstract 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 abstract 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.

getDailyVo2MaxOrBuilder()

public abstract 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 abstract DataPoint.DataCase getDataCase()
Returns
Type Description
DataPoint.DataCase

getDataSource()

public abstract 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.

getDataSourceOrBuilder()

public abstract 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

getDistance()

public abstract 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.

getDistanceOrBuilder()

public abstract 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 abstract 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.

getElectrocardiogramOrBuilder()

public abstract 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 abstract 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.

getExerciseOrBuilder()

public abstract 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 abstract 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.

getFloorsOrBuilder()

public abstract 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 abstract Food getFood()

Optional. The food details.

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

Returns
Type Description
Food

The food.

getFoodMeasurementUnit()

public abstract 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.

getFoodMeasurementUnitOrBuilder()

public abstract 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 abstract FoodOrBuilder getFoodOrBuilder()

Optional. The food details.

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

Returns
Type Description
FoodOrBuilder

getHeartRate()

public abstract 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.

getHeartRateOrBuilder()

public abstract 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 abstract 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.

getHeartRateVariabilityOrBuilder()

public abstract 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 abstract 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.

getHeightOrBuilder()

public abstract 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 abstract 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.

getHydrationLogOrBuilder()

public abstract 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 abstract 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.

getIrregularRhythmNotificationOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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.

getNutritionLogOrBuilder()

public abstract 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 abstract 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.

getOxygenSaturationOrBuilder()

public abstract 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 abstract 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.

getRespiratoryRateSleepSummaryOrBuilder()

public abstract 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 abstract 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.

getRunVo2MaxOrBuilder()

public abstract 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 abstract 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.

getSedentaryPeriodOrBuilder()

public abstract 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 abstract 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.

getSleepOrBuilder()

public abstract 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 abstract 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.

getStepsOrBuilder()

public abstract 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 abstract 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.

getSwimLengthsDataOrBuilder()

public abstract 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 abstract 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.

getTimeInHeartRateZoneOrBuilder()

public abstract 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 abstract 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.

getVo2MaxOrBuilder()

public abstract 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 abstract 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.

getWeightOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.