public static interface TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValueOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDuration()
public abstract Duration getDuration()The total time spent in the specified heart rate zone.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
Duration |
The duration. |
getDurationOrBuilder()
public abstract DurationOrBuilder getDurationOrBuilder()The total time spent in the specified heart rate zone.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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. |
hasDuration()
public abstract boolean hasDuration()The total time spent in the specified heart rate zone.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the duration field is set. |