Interface OxygenSaturationOrBuilder (0.2.0)

public interface OxygenSaturationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPercentage()

public abstract double getPercentage()

Required. The oxygen saturation percentage. Valid values are from 0 to 100.

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

Returns
Type Description
double

The percentage.

getSampleTime()

public abstract ObservationSampleTime getSampleTime()

Required. The time at which oxygen saturation 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 oxygen saturation was measured.

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

Returns
Type Description
ObservationSampleTimeOrBuilder

hasPercentage()

public abstract boolean hasPercentage()

Required. The oxygen saturation percentage. Valid values are from 0 to 100.

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

Returns
Type Description
boolean

Whether the percentage field is set.

hasSampleTime()

public abstract boolean hasSampleTime()

Required. The time at which oxygen saturation 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.