Interface HydrationLogRollupValue.VolumeQuantityRollupOrBuilder (0.2.0)

public static interface HydrationLogRollupValue.VolumeQuantityRollupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMillilitersSum()

public abstract double getMillilitersSum()

Required. The sum of volume in milliliters.

optional double milliliters_sum = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
double

The millilitersSum.

getUserProvidedUnitLast()

public abstract VolumeUnit getUserProvidedUnitLast()

Optional. The user provided unit on the last element.

.google.devicesandservices.health.v4.VolumeUnit user_provided_unit_last = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VolumeUnit

The userProvidedUnitLast.

getUserProvidedUnitLastValue()

public abstract int getUserProvidedUnitLastValue()

Optional. The user provided unit on the last element.

.google.devicesandservices.health.v4.VolumeUnit user_provided_unit_last = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for userProvidedUnitLast.

hasMillilitersSum()

public abstract boolean hasMillilitersSum()

Required. The sum of volume in milliliters.

optional double milliliters_sum = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the millilitersSum field is set.