Class SkinTemperatureSensors.SensorMetadata.Builder (0.12.0)

public static final class SkinTemperatureSensors.SensorMetadata.Builder extends GeneratedMessage.Builder<SkinTemperatureSensors.SensorMetadata.Builder> implements SkinTemperatureSensors.SensorMetadataOrBuilder

Metadata for the sensor measurement.

Protobuf type google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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.MeasurementLocation

The 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 int

The 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.MeasurementState

The 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 int

The 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.SensorType

The 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 int

The enum numeric value on the wire for sensorType to set.

Returns
Type Description
SkinTemperatureSensors.SensorMetadata.Builder

This builder for chaining.