# Interface CaloriesInHeartRateZoneRollupValue.CaloriesInHeartRateZoneValueOrBuilder (0.2.0)

    public static interface CaloriesInHeartRateZoneRollupValue.CaloriesInHeartRateZoneValueOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getHeartRateZone()

    public abstract HeartRateZoneType getHeartRateZone()

The heart rate zone.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-health/latest/com.google.devicesandservices.health.v4.HeartRateZoneType` | The heartRateZone. |

### getHeartRateZoneValue()

    public abstract int getHeartRateZoneValue()

The heart rate zone.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the kcal field is set. |