Interface ActiveZoneMinutesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActiveZoneMinutes,ActiveZoneMinutes.Builder
@Generated
public interface ActiveZoneMinutesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongRequired.Required.intRequired.Required.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInterval
boolean hasInterval()Required. Observed interval.
.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the interval field is set.
-
getInterval
ObservationTimeInterval getInterval()Required. Observed interval.
.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The interval.
-
getIntervalOrBuilder
ObservationTimeIntervalOrBuilder getIntervalOrBuilder()Required. Observed interval.
.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED]; -
getHeartRateZoneValue
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:
- The enum numeric value on the wire for heartRateZone.
-
getHeartRateZone
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:
- The heartRateZone.
-
getActiveZoneMinutes
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).
int64 active_zone_minutes = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The activeZoneMinutes.
-