Class DailySleepTemperatureDerivations

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devicesandservices.health.v4.DailySleepTemperatureDerivations
All Implemented Interfaces:
DailySleepTemperatureDerivationsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DailySleepTemperatureDerivations extends com.google.protobuf.GeneratedMessage implements DailySleepTemperatureDerivationsOrBuilder
 Provides derived sleep temperature values, calculated from skin or internal
 device temperature readings during sleep.
 
Protobuf type google.devicesandservices.health.v4.DailySleepTemperatureDerivations
See Also:
  • Field Details

    • DATE_FIELD_NUMBER

      public static final int DATE_FIELD_NUMBER
      See Also:
    • NIGHTLY_TEMPERATURE_CELSIUS_FIELD_NUMBER

      public static final int NIGHTLY_TEMPERATURE_CELSIUS_FIELD_NUMBER
      See Also:
    • BASELINE_TEMPERATURE_CELSIUS_FIELD_NUMBER

      public static final int BASELINE_TEMPERATURE_CELSIUS_FIELD_NUMBER
      See Also:
    • RELATIVE_NIGHTLY_STDDEV_30D_CELSIUS_FIELD_NUMBER

      public static final int RELATIVE_NIGHTLY_STDDEV_30D_CELSIUS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasDate

      public boolean hasDate()
       Required. Date for which the sleep temperature derivations are calculated.
       
      .google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDate in interface DailySleepTemperatureDerivationsOrBuilder
      Returns:
      Whether the date field is set.
    • getDate

      public Date getDate()
       Required. Date for which the sleep temperature derivations are calculated.
       
      .google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDate in interface DailySleepTemperatureDerivationsOrBuilder
      Returns:
      The date.
    • getDateOrBuilder

      public DateOrBuilder getDateOrBuilder()
       Required. Date for which the sleep temperature derivations are calculated.
       
      .google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDateOrBuilder in interface DailySleepTemperatureDerivationsOrBuilder
    • getNightlyTemperatureCelsius

      public double getNightlyTemperatureCelsius()
       Required. The user's nightly skin temperature. It is the mean of skin
       temperature samples taken from the user’s sleep.
       
      double nightly_temperature_celsius = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNightlyTemperatureCelsius in interface DailySleepTemperatureDerivationsOrBuilder
      Returns:
      The nightlyTemperatureCelsius.
    • getBaselineTemperatureCelsius

      public double getBaselineTemperatureCelsius()
       Optional. The user's baseline skin temperature. It is the median of the
       user's nightly skin temperature over the past 30 days.
       
      double baseline_temperature_celsius = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBaselineTemperatureCelsius in interface DailySleepTemperatureDerivationsOrBuilder
      Returns:
      The baselineTemperatureCelsius.
    • getRelativeNightlyStddev30DCelsius

      public double getRelativeNightlyStddev30DCelsius()
       Optional. The standard deviation of the user’s relative nightly skin
       temperature (temperature - baseline) over the past 30 days.
       
      double relative_nightly_stddev_30d_celsius = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRelativeNightlyStddev30DCelsius in interface DailySleepTemperatureDerivationsOrBuilder
      Returns:
      The relativeNightlyStddev30dCelsius.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DailySleepTemperatureDerivations parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DailySleepTemperatureDerivations parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DailySleepTemperatureDerivations parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DailySleepTemperatureDerivations parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DailySleepTemperatureDerivations parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DailySleepTemperatureDerivations parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DailySleepTemperatureDerivations parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DailySleepTemperatureDerivations parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DailySleepTemperatureDerivations parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DailySleepTemperatureDerivations parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DailySleepTemperatureDerivations parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DailySleepTemperatureDerivations parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DailySleepTemperatureDerivations.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DailySleepTemperatureDerivations.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DailySleepTemperatureDerivations.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DailySleepTemperatureDerivations getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DailySleepTemperatureDerivations> parser()
    • getParserForType

      public com.google.protobuf.Parser<DailySleepTemperatureDerivations> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DailySleepTemperatureDerivations getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder