Interface MetricsSummaryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetricsSummary,MetricsSummary.Builder
@Generated
public interface MetricsSummaryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongOptional.longOptional.doubleOptional.doubleOptional.doubleOptional.doubleOptional.doubleOptional.Optional.Optional.Optional.Optional.doubleOptional.longgetSteps()Optional.doubleOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanhasSteps()Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCaloriesKcal
boolean hasCaloriesKcal()Optional. Total calories burned by the user during the exercise.
optional double calories_kcal = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the caloriesKcal field is set.
-
getCaloriesKcal
double getCaloriesKcal()Optional. Total calories burned by the user during the exercise.
optional double calories_kcal = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The caloriesKcal.
-
hasDistanceMillimeters
boolean hasDistanceMillimeters()Optional. Total distance covered by the user during the exercise.
optional double distance_millimeters = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the distanceMillimeters field is set.
-
getDistanceMillimeters
double getDistanceMillimeters()Optional. Total distance covered by the user during the exercise.
optional double distance_millimeters = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The distanceMillimeters.
-
hasSteps
boolean hasSteps()Optional. Total steps taken during the exercise.
optional int64 steps = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the steps field is set.
-
getSteps
long getSteps()Optional. Total steps taken during the exercise.
optional int64 steps = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The steps.
-
hasAverageSpeedMillimetersPerSecond
boolean hasAverageSpeedMillimetersPerSecond()Optional. Average speed in millimeters per second.
optional double average_speed_millimeters_per_second = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the averageSpeedMillimetersPerSecond field is set.
-
getAverageSpeedMillimetersPerSecond
double getAverageSpeedMillimetersPerSecond()Optional. Average speed in millimeters per second.
optional double average_speed_millimeters_per_second = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The averageSpeedMillimetersPerSecond.
-
hasAveragePaceSecondsPerMeter
boolean hasAveragePaceSecondsPerMeter()Optional. Average pace in seconds per meter.
optional double average_pace_seconds_per_meter = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the averagePaceSecondsPerMeter field is set.
-
getAveragePaceSecondsPerMeter
double getAveragePaceSecondsPerMeter()Optional. Average pace in seconds per meter.
optional double average_pace_seconds_per_meter = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The averagePaceSecondsPerMeter.
-
hasAverageHeartRateBeatsPerMinute
boolean hasAverageHeartRateBeatsPerMinute()Optional. Average heart rate during the exercise.
optional int64 average_heart_rate_beats_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the averageHeartRateBeatsPerMinute field is set.
-
getAverageHeartRateBeatsPerMinute
long getAverageHeartRateBeatsPerMinute()Optional. Average heart rate during the exercise.
optional int64 average_heart_rate_beats_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The averageHeartRateBeatsPerMinute.
-
hasElevationGainMillimeters
boolean hasElevationGainMillimeters()Optional. Total elevation gain during the exercise.
optional double elevation_gain_millimeters = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the elevationGainMillimeters field is set.
-
getElevationGainMillimeters
double getElevationGainMillimeters()Optional. Total elevation gain during the exercise.
optional double elevation_gain_millimeters = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The elevationGainMillimeters.
-
hasActiveZoneMinutes
boolean hasActiveZoneMinutes()Optional. Total active zone minutes for the exercise.
optional int64 active_zone_minutes = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the activeZoneMinutes field is set.
-
getActiveZoneMinutes
long getActiveZoneMinutes()Optional. Total active zone minutes for the exercise.
optional int64 active_zone_minutes = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The activeZoneMinutes.
-
hasRunVo2Max
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:
- Whether the runVo2Max field is set.
-
getRunVo2Max
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:
- The runVo2Max.
-
hasTotalSwimLengths
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:
- Whether the totalSwimLengths field is set.
-
getTotalSwimLengths
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:
- The totalSwimLengths.
-
hasHeartRateZoneDurations
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:
- Whether the heartRateZoneDurations field is set.
-
getHeartRateZoneDurations
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:
- The heartRateZoneDurations.
-
getHeartRateZoneDurationsOrBuilder
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]; -
hasMobilityMetrics
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:
- Whether the mobilityMetrics field is set.
-
getMobilityMetrics
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:
- The mobilityMetrics.
-
getMobilityMetricsOrBuilder
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];
-