# Interface CoreBodyTemperatureOrBuilder (0.2.0)

    public interface CoreBodyTemperatureOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getId()

    public abstract String getId()

Optional. The unique identifier of the core body temperature measurement.

`string id = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The id. |

### getIdBytes()

    public abstract ByteString getIdBytes()

Optional. The unique identifier of the core body temperature measurement.

`string id = 5 [(.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 id. |

### getMeasurementLocation()

    public abstract CoreBodyTemperature.MeasurementLocation getMeasurementLocation()

Optional. The location of the core body temperature measurement.

`
.google.devicesandservices.health.v4.CoreBodyTemperature.MeasurementLocation measurement_location = 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.CoreBodyTemperature.MeasurementLocation` | The measurementLocation. |

### getMeasurementLocationValue()

    public abstract int getMeasurementLocationValue()

Optional. The location of the core body temperature measurement.

`
.google.devicesandservices.health.v4.CoreBodyTemperature.MeasurementLocation measurement_location = 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 measurementLocation. |

### getSampleTime()

    public abstract ObservationSampleTime getSampleTime()

Required. The time at which core body temperature was measured.

`
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 2 [(.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 core body temperature was measured.

`
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 2 [(.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` |   |

### getTemperatureCelsius()

    public abstract double getTemperatureCelsius()

Required. The core body temperature in Celsius.

`optional double temperature_celsius = 3 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The temperatureCelsius. |

### hasSampleTime()

    public abstract boolean hasSampleTime()

Required. The time at which core body temperature was measured.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the sampleTime field is set. |

### hasTemperatureCelsius()

    public abstract boolean hasTemperatureCelsius()

Required. The core body temperature in Celsius.

`optional double temperature_celsius = 3 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the temperatureCelsius field is set. |