public static final class SkinTemperatureSensors.SensorData extends GeneratedMessage implements SkinTemperatureSensors.SensorDataOrBuilderIndividual sensor reading and metadata.
Protobuf type google.devicesandservices.health.v4beta.SkinTemperatureSensors.SensorData
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SkinTemperatureSensors.SensorDataImplements
SkinTemperatureSensors.SensorDataOrBuilderStatic Fields
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TEMPERATURE_CELSIUS_FIELD_NUMBER
public static final int TEMPERATURE_CELSIUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SkinTemperatureSensors.SensorData getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SkinTemperatureSensors.SensorData.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData.Builder |
|
newBuilder(SkinTemperatureSensors.SensorData prototype)
public static SkinTemperatureSensors.SensorData.Builder newBuilder(SkinTemperatureSensors.SensorData prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SkinTemperatureSensors.SensorData |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData.Builder |
|
parseDelimitedFrom(InputStream input)
public static SkinTemperatureSensors.SensorData parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SkinTemperatureSensors.SensorData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SkinTemperatureSensors.SensorData parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SkinTemperatureSensors.SensorData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SkinTemperatureSensors.SensorData parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SkinTemperatureSensors.SensorData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SkinTemperatureSensors.SensorData parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SkinTemperatureSensors.SensorData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SkinTemperatureSensors.SensorData parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SkinTemperatureSensors.SensorData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SkinTemperatureSensors.SensorData parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SkinTemperatureSensors.SensorData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SkinTemperatureSensors.SensorData> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SensorData> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SkinTemperatureSensors.SensorData getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData |
|
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. |
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 |
|
getParserForType()
public Parser<SkinTemperatureSensors.SensorData> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SensorData> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SkinTemperatureSensors.SensorData.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SkinTemperatureSensors.SensorData.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData.Builder |
|
toBuilder()
public SkinTemperatureSensors.SensorData.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SkinTemperatureSensors.SensorData.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|