Class SkinTemperatureSensors.SensorData.Builder (0.12.0)

public static final class SkinTemperatureSensors.SensorData.Builder extends GeneratedMessage.Builder<SkinTemperatureSensors.SensorData.Builder> implements SkinTemperatureSensors.SensorDataOrBuilder

Individual sensor reading and metadata.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SkinTemperatureSensors.SensorData build()
Returns
Type Description
SkinTemperatureSensors.SensorData

buildPartial()

public SkinTemperatureSensors.SensorData buildPartial()
Returns
Type Description
SkinTemperatureSensors.SensorData

clear()

public SkinTemperatureSensors.SensorData.Builder clear()
Returns
Type Description
SkinTemperatureSensors.SensorData.Builder
Overrides

clearMetadata()

public SkinTemperatureSensors.SensorData.Builder clearMetadata()

Optional. Metadata for the sensor reading.

.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SkinTemperatureSensors.SensorData.Builder

clearTemperatureCelsius()

public SkinTemperatureSensors.SensorData.Builder clearTemperatureCelsius()

Required. The temperature reading in Celsius.

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

Returns
Type Description
SkinTemperatureSensors.SensorData.Builder

This builder for chaining.

getDefaultInstanceForType()

public SkinTemperatureSensors.SensorData getDefaultInstanceForType()
Returns
Type Description
SkinTemperatureSensors.SensorData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMetadata()

public SkinTemperatureSensors.SensorMetadata getMetadata()

Optional. Metadata for the sensor reading.

.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SkinTemperatureSensors.SensorMetadata

The metadata.

getMetadataBuilder()

public SkinTemperatureSensors.SensorMetadata.Builder getMetadataBuilder()

Optional. Metadata for the sensor reading.

.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SkinTemperatureSensors.SensorMetadata.Builder

getMetadataOrBuilder()

public SkinTemperatureSensors.SensorMetadataOrBuilder getMetadataOrBuilder()

Optional. Metadata for the sensor reading.

.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SkinTemperatureSensors.SensorMetadataOrBuilder

getTemperatureCelsius()

public double getTemperatureCelsius()

Required. The temperature reading in Celsius.

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

Returns
Type Description
double

The temperatureCelsius.

hasMetadata()

public boolean hasMetadata()

Optional. Metadata for the sensor reading.

.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the metadata field is set.

hasTemperatureCelsius()

public boolean hasTemperatureCelsius()

Required. The temperature reading in Celsius.

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

Returns
Type Description
boolean

Whether the temperatureCelsius field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SkinTemperatureSensors.SensorData other)

public SkinTemperatureSensors.SensorData.Builder mergeFrom(SkinTemperatureSensors.SensorData other)
Parameter
Name Description
other SkinTemperatureSensors.SensorData
Returns
Type Description
SkinTemperatureSensors.SensorData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SkinTemperatureSensors.SensorData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkinTemperatureSensors.SensorData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SkinTemperatureSensors.SensorData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SkinTemperatureSensors.SensorData.Builder
Overrides

mergeMetadata(SkinTemperatureSensors.SensorMetadata value)

public SkinTemperatureSensors.SensorData.Builder mergeMetadata(SkinTemperatureSensors.SensorMetadata value)

Optional. Metadata for the sensor reading.

.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SkinTemperatureSensors.SensorMetadata
Returns
Type Description
SkinTemperatureSensors.SensorData.Builder

setMetadata(SkinTemperatureSensors.SensorMetadata value)

public SkinTemperatureSensors.SensorData.Builder setMetadata(SkinTemperatureSensors.SensorMetadata value)

Optional. Metadata for the sensor reading.

.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SkinTemperatureSensors.SensorMetadata
Returns
Type Description
SkinTemperatureSensors.SensorData.Builder

setMetadata(SkinTemperatureSensors.SensorMetadata.Builder builderForValue)

public SkinTemperatureSensors.SensorData.Builder setMetadata(SkinTemperatureSensors.SensorMetadata.Builder builderForValue)

Optional. Metadata for the sensor reading.

.google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SkinTemperatureSensors.SensorMetadata.Builder
Returns
Type Description
SkinTemperatureSensors.SensorData.Builder

setTemperatureCelsius(double value)

public SkinTemperatureSensors.SensorData.Builder setTemperatureCelsius(double value)

Required. The temperature reading in Celsius.

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

Parameter
Name Description
value double

The temperatureCelsius to set.

Returns
Type Description
SkinTemperatureSensors.SensorData.Builder

This builder for chaining.