Interface ActiveEnergyBurnedOrBuilder (0.2.0)

public interface ActiveEnergyBurnedOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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

getKcal()

public abstract double getKcal()

Required. Energy burned during an activity, measured in kilocalories.

optional double kcal = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
double

The kcal.

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.

hasKcal()

public abstract boolean hasKcal()

Required. Energy burned during an activity, measured in kilocalories.

optional double kcal = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the kcal field is set.