Interface HeartRate.HeartRateMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HeartRate.HeartRateMetadata,HeartRate.HeartRateMetadata.Builder
- Enclosing class:
- HeartRate
public static interface HeartRate.HeartRateMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.intOptional.Optional.intOptional.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
-
getMotionContextValue
int getMotionContextValue()Optional. Indicates the user’s level of activity when the heart rate sample was measured
.google.devicesandservices.health.v4.HeartRate.HeartRateMetadata.MotionContext motion_context = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for motionContext.
-
getMotionContext
HeartRate.HeartRateMetadata.MotionContext getMotionContext()Optional. Indicates the user’s level of activity when the heart rate sample was measured
.google.devicesandservices.health.v4.HeartRate.HeartRateMetadata.MotionContext motion_context = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The motionContext.
-
getSensorLocationValue
int getSensorLocationValue()Optional. Indicates the location of the sensor that measured the heart rate.
.google.devicesandservices.health.v4.HeartRate.HeartRateMetadata.SensorLocation sensor_location = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for sensorLocation.
-
getSensorLocation
HeartRate.HeartRateMetadata.SensorLocation getSensorLocation()Optional. Indicates the location of the sensor that measured the heart rate.
.google.devicesandservices.health.v4.HeartRate.HeartRateMetadata.SensorLocation sensor_location = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The sensorLocation.
-