Enum VO2Max.MeasurementMethod
java.lang.Object
java.lang.Enum<VO2Max.MeasurementMethod>
com.google.devicesandservices.health.v4.VO2Max.MeasurementMethod
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<VO2Max.MeasurementMethod>
- Enclosing class:
- VO2Max
public static enum VO2Max.MeasurementMethod
extends Enum<VO2Max.MeasurementMethod>
implements com.google.protobuf.ProtocolMessageEnum
Measurement method used to measure the VO2 max value.Protobuf enum
google.devicesandservices.health.v4.VO2Max.MeasurementMethod-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRun as far as possible for 12 minutes.Fitbit specific, measures VO2 max rate during a run.Google specific, measures VO2 max rate for a user based on their demographic data.Maximum heart rate divided by the resting heart rate, with a multiplier applied.Healthkit specific, measures VO2 max rate by monitoring exercise to the user’s physical limit.Unspecified measurement method.Measured by a medical device called metabolic cart.Continuous 20m back-and-forth runs with increasing difficulty, until exhaustion.Use when the method is not covered in this enum.Healthkit specific, estimates VO2 max rate without any exercise.Healthkit specific, estimates VO2 max rate based on low-intensity exercise.Measured using walking exercise. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRun as far as possible for 12 minutes.static final intFitbit specific, measures VO2 max rate during a run.static final intGoogle specific, measures VO2 max rate for a user based on their demographic data.static final intMaximum heart rate divided by the resting heart rate, with a multiplier applied.static final intHealthkit specific, measures VO2 max rate by monitoring exercise to the user’s physical limit.static final intUnspecified measurement method.static final intMeasured by a medical device called metabolic cart.static final intContinuous 20m back-and-forth runs with increasing difficulty, until exhaustion.static final intUse when the method is not covered in this enum.static final intHealthkit specific, estimates VO2 max rate without any exercise.static final intHealthkit specific, estimates VO2 max rate based on low-intensity exercise.static final intMeasured using walking exercise. -
Method Summary
Modifier and TypeMethodDescriptionstatic VO2Max.MeasurementMethodforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<VO2Max.MeasurementMethod>static VO2Max.MeasurementMethodvalueOf(int value) Deprecated.static VO2Max.MeasurementMethodvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static VO2Max.MeasurementMethodReturns the enum constant of this type with the specified name.static VO2Max.MeasurementMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MEASUREMENT_METHOD_UNSPECIFIED
Unspecified measurement method.
MEASUREMENT_METHOD_UNSPECIFIED = 0; -
FITBIT_RUN
Fitbit specific, measures VO2 max rate during a run.
FITBIT_RUN = 1; -
GOOGLE_DEMOGRAPHIC
Google specific, measures VO2 max rate for a user based on their demographic data.
GOOGLE_DEMOGRAPHIC = 2; -
COOPER_TEST
Run as far as possible for 12 minutes. Distance correlated with age and gender translates to a VO2 max value.
COOPER_TEST = 3; -
HEART_RATE_RATIO
Maximum heart rate divided by the resting heart rate, with a multiplier applied. Does not require any exercise.
HEART_RATE_RATIO = 4; -
METABOLIC_CART
Measured by a medical device called metabolic cart.
METABOLIC_CART = 5; -
MULTISTAGE_FITNESS_TEST
Continuous 20m back-and-forth runs with increasing difficulty, until exhaustion.
MULTISTAGE_FITNESS_TEST = 6; -
ROCKPORT_FITNESS_TEST
Measured using walking exercise.
ROCKPORT_FITNESS_TEST = 7; -
MAX_EXERCISE
Healthkit specific, measures VO2 max rate by monitoring exercise to the user’s physical limit. Similar to COOPER_TEST or MULTISTAGE_FITNESS_TEST.
MAX_EXERCISE = 8; -
PREDICTION_SUB_MAX_EXERCISE
Healthkit specific, estimates VO2 max rate based on low-intensity exercise. Similar to ROCKPORT_FITNESS_TEST.
PREDICTION_SUB_MAX_EXERCISE = 9; -
PREDICTION_NON_EXERCISE
Healthkit specific, estimates VO2 max rate without any exercise. Similar to HEART_RATE_RATIO.
PREDICTION_NON_EXERCISE = 10; -
OTHER
Use when the method is not covered in this enum.
OTHER = 11; -
UNRECOGNIZED
-
-
Field Details
-
MEASUREMENT_METHOD_UNSPECIFIED_VALUE
public static final int MEASUREMENT_METHOD_UNSPECIFIED_VALUEUnspecified measurement method.
MEASUREMENT_METHOD_UNSPECIFIED = 0;- See Also:
-
FITBIT_RUN_VALUE
public static final int FITBIT_RUN_VALUEFitbit specific, measures VO2 max rate during a run.
FITBIT_RUN = 1;- See Also:
-
GOOGLE_DEMOGRAPHIC_VALUE
public static final int GOOGLE_DEMOGRAPHIC_VALUEGoogle specific, measures VO2 max rate for a user based on their demographic data.
GOOGLE_DEMOGRAPHIC = 2;- See Also:
-
COOPER_TEST_VALUE
public static final int COOPER_TEST_VALUERun as far as possible for 12 minutes. Distance correlated with age and gender translates to a VO2 max value.
COOPER_TEST = 3;- See Also:
-
HEART_RATE_RATIO_VALUE
public static final int HEART_RATE_RATIO_VALUEMaximum heart rate divided by the resting heart rate, with a multiplier applied. Does not require any exercise.
HEART_RATE_RATIO = 4;- See Also:
-
METABOLIC_CART_VALUE
public static final int METABOLIC_CART_VALUEMeasured by a medical device called metabolic cart.
METABOLIC_CART = 5;- See Also:
-
MULTISTAGE_FITNESS_TEST_VALUE
public static final int MULTISTAGE_FITNESS_TEST_VALUEContinuous 20m back-and-forth runs with increasing difficulty, until exhaustion.
MULTISTAGE_FITNESS_TEST = 6;- See Also:
-
ROCKPORT_FITNESS_TEST_VALUE
public static final int ROCKPORT_FITNESS_TEST_VALUEMeasured using walking exercise.
ROCKPORT_FITNESS_TEST = 7;- See Also:
-
MAX_EXERCISE_VALUE
public static final int MAX_EXERCISE_VALUEHealthkit specific, measures VO2 max rate by monitoring exercise to the user’s physical limit. Similar to COOPER_TEST or MULTISTAGE_FITNESS_TEST.
MAX_EXERCISE = 8;- See Also:
-
PREDICTION_SUB_MAX_EXERCISE_VALUE
public static final int PREDICTION_SUB_MAX_EXERCISE_VALUEHealthkit specific, estimates VO2 max rate based on low-intensity exercise. Similar to ROCKPORT_FITNESS_TEST.
PREDICTION_SUB_MAX_EXERCISE = 9;- See Also:
-
PREDICTION_NON_EXERCISE_VALUE
public static final int PREDICTION_NON_EXERCISE_VALUEHealthkit specific, estimates VO2 max rate without any exercise. Similar to HEART_RATE_RATIO.
PREDICTION_NON_EXERCISE = 10;- See Also:
-
OTHER_VALUE
public static final int OTHER_VALUEUse when the method is not covered in this enum.
OTHER = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<VO2Max.MeasurementMethod> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static VO2Max.MeasurementMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-