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 TypeMethodDescriptioncom.google.protobuf.DurationThe total time spent in the specified heart rate zone.com.google.protobuf.DurationOrBuilderThe total time spent in the specified heart rate zone.The heart rate zone.intThe heart rate zone.booleanThe total time spent in the specified heart rate zone.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
-
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;
-