public final class RespiratoryRateSleepSummary extends 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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DEEP_SLEEP_STATS_FIELD_NUMBER
public static final int DEEP_SLEEP_STATS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FULL_SLEEP_STATS_FIELD_NUMBER
public static final int FULL_SLEEP_STATS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LIGHT_SLEEP_STATS_FIELD_NUMBER
public static final int LIGHT_SLEEP_STATS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REM_SLEEP_STATS_FIELD_NUMBER
public static final int REM_SLEEP_STATS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SAMPLE_TIME_FIELD_NUMBER
public static final int SAMPLE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RespiratoryRateSleepSummary getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RespiratoryRateSleepSummary.Builder newBuilder()
newBuilder(RespiratoryRateSleepSummary prototype)
public static RespiratoryRateSleepSummary.Builder newBuilder(RespiratoryRateSleepSummary prototype)
public static RespiratoryRateSleepSummary parseDelimitedFrom(InputStream input)
public static RespiratoryRateSleepSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RespiratoryRateSleepSummary parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RespiratoryRateSleepSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RespiratoryRateSleepSummary parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RespiratoryRateSleepSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RespiratoryRateSleepSummary parseFrom(CodedInputStream input)
public static RespiratoryRateSleepSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RespiratoryRateSleepSummary parseFrom(InputStream input)
public static RespiratoryRateSleepSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RespiratoryRateSleepSummary parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RespiratoryRateSleepSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RespiratoryRateSleepSummary> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDeepSleepStats()
public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics getDeepSleepStats()
Optional. Respiratory rate statistics for deep sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics deep_sleep_stats = 2 [(.google.api.field_behavior) = OPTIONAL];
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];
getDefaultInstanceForType()
public RespiratoryRateSleepSummary getDefaultInstanceForType()
getFullSleepStats()
public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics getFullSleepStats()
Required. Full respiratory rate statistics.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics full_sleep_stats = 5 [(.google.api.field_behavior) = REQUIRED];
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];
getLightSleepStats()
public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics getLightSleepStats()
Optional. Respiratory rate statistics for light sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics light_sleep_stats = 3 [(.google.api.field_behavior) = OPTIONAL];
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];
getParserForType()
public Parser<RespiratoryRateSleepSummary> getParserForType()
Overrides
getRemSleepStats()
public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics getRemSleepStats()
Optional. Respiratory rate statistics for REM sleep.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics rem_sleep_stats = 4 [(.google.api.field_behavior) = OPTIONAL];
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];
getSampleTime()
public ObservationSampleTime getSampleTime()
Required. The time at which respiratory rate was measured.
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
getSampleTimeOrBuilder()
public ObservationSampleTimeOrBuilder getSampleTimeOrBuilder()
Required. The time at which respiratory rate was measured.
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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];
| Returns |
| Type |
Description |
boolean |
Whether the deepSleepStats field is set.
|
hasFullSleepStats()
public boolean hasFullSleepStats()
Required. Full respiratory rate statistics.
.google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics full_sleep_stats = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the fullSleepStats field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the lightSleepStats field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the remSleepStats field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the sampleTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RespiratoryRateSleepSummary.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RespiratoryRateSleepSummary.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public RespiratoryRateSleepSummary.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides