Interface VO2MaxOrBuilder (0.2.0)

public interface VO2MaxOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMeasurementMethod()

public abstract VO2Max.MeasurementMethod getMeasurementMethod()

Optional. The method used to measure the VO2 max value.

.google.devicesandservices.health.v4.VO2Max.MeasurementMethod measurement_method = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VO2Max.MeasurementMethod

The measurementMethod.

getMeasurementMethodValue()

public abstract int getMeasurementMethodValue()

Optional. The method used to measure the VO2 max value.

.google.devicesandservices.health.v4.VO2Max.MeasurementMethod measurement_method = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for measurementMethod.

getSampleTime()

public abstract ObservationSampleTime getSampleTime()

Required. The time at which VO2 max was measured.

.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ObservationSampleTime

The sampleTime.

getSampleTimeOrBuilder()

public abstract ObservationSampleTimeOrBuilder getSampleTimeOrBuilder()

Required. The time at which VO2 max was measured.

.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ObservationSampleTimeOrBuilder

getVo2Max()

public abstract double getVo2Max()

Required. VO2 max value measured as in ml consumed oxygen / kg of body weight / min.

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

Returns
Type Description
double

The vo2Max.

hasSampleTime()

public abstract boolean hasSampleTime()

Required. The time at which VO2 max was measured.

.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the sampleTime field is set.

hasVo2Max()

public abstract boolean hasVo2Max()

Required. VO2 max value measured as in ml consumed oxygen / kg of body weight / min.

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

Returns
Type Description
boolean

Whether the vo2Max field is set.