Interface MetricsSummaryOrBuilder (0.2.0)

public interface MetricsSummaryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActiveZoneMinutes()

public abstract long getActiveZoneMinutes()

Optional. Total active zone minutes for the exercise.

optional int64 active_zone_minutes = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The activeZoneMinutes.

getAverageHeartRateBeatsPerMinute()

public abstract long getAverageHeartRateBeatsPerMinute()

Optional. Average heart rate during the exercise.

optional int64 average_heart_rate_beats_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The averageHeartRateBeatsPerMinute.

getAveragePaceSecondsPerMeter()

public abstract double getAveragePaceSecondsPerMeter()

Optional. Average pace in seconds per meter.

optional double average_pace_seconds_per_meter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The averagePaceSecondsPerMeter.

getAverageSpeedMillimetersPerSecond()

public abstract double getAverageSpeedMillimetersPerSecond()

Optional. Average speed in millimeters per second.

optional double average_speed_millimeters_per_second = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The averageSpeedMillimetersPerSecond.

getCaloriesKcal()

public abstract double getCaloriesKcal()

Optional. Total calories burned by the user during the exercise.

optional double calories_kcal = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The caloriesKcal.

getDistanceMillimeters()

public abstract double getDistanceMillimeters()

Optional. Total distance covered by the user during the exercise.

optional double distance_millimeters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The distanceMillimeters.

getElevationGainMillimeters()

public abstract double getElevationGainMillimeters()

Optional. Total elevation gain during the exercise.

optional double elevation_gain_millimeters = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The elevationGainMillimeters.

getHeartRateZoneDurations()

public abstract MetricsSummary.TimeInHeartRateZones getHeartRateZoneDurations()

Optional. Time spent in each heart rate zone.

.google.devicesandservices.health.v4.MetricsSummary.TimeInHeartRateZones heart_rate_zone_durations = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MetricsSummary.TimeInHeartRateZones

The heartRateZoneDurations.

getHeartRateZoneDurationsOrBuilder()

public abstract MetricsSummary.TimeInHeartRateZonesOrBuilder getHeartRateZoneDurationsOrBuilder()

Optional. Time spent in each heart rate zone.

.google.devicesandservices.health.v4.MetricsSummary.TimeInHeartRateZones heart_rate_zone_durations = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MetricsSummary.TimeInHeartRateZonesOrBuilder

getMobilityMetrics()

public abstract MetricsSummary.MobilityMetrics getMobilityMetrics()

Optional. Mobility workouts specific metrics. Only present in the advanced running exercises.

.google.devicesandservices.health.v4.MetricsSummary.MobilityMetrics mobility_metrics = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MetricsSummary.MobilityMetrics

The mobilityMetrics.

getMobilityMetricsOrBuilder()

public abstract MetricsSummary.MobilityMetricsOrBuilder getMobilityMetricsOrBuilder()

Optional. Mobility workouts specific metrics. Only present in the advanced running exercises.

.google.devicesandservices.health.v4.MetricsSummary.MobilityMetrics mobility_metrics = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MetricsSummary.MobilityMetricsOrBuilder

getRunVo2Max()

public abstract double getRunVo2Max()

Optional. Run VO2 max value for the exercise. Only present in the running exercises at the top level as in the summary of the whole exercise.

optional double run_vo2_max = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The runVo2Max.

getSteps()

public abstract long getSteps()

Optional. Total steps taken during the exercise.

optional int64 steps = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The steps.

getTotalSwimLengths()

public abstract double getTotalSwimLengths()

Optional. Number of full pool lengths completed during the exercise. Only present in the swimming exercises at the top level as in the summary of the whole exercise.

optional double total_swim_lengths = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The totalSwimLengths.

hasActiveZoneMinutes()

public abstract boolean hasActiveZoneMinutes()

Optional. Total active zone minutes for the exercise.

optional int64 active_zone_minutes = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the activeZoneMinutes field is set.

hasAverageHeartRateBeatsPerMinute()

public abstract boolean hasAverageHeartRateBeatsPerMinute()

Optional. Average heart rate during the exercise.

optional int64 average_heart_rate_beats_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the averageHeartRateBeatsPerMinute field is set.

hasAveragePaceSecondsPerMeter()

public abstract boolean hasAveragePaceSecondsPerMeter()

Optional. Average pace in seconds per meter.

optional double average_pace_seconds_per_meter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the averagePaceSecondsPerMeter field is set.

hasAverageSpeedMillimetersPerSecond()

public abstract boolean hasAverageSpeedMillimetersPerSecond()

Optional. Average speed in millimeters per second.

optional double average_speed_millimeters_per_second = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the averageSpeedMillimetersPerSecond field is set.

hasCaloriesKcal()

public abstract boolean hasCaloriesKcal()

Optional. Total calories burned by the user during the exercise.

optional double calories_kcal = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the caloriesKcal field is set.

hasDistanceMillimeters()

public abstract boolean hasDistanceMillimeters()

Optional. Total distance covered by the user during the exercise.

optional double distance_millimeters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the distanceMillimeters field is set.

hasElevationGainMillimeters()

public abstract boolean hasElevationGainMillimeters()

Optional. Total elevation gain during the exercise.

optional double elevation_gain_millimeters = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the elevationGainMillimeters field is set.

hasHeartRateZoneDurations()

public abstract boolean hasHeartRateZoneDurations()

Optional. Time spent in each heart rate zone.

.google.devicesandservices.health.v4.MetricsSummary.TimeInHeartRateZones heart_rate_zone_durations = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the heartRateZoneDurations field is set.

hasMobilityMetrics()

public abstract boolean hasMobilityMetrics()

Optional. Mobility workouts specific metrics. Only present in the advanced running exercises.

.google.devicesandservices.health.v4.MetricsSummary.MobilityMetrics mobility_metrics = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the mobilityMetrics field is set.

hasRunVo2Max()

public abstract boolean hasRunVo2Max()

Optional. Run VO2 max value for the exercise. Only present in the running exercises at the top level as in the summary of the whole exercise.

optional double run_vo2_max = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the runVo2Max field is set.

hasSteps()

public abstract boolean hasSteps()

Optional. Total steps taken during the exercise.

optional int64 steps = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the steps field is set.

hasTotalSwimLengths()

public abstract boolean hasTotalSwimLengths()

Optional. Number of full pool lengths completed during the exercise. Only present in the swimming exercises at the top level as in the summary of the whole exercise.

optional double total_swim_lengths = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the totalSwimLengths field is set.