Interface TimeInHeartRateZoneOrBuilder (0.2.0)

public interface TimeInHeartRateZoneOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeartRateZoneType()

public abstract HeartRateZoneType getHeartRateZoneType()

Required. Heart rate zone type.

.google.devicesandservices.health.v4.HeartRateZoneType heart_rate_zone_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HeartRateZoneType

The heartRateZoneType.

getHeartRateZoneTypeValue()

public abstract int getHeartRateZoneTypeValue()

Required. Heart rate zone type.

.google.devicesandservices.health.v4.HeartRateZoneType heart_rate_zone_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for heartRateZoneType.

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

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.