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 Details

    • MEASUREMENT_METHOD_UNSPECIFIED

      public static final VO2Max.MeasurementMethod MEASUREMENT_METHOD_UNSPECIFIED
       Unspecified measurement method.
       
      MEASUREMENT_METHOD_UNSPECIFIED = 0;
    • FITBIT_RUN

      public static final VO2Max.MeasurementMethod FITBIT_RUN
       Fitbit specific, measures VO2 max rate during a run.
       
      FITBIT_RUN = 1;
    • GOOGLE_DEMOGRAPHIC

      public static final VO2Max.MeasurementMethod GOOGLE_DEMOGRAPHIC
       Google specific, measures VO2 max rate for a user based on their
       demographic data.
       
      GOOGLE_DEMOGRAPHIC = 2;
    • COOPER_TEST

      public static final VO2Max.MeasurementMethod 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

      public static final VO2Max.MeasurementMethod 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

      public static final VO2Max.MeasurementMethod METABOLIC_CART
       Measured by a medical device called metabolic cart.
       
      METABOLIC_CART = 5;
    • MULTISTAGE_FITNESS_TEST

      public static final VO2Max.MeasurementMethod MULTISTAGE_FITNESS_TEST
       Continuous 20m back-and-forth runs with increasing difficulty, until
       exhaustion.
       
      MULTISTAGE_FITNESS_TEST = 6;
    • ROCKPORT_FITNESS_TEST

      public static final VO2Max.MeasurementMethod ROCKPORT_FITNESS_TEST
       Measured using walking exercise.
       
      ROCKPORT_FITNESS_TEST = 7;
    • MAX_EXERCISE

      public static final VO2Max.MeasurementMethod 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

      public static final VO2Max.MeasurementMethod 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

      public static final VO2Max.MeasurementMethod PREDICTION_NON_EXERCISE
       Healthkit specific, estimates VO2 max rate without any exercise.
       Similar to HEART_RATE_RATIO.
       
      PREDICTION_NON_EXERCISE = 10;
    • OTHER

      public static final VO2Max.MeasurementMethod OTHER
       Use when the method is not covered in this enum.
       
      OTHER = 11;
    • UNRECOGNIZED

      public static final VO2Max.MeasurementMethod UNRECOGNIZED
  • Field Details

    • MEASUREMENT_METHOD_UNSPECIFIED_VALUE

      public static final int MEASUREMENT_METHOD_UNSPECIFIED_VALUE
       Unspecified measurement method.
       
      MEASUREMENT_METHOD_UNSPECIFIED = 0;
      See Also:
    • FITBIT_RUN_VALUE

      public static final int FITBIT_RUN_VALUE
       Fitbit specific, measures VO2 max rate during a run.
       
      FITBIT_RUN = 1;
      See Also:
    • GOOGLE_DEMOGRAPHIC_VALUE

      public static final int GOOGLE_DEMOGRAPHIC_VALUE
       Google 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_VALUE
       Run 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_VALUE
       Maximum 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_VALUE
       Measured by a medical device called metabolic cart.
       
      METABOLIC_CART = 5;
      See Also:
    • MULTISTAGE_FITNESS_TEST_VALUE

      public static final int MULTISTAGE_FITNESS_TEST_VALUE
       Continuous 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_VALUE
       Measured using walking exercise.
       
      ROCKPORT_FITNESS_TEST = 7;
      See Also:
    • MAX_EXERCISE_VALUE

      public static final int MAX_EXERCISE_VALUE
       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;
      See Also:
    • PREDICTION_SUB_MAX_EXERCISE_VALUE

      public static final int PREDICTION_SUB_MAX_EXERCISE_VALUE
       Healthkit 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_VALUE
       Healthkit 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_VALUE
       Use when the method is not covered in this enum.
       
      OTHER = 11;
      See Also:
  • Method Details

    • values

      public static VO2Max.MeasurementMethod[] 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

      public static VO2Max.MeasurementMethod valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static VO2Max.MeasurementMethod valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static VO2Max.MeasurementMethod forNumber(int value)
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null