Interface CaloriesInHeartRateZoneRollupValue.CaloriesInHeartRateZoneValueOrBuilder (0.2.0)

public static interface CaloriesInHeartRateZoneRollupValue.CaloriesInHeartRateZoneValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeartRateZone()

public abstract HeartRateZoneType getHeartRateZone()

The heart rate zone.

.google.devicesandservices.health.v4.HeartRateZoneType heart_rate_zone = 1;

Returns
Type Description
HeartRateZoneType

The heartRateZone.

getHeartRateZoneValue()

public abstract int getHeartRateZoneValue()

The heart rate zone.

.google.devicesandservices.health.v4.HeartRateZoneType heart_rate_zone = 1;

Returns
Type Description
int

The enum numeric value on the wire for heartRateZone.

getKcal()

public abstract double getKcal()

The amount of kilocalories burned in the specified heart rate zone.

optional double kcal = 2;

Returns
Type Description
double

The kcal.

hasKcal()

public abstract boolean hasKcal()

The amount of kilocalories burned in the specified heart rate zone.

optional double kcal = 2;

Returns
Type Description
boolean

Whether the kcal field is set.