public final class DailyHeartRateVariability extends GeneratedMessage implements DailyHeartRateVariabilityOrBuilder
Represents the daily heart rate variability data type.
At least one of the following fields must be set:
average_heart_rate_variability_milliseconds
non_rem_heart_rate_beats_per_minute
entropy
deep_sleep_root_mean_square_of_successive_differences_milliseconds
Protobuf type google.devicesandservices.health.v4.DailyHeartRateVariability
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_HEART_RATE_VARIABILITY_MILLISECONDS_FIELD_NUMBER
public static final int AVERAGE_HEART_RATE_VARIABILITY_MILLISECONDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DATE_FIELD_NUMBER
public static final int DATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DEEP_SLEEP_ROOT_MEAN_SQUARE_OF_SUCCESSIVE_DIFFERENCES_MILLISECONDS_FIELD_NUMBER
public static final int DEEP_SLEEP_ROOT_MEAN_SQUARE_OF_SUCCESSIVE_DIFFERENCES_MILLISECONDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENTROPY_FIELD_NUMBER
public static final int ENTROPY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NON_REM_HEART_RATE_BEATS_PER_MINUTE_FIELD_NUMBER
public static final int NON_REM_HEART_RATE_BEATS_PER_MINUTE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DailyHeartRateVariability getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DailyHeartRateVariability.Builder newBuilder()
newBuilder(DailyHeartRateVariability prototype)
public static DailyHeartRateVariability.Builder newBuilder(DailyHeartRateVariability prototype)
public static DailyHeartRateVariability parseDelimitedFrom(InputStream input)
public static DailyHeartRateVariability parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DailyHeartRateVariability parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DailyHeartRateVariability parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DailyHeartRateVariability parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DailyHeartRateVariability parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DailyHeartRateVariability parseFrom(CodedInputStream input)
public static DailyHeartRateVariability parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DailyHeartRateVariability parseFrom(InputStream input)
public static DailyHeartRateVariability parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DailyHeartRateVariability parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DailyHeartRateVariability parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DailyHeartRateVariability> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAverageHeartRateVariabilityMilliseconds()
public double getAverageHeartRateVariabilityMilliseconds()
Optional. A user's average heart rate variability calculated using the root
mean square of successive differences (RMSSD) in times between heartbeats.
optional double average_heart_rate_variability_milliseconds = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
double |
The averageHeartRateVariabilityMilliseconds.
|
getDate()
Required. Date (in the user's timezone) of heart rate variability
measurement.
.google.type.Date date = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
com.google.type.Date |
The date.
|
getDateOrBuilder()
public DateOrBuilder getDateOrBuilder()
Required. Date (in the user's timezone) of heart rate variability
measurement.
.google.type.Date date = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
com.google.type.DateOrBuilder |
|
getDeepSleepRootMeanSquareOfSuccessiveDifferencesMilliseconds()
public double getDeepSleepRootMeanSquareOfSuccessiveDifferencesMilliseconds()
Optional. The root mean square of successive differences (RMSSD) value
during deep sleep.
optional double deep_sleep_root_mean_square_of_successive_differences_milliseconds = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
double |
The deepSleepRootMeanSquareOfSuccessiveDifferencesMilliseconds.
|
getDefaultInstanceForType()
public DailyHeartRateVariability getDefaultInstanceForType()
getEntropy()
public double getEntropy()
Optional. The Shanon entropy of heartbeat intervals.
Entropy quantifies randomness or disorder in a system. High entropy
indicates high HRV. Entropy is measured from the histogram of time interval
between successive heart beats values measured during sleep.
optional double entropy = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
double |
The entropy.
|
getNonRemHeartRateBeatsPerMinute()
public long getNonRemHeartRateBeatsPerMinute()
Optional. Non-REM heart rate
optional int64 non_rem_heart_rate_beats_per_minute = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The nonRemHeartRateBeatsPerMinute.
|
getParserForType()
public Parser<DailyHeartRateVariability> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasAverageHeartRateVariabilityMilliseconds()
public boolean hasAverageHeartRateVariabilityMilliseconds()
Optional. A user's average heart rate variability calculated using the root
mean square of successive differences (RMSSD) in times between heartbeats.
optional double average_heart_rate_variability_milliseconds = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the averageHeartRateVariabilityMilliseconds field is set.
|
hasDate()
Required. Date (in the user's timezone) of heart rate variability
measurement.
.google.type.Date date = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the date field is set.
|
hasDeepSleepRootMeanSquareOfSuccessiveDifferencesMilliseconds()
public boolean hasDeepSleepRootMeanSquareOfSuccessiveDifferencesMilliseconds()
Optional. The root mean square of successive differences (RMSSD) value
during deep sleep.
optional double deep_sleep_root_mean_square_of_successive_differences_milliseconds = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the deepSleepRootMeanSquareOfSuccessiveDifferencesMilliseconds field is set.
|
hasEntropy()
public boolean hasEntropy()
Optional. The Shanon entropy of heartbeat intervals.
Entropy quantifies randomness or disorder in a system. High entropy
indicates high HRV. Entropy is measured from the histogram of time interval
between successive heart beats values measured during sleep.
optional double entropy = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the entropy field is set.
|
hasNonRemHeartRateBeatsPerMinute()
public boolean hasNonRemHeartRateBeatsPerMinute()
Optional. Non-REM heart rate
optional int64 non_rem_heart_rate_beats_per_minute = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the nonRemHeartRateBeatsPerMinute field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DailyHeartRateVariability.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DailyHeartRateVariability.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DailyHeartRateVariability.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides