Interface Sleep.SleepSummary.StageSummaryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Sleep.SleepSummary.StageSummary,Sleep.SleepSummary.StageSummary.Builder
- Enclosing class:
- Sleep.SleepSummary
public static interface Sleep.SleepSummary.StageSummaryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
getTypeValue
int getTypeValue()Output only. Sleep stage type: AWAKE, DEEP, REM, LIGHT etc.
.google.devicesandservices.health.v4.Sleep.SleepStageType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for type.
-
getType
Sleep.SleepStageType getType()Output only. Sleep stage type: AWAKE, DEEP, REM, LIGHT etc.
.google.devicesandservices.health.v4.Sleep.SleepStageType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The type.
-
getMinutes
long getMinutes()Output only. Total duration in minutes of a sleep stage.
int64 minutes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The minutes.
-
getCount
long getCount()Output only. Number of sleep stages segments.
int64 count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count.
-