Interface Sleep.SleepMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Sleep.SleepMetadata,Sleep.SleepMetadata.Builder
- Enclosing class:
- Sleep
public static interface Sleep.SleepMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.booleanOutput only.booleangetNap()Output only.booleanOutput only.Output only.intOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStagesStatusValue
int getStagesStatusValue()Output only. Sleep stages algorithm processing status.
.google.devicesandservices.health.v4.Sleep.SleepMetadata.StagesState stages_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for stagesStatus.
-
getStagesStatus
Sleep.SleepMetadata.StagesState getStagesStatus()Output only. Sleep stages algorithm processing status.
.google.devicesandservices.health.v4.Sleep.SleepMetadata.StagesState stages_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The stagesStatus.
-
getProcessed
boolean getProcessed()Output only. Sleep and sleep stages algorithms finished processing.
bool processed = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The processed.
-
getNap
boolean getNap()Output only. Naps are sleeps without stages and relatively short durations.
bool nap = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The nap.
-
getManuallyEdited
boolean getManuallyEdited()Output only. Some sleeps autodetected by algorithms can be manually edited by users.
bool manually_edited = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The manuallyEdited.
-
getExternalId
String getExternalId()Optional. Sleep identifier relevant in the context of the data source.
string external_id = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The externalId.
-
getExternalIdBytes
com.google.protobuf.ByteString getExternalIdBytes()Optional. Sleep identifier relevant in the context of the data source.
string external_id = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for externalId.
-