Interface BloodGlucoseOrBuilder (0.2.0)

public interface BloodGlucoseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBloodGlucoseMilligramsPerDeciliter()

public abstract double getBloodGlucoseMilligramsPerDeciliter()

Required. Blood glucose level concentration in mg/dL.

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

Returns
Type Description
double

The bloodGlucoseMilligramsPerDeciliter.

getMealType()

public abstract BloodGlucose.MealType getMealType()

Optional. Meal type of the measurement.

.google.devicesandservices.health.v4.BloodGlucose.MealType meal_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BloodGlucose.MealType

The mealType.

getMealTypeValue()

public abstract int getMealTypeValue()

Optional. Meal type of the measurement.

.google.devicesandservices.health.v4.BloodGlucose.MealType meal_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for mealType.

getMeasurementSource()

public abstract BloodGlucose.MeasurementSource getMeasurementSource()

Optional. Source of the measurement.

.google.devicesandservices.health.v4.BloodGlucose.MeasurementSource measurement_source = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BloodGlucose.MeasurementSource

The measurementSource.

getMeasurementSourceValue()

public abstract int getMeasurementSourceValue()

Optional. Source of the measurement.

.google.devicesandservices.health.v4.BloodGlucose.MeasurementSource measurement_source = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for measurementSource.

getMeasurementTiming()

public abstract BloodGlucose.MeasurementTiming getMeasurementTiming()

Optional. Timing of the measurement.

.google.devicesandservices.health.v4.BloodGlucose.MeasurementTiming measurement_timing = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BloodGlucose.MeasurementTiming

The measurementTiming.

getMeasurementTimingValue()

public abstract int getMeasurementTimingValue()

Optional. Timing of the measurement.

.google.devicesandservices.health.v4.BloodGlucose.MeasurementTiming measurement_timing = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for measurementTiming.

getNotes()

public abstract String getNotes()

Optional. Standard free-form notes captured at manual logging.

string notes = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The notes.

getNotesBytes()

public abstract ByteString getNotesBytes()

Optional. Standard free-form notes captured at manual logging.

string notes = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for notes.

getSampleTime()

public abstract ObservationSampleTime getSampleTime()

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

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

Returns
Type Description
ObservationSampleTimeOrBuilder

getSpecimen()

public abstract BloodGlucose.Specimen getSpecimen()

Optional. Type of body fluid used to measure the blood glucose.

.google.devicesandservices.health.v4.BloodGlucose.Specimen specimen = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BloodGlucose.Specimen

The specimen.

getSpecimenValue()

public abstract int getSpecimenValue()

Optional. Type of body fluid used to measure the blood glucose.

.google.devicesandservices.health.v4.BloodGlucose.Specimen specimen = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for specimen.

hasBloodGlucoseMilligramsPerDeciliter()

public abstract boolean hasBloodGlucoseMilligramsPerDeciliter()

Required. Blood glucose level concentration in mg/dL.

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

Returns
Type Description
boolean

Whether the bloodGlucoseMilligramsPerDeciliter field is set.

hasSampleTime()

public abstract boolean hasSampleTime()

Required. The time at which blood glucose 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.