Class MetricsSummary.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MetricsSummary.Builder>
com.google.devicesandservices.health.v4.MetricsSummary.Builder
All Implemented Interfaces:
MetricsSummaryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MetricsSummary

public static final class MetricsSummary.Builder extends com.google.protobuf.GeneratedMessage.Builder<MetricsSummary.Builder> implements MetricsSummaryOrBuilder
 Summary metrics for an exercise.
 
Protobuf type google.devicesandservices.health.v4.MetricsSummary
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MetricsSummary.Builder>
    • clear

      public MetricsSummary.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MetricsSummary.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MetricsSummary.Builder>
    • getDefaultInstanceForType

      public MetricsSummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MetricsSummary build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MetricsSummary buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MetricsSummary.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetricsSummary.Builder>
    • mergeFrom

      public MetricsSummary.Builder mergeFrom(MetricsSummary other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MetricsSummary.Builder>
    • mergeFrom

      public MetricsSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetricsSummary.Builder>
      Throws:
      IOException
    • hasCaloriesKcal

      public boolean hasCaloriesKcal()
       Optional. Total calories burned by the user during the exercise.
       
      optional double calories_kcal = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCaloriesKcal in interface MetricsSummaryOrBuilder
      Returns:
      Whether the caloriesKcal field is set.
    • getCaloriesKcal

      public double getCaloriesKcal()
       Optional. Total calories burned by the user during the exercise.
       
      optional double calories_kcal = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCaloriesKcal in interface MetricsSummaryOrBuilder
      Returns:
      The caloriesKcal.
    • setCaloriesKcal

      public MetricsSummary.Builder setCaloriesKcal(double value)
       Optional. Total calories burned by the user during the exercise.
       
      optional double calories_kcal = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The caloriesKcal to set.
      Returns:
      This builder for chaining.
    • clearCaloriesKcal

      public MetricsSummary.Builder clearCaloriesKcal()
       Optional. Total calories burned by the user during the exercise.
       
      optional double calories_kcal = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasDistanceMillimeters

      public boolean hasDistanceMillimeters()
       Optional. Total distance covered by the user during the exercise.
       
      optional double distance_millimeters = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDistanceMillimeters in interface MetricsSummaryOrBuilder
      Returns:
      Whether the distanceMillimeters field is set.
    • getDistanceMillimeters

      public double getDistanceMillimeters()
       Optional. Total distance covered by the user during the exercise.
       
      optional double distance_millimeters = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDistanceMillimeters in interface MetricsSummaryOrBuilder
      Returns:
      The distanceMillimeters.
    • setDistanceMillimeters

      public MetricsSummary.Builder setDistanceMillimeters(double value)
       Optional. Total distance covered by the user during the exercise.
       
      optional double distance_millimeters = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The distanceMillimeters to set.
      Returns:
      This builder for chaining.
    • clearDistanceMillimeters

      public MetricsSummary.Builder clearDistanceMillimeters()
       Optional. Total distance covered by the user during the exercise.
       
      optional double distance_millimeters = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasSteps

      public boolean hasSteps()
       Optional. Total steps taken during the exercise.
       
      optional int64 steps = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSteps in interface MetricsSummaryOrBuilder
      Returns:
      Whether the steps field is set.
    • getSteps

      public long getSteps()
       Optional. Total steps taken during the exercise.
       
      optional int64 steps = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSteps in interface MetricsSummaryOrBuilder
      Returns:
      The steps.
    • setSteps

      public MetricsSummary.Builder setSteps(long value)
       Optional. Total steps taken during the exercise.
       
      optional int64 steps = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The steps to set.
      Returns:
      This builder for chaining.
    • clearSteps

      public MetricsSummary.Builder clearSteps()
       Optional. Total steps taken during the exercise.
       
      optional int64 steps = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasAverageSpeedMillimetersPerSecond

      public boolean hasAverageSpeedMillimetersPerSecond()
       Optional. Average speed in millimeters per second.
       
      optional double average_speed_millimeters_per_second = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAverageSpeedMillimetersPerSecond in interface MetricsSummaryOrBuilder
      Returns:
      Whether the averageSpeedMillimetersPerSecond field is set.
    • getAverageSpeedMillimetersPerSecond

      public double getAverageSpeedMillimetersPerSecond()
       Optional. Average speed in millimeters per second.
       
      optional double average_speed_millimeters_per_second = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAverageSpeedMillimetersPerSecond in interface MetricsSummaryOrBuilder
      Returns:
      The averageSpeedMillimetersPerSecond.
    • setAverageSpeedMillimetersPerSecond

      public MetricsSummary.Builder setAverageSpeedMillimetersPerSecond(double value)
       Optional. Average speed in millimeters per second.
       
      optional double average_speed_millimeters_per_second = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The averageSpeedMillimetersPerSecond to set.
      Returns:
      This builder for chaining.
    • clearAverageSpeedMillimetersPerSecond

      public MetricsSummary.Builder clearAverageSpeedMillimetersPerSecond()
       Optional. Average speed in millimeters per second.
       
      optional double average_speed_millimeters_per_second = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasAveragePaceSecondsPerMeter

      public boolean hasAveragePaceSecondsPerMeter()
       Optional. Average pace in seconds per meter.
       
      optional double average_pace_seconds_per_meter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAveragePaceSecondsPerMeter in interface MetricsSummaryOrBuilder
      Returns:
      Whether the averagePaceSecondsPerMeter field is set.
    • getAveragePaceSecondsPerMeter

      public double getAveragePaceSecondsPerMeter()
       Optional. Average pace in seconds per meter.
       
      optional double average_pace_seconds_per_meter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAveragePaceSecondsPerMeter in interface MetricsSummaryOrBuilder
      Returns:
      The averagePaceSecondsPerMeter.
    • setAveragePaceSecondsPerMeter

      public MetricsSummary.Builder setAveragePaceSecondsPerMeter(double value)
       Optional. Average pace in seconds per meter.
       
      optional double average_pace_seconds_per_meter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The averagePaceSecondsPerMeter to set.
      Returns:
      This builder for chaining.
    • clearAveragePaceSecondsPerMeter

      public MetricsSummary.Builder clearAveragePaceSecondsPerMeter()
       Optional. Average pace in seconds per meter.
       
      optional double average_pace_seconds_per_meter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasAverageHeartRateBeatsPerMinute

      public boolean hasAverageHeartRateBeatsPerMinute()
       Optional. Average heart rate during the exercise.
       
      optional int64 average_heart_rate_beats_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAverageHeartRateBeatsPerMinute in interface MetricsSummaryOrBuilder
      Returns:
      Whether the averageHeartRateBeatsPerMinute field is set.
    • getAverageHeartRateBeatsPerMinute

      public long getAverageHeartRateBeatsPerMinute()
       Optional. Average heart rate during the exercise.
       
      optional int64 average_heart_rate_beats_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAverageHeartRateBeatsPerMinute in interface MetricsSummaryOrBuilder
      Returns:
      The averageHeartRateBeatsPerMinute.
    • setAverageHeartRateBeatsPerMinute

      public MetricsSummary.Builder setAverageHeartRateBeatsPerMinute(long value)
       Optional. Average heart rate during the exercise.
       
      optional int64 average_heart_rate_beats_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The averageHeartRateBeatsPerMinute to set.
      Returns:
      This builder for chaining.
    • clearAverageHeartRateBeatsPerMinute

      public MetricsSummary.Builder clearAverageHeartRateBeatsPerMinute()
       Optional. Average heart rate during the exercise.
       
      optional int64 average_heart_rate_beats_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasElevationGainMillimeters

      public boolean hasElevationGainMillimeters()
       Optional. Total elevation gain during the exercise.
       
      optional double elevation_gain_millimeters = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasElevationGainMillimeters in interface MetricsSummaryOrBuilder
      Returns:
      Whether the elevationGainMillimeters field is set.
    • getElevationGainMillimeters

      public double getElevationGainMillimeters()
       Optional. Total elevation gain during the exercise.
       
      optional double elevation_gain_millimeters = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getElevationGainMillimeters in interface MetricsSummaryOrBuilder
      Returns:
      The elevationGainMillimeters.
    • setElevationGainMillimeters

      public MetricsSummary.Builder setElevationGainMillimeters(double value)
       Optional. Total elevation gain during the exercise.
       
      optional double elevation_gain_millimeters = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The elevationGainMillimeters to set.
      Returns:
      This builder for chaining.
    • clearElevationGainMillimeters

      public MetricsSummary.Builder clearElevationGainMillimeters()
       Optional. Total elevation gain during the exercise.
       
      optional double elevation_gain_millimeters = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasActiveZoneMinutes

      public boolean hasActiveZoneMinutes()
       Optional. Total active zone minutes for the exercise.
       
      optional int64 active_zone_minutes = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasActiveZoneMinutes in interface MetricsSummaryOrBuilder
      Returns:
      Whether the activeZoneMinutes field is set.
    • getActiveZoneMinutes

      public long getActiveZoneMinutes()
       Optional. Total active zone minutes for the exercise.
       
      optional int64 active_zone_minutes = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getActiveZoneMinutes in interface MetricsSummaryOrBuilder
      Returns:
      The activeZoneMinutes.
    • setActiveZoneMinutes

      public MetricsSummary.Builder setActiveZoneMinutes(long value)
       Optional. Total active zone minutes for the exercise.
       
      optional int64 active_zone_minutes = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The activeZoneMinutes to set.
      Returns:
      This builder for chaining.
    • clearActiveZoneMinutes

      public MetricsSummary.Builder clearActiveZoneMinutes()
       Optional. Total active zone minutes for the exercise.
       
      optional int64 active_zone_minutes = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasRunVo2Max

      public 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];
      Specified by:
      hasRunVo2Max in interface MetricsSummaryOrBuilder
      Returns:
      Whether the runVo2Max field is set.
    • getRunVo2Max

      public 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];
      Specified by:
      getRunVo2Max in interface MetricsSummaryOrBuilder
      Returns:
      The runVo2Max.
    • setRunVo2Max

      public MetricsSummary.Builder setRunVo2Max(double value)
       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];
      Parameters:
      value - The runVo2Max to set.
      Returns:
      This builder for chaining.
    • clearRunVo2Max

      public MetricsSummary.Builder clearRunVo2Max()
       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:
      This builder for chaining.
    • hasTotalSwimLengths

      public 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];
      Specified by:
      hasTotalSwimLengths in interface MetricsSummaryOrBuilder
      Returns:
      Whether the totalSwimLengths field is set.
    • getTotalSwimLengths

      public 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];
      Specified by:
      getTotalSwimLengths in interface MetricsSummaryOrBuilder
      Returns:
      The totalSwimLengths.
    • setTotalSwimLengths

      public MetricsSummary.Builder setTotalSwimLengths(double value)
       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];
      Parameters:
      value - The totalSwimLengths to set.
      Returns:
      This builder for chaining.
    • clearTotalSwimLengths

      public MetricsSummary.Builder clearTotalSwimLengths()
       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:
      This builder for chaining.
    • hasHeartRateZoneDurations

      public 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];
      Specified by:
      hasHeartRateZoneDurations in interface MetricsSummaryOrBuilder
      Returns:
      Whether the heartRateZoneDurations field is set.
    • getHeartRateZoneDurations

      public 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];
      Specified by:
      getHeartRateZoneDurations in interface MetricsSummaryOrBuilder
      Returns:
      The heartRateZoneDurations.
    • setHeartRateZoneDurations

      public MetricsSummary.Builder setHeartRateZoneDurations(MetricsSummary.TimeInHeartRateZones value)
       Optional. Time spent in each heart rate zone.
       
      .google.devicesandservices.health.v4.MetricsSummary.TimeInHeartRateZones heart_rate_zone_durations = 12 [(.google.api.field_behavior) = OPTIONAL];
    • setHeartRateZoneDurations

      public MetricsSummary.Builder setHeartRateZoneDurations(MetricsSummary.TimeInHeartRateZones.Builder builderForValue)
       Optional. Time spent in each heart rate zone.
       
      .google.devicesandservices.health.v4.MetricsSummary.TimeInHeartRateZones heart_rate_zone_durations = 12 [(.google.api.field_behavior) = OPTIONAL];
    • mergeHeartRateZoneDurations

      public MetricsSummary.Builder mergeHeartRateZoneDurations(MetricsSummary.TimeInHeartRateZones value)
       Optional. Time spent in each heart rate zone.
       
      .google.devicesandservices.health.v4.MetricsSummary.TimeInHeartRateZones heart_rate_zone_durations = 12 [(.google.api.field_behavior) = OPTIONAL];
    • clearHeartRateZoneDurations

      public MetricsSummary.Builder clearHeartRateZoneDurations()
       Optional. Time spent in each heart rate zone.
       
      .google.devicesandservices.health.v4.MetricsSummary.TimeInHeartRateZones heart_rate_zone_durations = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getHeartRateZoneDurationsBuilder

      public MetricsSummary.TimeInHeartRateZones.Builder getHeartRateZoneDurationsBuilder()
       Optional. Time spent in each heart rate zone.
       
      .google.devicesandservices.health.v4.MetricsSummary.TimeInHeartRateZones heart_rate_zone_durations = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getHeartRateZoneDurationsOrBuilder

      public 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];
      Specified by:
      getHeartRateZoneDurationsOrBuilder in interface MetricsSummaryOrBuilder
    • hasMobilityMetrics

      public 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];
      Specified by:
      hasMobilityMetrics in interface MetricsSummaryOrBuilder
      Returns:
      Whether the mobilityMetrics field is set.
    • getMobilityMetrics

      public 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];
      Specified by:
      getMobilityMetrics in interface MetricsSummaryOrBuilder
      Returns:
      The mobilityMetrics.
    • setMobilityMetrics

      public MetricsSummary.Builder setMobilityMetrics(MetricsSummary.MobilityMetrics value)
       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];
    • setMobilityMetrics

      public MetricsSummary.Builder setMobilityMetrics(MetricsSummary.MobilityMetrics.Builder builderForValue)
       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];
    • mergeMobilityMetrics

      public MetricsSummary.Builder mergeMobilityMetrics(MetricsSummary.MobilityMetrics value)
       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];
    • clearMobilityMetrics

      public MetricsSummary.Builder clearMobilityMetrics()
       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];
    • getMobilityMetricsBuilder

      public MetricsSummary.MobilityMetrics.Builder getMobilityMetricsBuilder()
       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];
    • getMobilityMetricsOrBuilder

      public 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];
      Specified by:
      getMobilityMetricsOrBuilder in interface MetricsSummaryOrBuilder