public static final class SkinTemperatureSensors.SensorMetadata.Builder extends GeneratedMessage.Builder<SkinTemperatureSensors.SensorMetadata.Builder> implements SkinTemperatureSensors.SensorMetadataOrBuilderMetadata for the sensor measurement.
Protobuf type
google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SkinTemperatureSensors.SensorMetadata.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SkinTemperatureSensors.SensorMetadata build()| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata |
|
buildPartial()
public SkinTemperatureSensors.SensorMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata |
|
clear()
public SkinTemperatureSensors.SensorMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
|
clearMeasurementLocation()
public SkinTemperatureSensors.SensorMetadata.Builder clearMeasurementLocation()Optional. The location of the sensor measurement.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.MeasurementLocation measurement_location = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
This builder for chaining. |
clearMeasurementState()
public SkinTemperatureSensors.SensorMetadata.Builder clearMeasurementState()Optional. The motion state of the sensor measurement.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata.MeasurementState measurement_state = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
This builder for chaining. |
clearSensorType()
public SkinTemperatureSensors.SensorMetadata.Builder clearSensorType()Optional. The type of the sensor.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata.SensorType sensor_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SkinTemperatureSensors.SensorMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMeasurementLocation()
public SkinTemperatureSensors.MeasurementLocation getMeasurementLocation()Optional. The location of the sensor measurement.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.MeasurementLocation measurement_location = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.MeasurementLocation |
The measurementLocation. |
getMeasurementLocationValue()
public int getMeasurementLocationValue()Optional. The location of the sensor measurement.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.MeasurementLocation measurement_location = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for measurementLocation. |
getMeasurementState()
public SkinTemperatureSensors.SensorMetadata.MeasurementState getMeasurementState()Optional. The motion state of the sensor measurement.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata.MeasurementState measurement_state = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.MeasurementState |
The measurementState. |
getMeasurementStateValue()
public int getMeasurementStateValue()Optional. The motion state of the sensor measurement.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata.MeasurementState measurement_state = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for measurementState. |
getSensorType()
public SkinTemperatureSensors.SensorMetadata.SensorType getSensorType()Optional. The type of the sensor.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata.SensorType sensor_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.SensorType |
The sensorType. |
getSensorTypeValue()
public int getSensorTypeValue()Optional. The type of the sensor.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata.SensorType sensor_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for sensorType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SkinTemperatureSensors.SensorMetadata other)
public SkinTemperatureSensors.SensorMetadata.Builder mergeFrom(SkinTemperatureSensors.SensorMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
SkinTemperatureSensors.SensorMetadata |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SkinTemperatureSensors.SensorMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SkinTemperatureSensors.SensorMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
|
setMeasurementLocation(SkinTemperatureSensors.MeasurementLocation value)
public SkinTemperatureSensors.SensorMetadata.Builder setMeasurementLocation(SkinTemperatureSensors.MeasurementLocation value)Optional. The location of the sensor measurement.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.MeasurementLocation measurement_location = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SkinTemperatureSensors.MeasurementLocationThe measurementLocation to set. |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
This builder for chaining. |
setMeasurementLocationValue(int value)
public SkinTemperatureSensors.SensorMetadata.Builder setMeasurementLocationValue(int value)Optional. The location of the sensor measurement.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.MeasurementLocation measurement_location = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for measurementLocation to set. |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
This builder for chaining. |
setMeasurementState(SkinTemperatureSensors.SensorMetadata.MeasurementState value)
public SkinTemperatureSensors.SensorMetadata.Builder setMeasurementState(SkinTemperatureSensors.SensorMetadata.MeasurementState value)Optional. The motion state of the sensor measurement.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata.MeasurementState measurement_state = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SkinTemperatureSensors.SensorMetadata.MeasurementStateThe measurementState to set. |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
This builder for chaining. |
setMeasurementStateValue(int value)
public SkinTemperatureSensors.SensorMetadata.Builder setMeasurementStateValue(int value)Optional. The motion state of the sensor measurement.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata.MeasurementState measurement_state = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for measurementState to set. |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
This builder for chaining. |
setSensorType(SkinTemperatureSensors.SensorMetadata.SensorType value)
public SkinTemperatureSensors.SensorMetadata.Builder setSensorType(SkinTemperatureSensors.SensorMetadata.SensorType value)Optional. The type of the sensor.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata.SensorType sensor_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SkinTemperatureSensors.SensorMetadata.SensorTypeThe sensorType to set. |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
This builder for chaining. |
setSensorTypeValue(int value)
public SkinTemperatureSensors.SensorMetadata.Builder setSensorTypeValue(int value)Optional. The type of the sensor.
.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata.SensorType sensor_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for sensorType to set. |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorMetadata.Builder |
This builder for chaining. |