Interface TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValueOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue, TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue.Builder
Enclosing class:
TimeInHeartRateZoneRollupValue

public static interface TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValueOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    The total time spent in the specified heart rate zone.
    com.google.protobuf.DurationOrBuilder
    The total time spent in the specified heart rate zone.
    The heart rate zone.
    int
    The heart rate zone.
    boolean
    The total time spent in the specified heart rate zone.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getHeartRateZoneValue

      int getHeartRateZoneValue()
       The heart rate zone.
       
      .google.devicesandservices.health.v4.HeartRateZoneType heart_rate_zone = 1;
      Returns:
      The enum numeric value on the wire for heartRateZone.
    • getHeartRateZone

      HeartRateZoneType getHeartRateZone()
       The heart rate zone.
       
      .google.devicesandservices.health.v4.HeartRateZoneType heart_rate_zone = 1;
      Returns:
      The heartRateZone.
    • hasDuration

      boolean hasDuration()
       The total time spent in the specified heart rate zone.
       
      .google.protobuf.Duration duration = 2;
      Returns:
      Whether the duration field is set.
    • getDuration

      com.google.protobuf.Duration getDuration()
       The total time spent in the specified heart rate zone.
       
      .google.protobuf.Duration duration = 2;
      Returns:
      The duration.
    • getDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
       The total time spent in the specified heart rate zone.
       
      .google.protobuf.Duration duration = 2;