# Interface BloodGlucoseOrBuilder (0.2.0)

    public interface BloodGlucoseOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-health/latest/com.google.devicesandservices.health.v4.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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-health/latest/com.google.devicesandservices.health.v4.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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-health/latest/com.google.devicesandservices.health.v4.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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-health/latest/com.google.devicesandservices.health.v4.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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-health/latest/com.google.devicesandservices.health.v4.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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-health/latest/com.google.devicesandservices.health.v4.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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the sampleTime field is set. |