public interface HeightOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getHeightMillimeters()
public abstract long getHeightMillimeters()Required. Height of the user in millimeters.
optional int64 height_millimeters = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The heightMillimeters. |
getSampleTime()
public abstract ObservationSampleTime getSampleTime()Required. The time at which the height was recorded.
.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 the height was recorded.
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ObservationSampleTimeOrBuilder |
|
hasHeightMillimeters()
public abstract boolean hasHeightMillimeters()Required. Height of the user in millimeters.
optional int64 height_millimeters = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the heightMillimeters field is set. |
hasSampleTime()
public abstract boolean hasSampleTime()Required. The time at which the height was recorded.
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sampleTime field is set. |