Interface ActiveZoneMinutesOrBuilder (0.2.0)

public interface ActiveZoneMinutesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActiveZoneMinutes()

public abstract long getActiveZoneMinutes()

Required. Number of Active Zone Minutes earned in the given time interval. Note: active_zone_minutes equals to 1 for low intensity (fat burn) zones or 2 for high intensity zones (cardio, peak).

optional int64 active_zone_minutes = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The activeZoneMinutes.

getHeartRateZone()

public abstract ActiveZoneMinutes.HeartRateZone getHeartRateZone()

Required. Heart rate zone in which the active zone minutes have been earned, in the given time interval.

.google.devicesandservices.health.v4.ActiveZoneMinutes.HeartRateZone heart_rate_zone = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActiveZoneMinutes.HeartRateZone

The heartRateZone.

getHeartRateZoneValue()

public abstract int getHeartRateZoneValue()

Required. Heart rate zone in which the active zone minutes have been earned, in the given time interval.

.google.devicesandservices.health.v4.ActiveZoneMinutes.HeartRateZone heart_rate_zone = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for heartRateZone.

getInterval()

public abstract ObservationTimeInterval getInterval()

Required. Observed interval.

.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ObservationTimeInterval

The interval.

getIntervalOrBuilder()

public abstract ObservationTimeIntervalOrBuilder getIntervalOrBuilder()

Required. Observed interval.

.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ObservationTimeIntervalOrBuilder

hasActiveZoneMinutes()

public abstract boolean hasActiveZoneMinutes()

Required. Number of Active Zone Minutes earned in the given time interval. Note: active_zone_minutes equals to 1 for low intensity (fat burn) zones or 2 for high intensity zones (cardio, peak).

optional int64 active_zone_minutes = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the activeZoneMinutes field is set.

hasInterval()

public abstract boolean hasInterval()

Required. Observed interval.

.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the interval field is set.