Interface CaloriesInHeartRateZoneRollupValue.CaloriesInHeartRateZoneValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CaloriesInHeartRateZoneRollupValue.CaloriesInHeartRateZoneValue,CaloriesInHeartRateZoneRollupValue.CaloriesInHeartRateZoneValue.Builder
- Enclosing class:
- CaloriesInHeartRateZoneRollupValue
public static interface CaloriesInHeartRateZoneRollupValue.CaloriesInHeartRateZoneValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe heart rate zone.intThe heart rate zone.doublegetKcal()The amount of kilocalories burned 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.
-
getKcal
double getKcal()The amount of kilocalories burned in the specified heart rate zone.
double kcal = 2;- Returns:
- The kcal.
-