Class RespiratoryRateSleepSummary
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devicesandservices.health.v4.RespiratoryRateSleepSummary
- All Implemented Interfaces:
RespiratoryRateSleepSummaryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RespiratoryRateSleepSummary
extends com.google.protobuf.GeneratedMessage
implements RespiratoryRateSleepSummaryOrBuilder
Records respiratory rate details during sleep. Can have multiple per day if the user sleeps multiple times.Protobuf type
google.devicesandservices.health.v4.RespiratoryRateSleepSummary- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRecords respiratory rate details during sleep.static final classRespiratory rate statistics for a given sleep stage.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.static RespiratoryRateSleepSummarystatic final com.google.protobuf.Descriptors.DescriptorRequired.Required.Optional.Optional.com.google.protobuf.Parser<RespiratoryRateSleepSummary>Optional.Optional.Required.Required.intbooleanOptional.booleanRequired.inthashCode()booleanOptional.booleanOptional.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(RespiratoryRateSleepSummary prototype) protected RespiratoryRateSleepSummary.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RespiratoryRateSleepSummaryparseDelimitedFrom(InputStream input) static RespiratoryRateSleepSummaryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RespiratoryRateSleepSummaryparseFrom(byte[] data) static RespiratoryRateSleepSummaryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RespiratoryRateSleepSummaryparseFrom(com.google.protobuf.ByteString data) static RespiratoryRateSleepSummaryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RespiratoryRateSleepSummaryparseFrom(com.google.protobuf.CodedInputStream input) static RespiratoryRateSleepSummaryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RespiratoryRateSleepSummaryparseFrom(InputStream input) static RespiratoryRateSleepSummaryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RespiratoryRateSleepSummaryparseFrom(ByteBuffer data) static RespiratoryRateSleepSummaryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RespiratoryRateSleepSummary>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SAMPLE_TIME_FIELD_NUMBER
public static final int SAMPLE_TIME_FIELD_NUMBER- See Also:
-
DEEP_SLEEP_STATS_FIELD_NUMBER
public static final int DEEP_SLEEP_STATS_FIELD_NUMBER- See Also:
-
LIGHT_SLEEP_STATS_FIELD_NUMBER
public static final int LIGHT_SLEEP_STATS_FIELD_NUMBER- See Also:
-
REM_SLEEP_STATS_FIELD_NUMBER
public static final int REM_SLEEP_STATS_FIELD_NUMBER- See Also:
-
FULL_SLEEP_STATS_FIELD_NUMBER
public static final int FULL_SLEEP_STATS_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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasSampleTime
public boolean hasSampleTime()Required. The time at which respiratory rate was measured.
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasSampleTimein interfaceRespiratoryRateSleepSummaryOrBuilder- Returns:
- Whether the sampleTime field is set.
-
getSampleTime
Required. The time at which respiratory rate was measured.
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSampleTimein interfaceRespiratoryRateSleepSummaryOrBuilder- Returns:
- The sampleTime.
-
getSampleTimeOrBuilder
Required. The time at which respiratory rate was measured.
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSampleTimeOrBuilderin interfaceRespiratoryRateSleepSummaryOrBuilder
-
hasDeepSleepStats
public boolean hasDeepSleepStats()Optional. Respiratory rate statistics for deep sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics deep_sleep_stats = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDeepSleepStatsin interfaceRespiratoryRateSleepSummaryOrBuilder- Returns:
- Whether the deepSleepStats field is set.
-
getDeepSleepStats
Optional. Respiratory rate statistics for deep sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics deep_sleep_stats = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeepSleepStatsin interfaceRespiratoryRateSleepSummaryOrBuilder- Returns:
- The deepSleepStats.
-
getDeepSleepStatsOrBuilder
public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatisticsOrBuilder getDeepSleepStatsOrBuilder()Optional. Respiratory rate statistics for deep sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics deep_sleep_stats = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeepSleepStatsOrBuilderin interfaceRespiratoryRateSleepSummaryOrBuilder
-
hasLightSleepStats
public boolean hasLightSleepStats()Optional. Respiratory rate statistics for light sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics light_sleep_stats = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLightSleepStatsin interfaceRespiratoryRateSleepSummaryOrBuilder- Returns:
- Whether the lightSleepStats field is set.
-
getLightSleepStats
Optional. Respiratory rate statistics for light sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics light_sleep_stats = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLightSleepStatsin interfaceRespiratoryRateSleepSummaryOrBuilder- Returns:
- The lightSleepStats.
-
getLightSleepStatsOrBuilder
public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatisticsOrBuilder getLightSleepStatsOrBuilder()Optional. Respiratory rate statistics for light sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics light_sleep_stats = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLightSleepStatsOrBuilderin interfaceRespiratoryRateSleepSummaryOrBuilder
-
hasRemSleepStats
public boolean hasRemSleepStats()Optional. Respiratory rate statistics for REM sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics rem_sleep_stats = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRemSleepStatsin interfaceRespiratoryRateSleepSummaryOrBuilder- Returns:
- Whether the remSleepStats field is set.
-
getRemSleepStats
Optional. Respiratory rate statistics for REM sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics rem_sleep_stats = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRemSleepStatsin interfaceRespiratoryRateSleepSummaryOrBuilder- Returns:
- The remSleepStats.
-
getRemSleepStatsOrBuilder
public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatisticsOrBuilder getRemSleepStatsOrBuilder()Optional. Respiratory rate statistics for REM sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics rem_sleep_stats = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRemSleepStatsOrBuilderin interfaceRespiratoryRateSleepSummaryOrBuilder
-
hasFullSleepStats
public boolean hasFullSleepStats()Required. Full respiratory rate statistics.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics full_sleep_stats = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasFullSleepStatsin interfaceRespiratoryRateSleepSummaryOrBuilder- Returns:
- Whether the fullSleepStats field is set.
-
getFullSleepStats
Required. Full respiratory rate statistics.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics full_sleep_stats = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFullSleepStatsin interfaceRespiratoryRateSleepSummaryOrBuilder- Returns:
- The fullSleepStats.
-
getFullSleepStatsOrBuilder
public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatisticsOrBuilder getFullSleepStatsOrBuilder()Required. Full respiratory rate statistics.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics full_sleep_stats = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFullSleepStatsOrBuilderin interfaceRespiratoryRateSleepSummaryOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RespiratoryRateSleepSummary parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RespiratoryRateSleepSummary parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RespiratoryRateSleepSummary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RespiratoryRateSleepSummary parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RespiratoryRateSleepSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RespiratoryRateSleepSummary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RespiratoryRateSleepSummary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RespiratoryRateSleepSummary parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RespiratoryRateSleepSummary parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RespiratoryRateSleepSummary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RespiratoryRateSleepSummary.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-