public final class DailyOxygenSaturation extends GeneratedMessage implements DailyOxygenSaturationOrBuilder
A daily oxygen saturation (SpO2) record.
Represents the user's daily oxygen saturation summary, typically calculated
during sleep.
Protobuf type google.devicesandservices.health.v4.DailyOxygenSaturation
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
AVERAGE_PERCENTAGE_FIELD_NUMBER
public static final int AVERAGE_PERCENTAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DATE_FIELD_NUMBER
public static final int DATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LOWER_BOUND_PERCENTAGE_FIELD_NUMBER
public static final int LOWER_BOUND_PERCENTAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STANDARD_DEVIATION_PERCENTAGE_FIELD_NUMBER
public static final int STANDARD_DEVIATION_PERCENTAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UPPER_BOUND_PERCENTAGE_FIELD_NUMBER
public static final int UPPER_BOUND_PERCENTAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DailyOxygenSaturation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DailyOxygenSaturation.Builder newBuilder()
newBuilder(DailyOxygenSaturation prototype)
public static DailyOxygenSaturation.Builder newBuilder(DailyOxygenSaturation prototype)
public static DailyOxygenSaturation parseDelimitedFrom(InputStream input)
public static DailyOxygenSaturation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DailyOxygenSaturation parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DailyOxygenSaturation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DailyOxygenSaturation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DailyOxygenSaturation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DailyOxygenSaturation parseFrom(CodedInputStream input)
public static DailyOxygenSaturation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DailyOxygenSaturation parseFrom(InputStream input)
public static DailyOxygenSaturation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DailyOxygenSaturation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DailyOxygenSaturation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DailyOxygenSaturation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAveragePercentage()
public double getAveragePercentage()
Required. The average value of the oxygen saturation samples during the
sleep.
optional double average_percentage = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
double |
The averagePercentage.
|
getDate()
Required. Date (in user's timezone) of the daily oxygen saturation record.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
com.google.type.Date |
The date.
|
getDateOrBuilder()
public DateOrBuilder getDateOrBuilder()
Required. Date (in user's timezone) of the daily oxygen saturation record.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
com.google.type.DateOrBuilder |
|
getDefaultInstanceForType()
public DailyOxygenSaturation getDefaultInstanceForType()
getLowerBoundPercentage()
public double getLowerBoundPercentage()
Required. The lower bound of the confidence interval of oxygen saturation
samples during sleep.
optional double lower_bound_percentage = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
double |
The lowerBoundPercentage.
|
getParserForType()
public Parser<DailyOxygenSaturation> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStandardDeviationPercentage()
public double getStandardDeviationPercentage()
Optional. Standard deviation of the daily oxygen saturation averages from
the past 7-30 days.
optional double standard_deviation_percentage = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
double |
The standardDeviationPercentage.
|
getUpperBoundPercentage()
public double getUpperBoundPercentage()
Required. The upper bound of the confidence interval of oxygen saturation
samples during sleep.
optional double upper_bound_percentage = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
double |
The upperBoundPercentage.
|
hasAveragePercentage()
public boolean hasAveragePercentage()
Required. The average value of the oxygen saturation samples during the
sleep.
optional double average_percentage = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the averagePercentage field is set.
|
hasDate()
Required. Date (in user's timezone) of the daily oxygen saturation record.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the date field is set.
|
hasLowerBoundPercentage()
public boolean hasLowerBoundPercentage()
Required. The lower bound of the confidence interval of oxygen saturation
samples during sleep.
optional double lower_bound_percentage = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the lowerBoundPercentage field is set.
|
hasStandardDeviationPercentage()
public boolean hasStandardDeviationPercentage()
Optional. Standard deviation of the daily oxygen saturation averages from
the past 7-30 days.
optional double standard_deviation_percentage = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the standardDeviationPercentage field is set.
|
hasUpperBoundPercentage()
public boolean hasUpperBoundPercentage()
Required. The upper bound of the confidence interval of oxygen saturation
samples during sleep.
optional double upper_bound_percentage = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the upperBoundPercentage field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DailyOxygenSaturation.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DailyOxygenSaturation.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DailyOxygenSaturation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides