Class RollupDataPoint

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devicesandservices.health.v4.RollupDataPoint
All Implemented Interfaces:
RollupDataPointOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RollupDataPoint extends com.google.protobuf.GeneratedMessage implements RollupDataPointOrBuilder
 Value of a rollup for a single physical time interval (aggregation window)
 
Protobuf type google.devicesandservices.health.v4.RollupDataPoint
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Value of a rollup for a single physical time interval (aggregation window)
    static enum 
     

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Returned by default when rolling up data points from the `active-minutes` data type, or when requested explicitly using the `active-minutes` rollup type identifier.
    Returned by default when rolling up data points from the `active-minutes` data type, or when requested explicitly using the `active-minutes` rollup type identifier.
    Returned by default when rolling up data points from the `active-zone-minutes` data type, or when requested explicitly using the `active-zone-minutes` rollup type identifier.
    Returned by default when rolling up data points from the `active-zone-minutes` data type, or when requested explicitly using the `active-zone-minutes` rollup type identifier.
    Returned by default when rolling up data points from the `activity-level` data type, or when requested explicitly using the `activity-level` rollup type identifier.
    Returned by default when rolling up data points from the `activity-level` data type, or when requested explicitly using the `activity-level` rollup type identifier.
    Returned by default when rolling up data points from the `altitude` data type, or when requested explicitly using the `altitude` rollup type identifier.
    Returned by default when rolling up data points from the `altitude` data type, or when requested explicitly using the `altitude` rollup type identifier.
    Returned by default when rolling up data points from the `body-fat` data type, or when requested explicitly using the `body-fat` rollup type identifier.
    Returned by default when rolling up data points from the `body-fat` data type, or when requested explicitly using the `body-fat` rollup type identifier.
    Returned by default when rolling up data points from the `calories-in-heart-rate-zone` data type, or when requested explicitly using the `calories-in-heart-rate-zone` rollup type identifier.
    Returned by default when rolling up data points from the `calories-in-heart-rate-zone` data type, or when requested explicitly using the `calories-in-heart-rate-zone` rollup type identifier.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Returned by default when rolling up data points from the `distance` data type, or when requested explicitly using the `distance` rollup type identifier.
    Returned by default when rolling up data points from the `distance` data type, or when requested explicitly using the `distance` rollup type identifier.
    com.google.protobuf.Timestamp
    End time of the window this value aggregates over
    com.google.protobuf.TimestampOrBuilder
    End time of the window this value aggregates over
    Returned by default when rolling up data points from the `floors` data type, or when requested explicitly using the `floors` rollup type identifier.
    Returned by default when rolling up data points from the `floors` data type, or when requested explicitly using the `floors` rollup type identifier.
    Returned by default when rolling up data points from the `heart-rate` data type, or when requested explicitly using the `heart-rate` rollup type identifier.
    Returned by default when rolling up data points from the `heart-rate` data type, or when requested explicitly using the `heart-rate` rollup type identifier.
    Returned by default when rolling up data points from the `hydration-log` data type, or when requested explicitly using the `hydration-log` rollup type identifier.
    Returned by default when rolling up data points from the `hydration-log` data type, or when requested explicitly using the `hydration-log` rollup type identifier.
    com.google.protobuf.Parser<RollupDataPoint>
     
    Returned by default when rolling up data points from the `run-vo2-max` data type, or when requested explicitly using the `run-vo2-max` rollup type identifier.
    Returned by default when rolling up data points from the `run-vo2-max` data type, or when requested explicitly using the `run-vo2-max` rollup type identifier.
    Returned by default when rolling up data points from the `sedentary-period` data type, or when requested explicitly using the `sedentary-period` rollup type identifier.
    Returned by default when rolling up data points from the `sedentary-period` data type, or when requested explicitly using the `sedentary-period` rollup type identifier.
    int
     
    com.google.protobuf.Timestamp
    Start time of the window this value aggregates over
    com.google.protobuf.TimestampOrBuilder
    Start time of the window this value aggregates over
    Returned by default when rolling up data points from the `steps` data type, or when requested explicitly using the `steps` rollup type identifier.
    Returned by default when rolling up data points from the `steps` data type, or when requested explicitly using the `steps` rollup type identifier.
    Returned by default when rolling up data points from the `swim-lengths-data` data type, or when requested explicitly using the `swim-lengths-data` rollup type identifier.
    Returned by default when rolling up data points from the `swim-lengths-data` data type, or when requested explicitly using the `swim-lengths-data` rollup type identifier.
    Returned by default when rolling up data points from the `time-in-heart-rate-zone` data type, or when requested explicitly using the `time-in-heart-rate-zone` rollup type identifier.
    Returned by default when rolling up data points from the `time-in-heart-rate-zone` data type, or when requested explicitly using the `time-in-heart-rate-zone` rollup type identifier.
    Returned by default when rolling up data points from the `total-calories` data type, or when requested explicitly using the `total-calories` rollup type identifier.
    Returned by default when rolling up data points from the `total-calories` data type, or when requested explicitly using the `total-calories` rollup type identifier.
     
    Returned by default when rolling up data points from the `weight` data type, or when requested explicitly using the `weight` rollup type identifier.
    Returned by default when rolling up data points from the `weight` data type, or when requested explicitly using the `weight` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `active-minutes` data type, or when requested explicitly using the `active-minutes` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `active-zone-minutes` data type, or when requested explicitly using the `active-zone-minutes` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `activity-level` data type, or when requested explicitly using the `activity-level` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `altitude` data type, or when requested explicitly using the `altitude` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `body-fat` data type, or when requested explicitly using the `body-fat` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `calories-in-heart-rate-zone` data type, or when requested explicitly using the `calories-in-heart-rate-zone` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `distance` data type, or when requested explicitly using the `distance` rollup type identifier.
    boolean
    End time of the window this value aggregates over
    boolean
    Returned by default when rolling up data points from the `floors` data type, or when requested explicitly using the `floors` rollup type identifier.
    int
     
    boolean
    Returned by default when rolling up data points from the `heart-rate` data type, or when requested explicitly using the `heart-rate` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `hydration-log` data type, or when requested explicitly using the `hydration-log` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `run-vo2-max` data type, or when requested explicitly using the `run-vo2-max` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `sedentary-period` data type, or when requested explicitly using the `sedentary-period` rollup type identifier.
    boolean
    Start time of the window this value aggregates over
    boolean
    Returned by default when rolling up data points from the `steps` data type, or when requested explicitly using the `steps` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `swim-lengths-data` data type, or when requested explicitly using the `swim-lengths-data` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `time-in-heart-rate-zone` data type, or when requested explicitly using the `time-in-heart-rate-zone` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `total-calories` data type, or when requested explicitly using the `total-calories` rollup type identifier.
    boolean
    Returned by default when rolling up data points from the `weight` data type, or when requested explicitly using the `weight` rollup type identifier.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<RollupDataPoint>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • STEPS_FIELD_NUMBER

      public static final int STEPS_FIELD_NUMBER
      See Also:
    • FLOORS_FIELD_NUMBER

      public static final int FLOORS_FIELD_NUMBER
      See Also:
    • HEART_RATE_FIELD_NUMBER

      public static final int HEART_RATE_FIELD_NUMBER
      See Also:
    • WEIGHT_FIELD_NUMBER

      public static final int WEIGHT_FIELD_NUMBER
      See Also:
    • ALTITUDE_FIELD_NUMBER

      public static final int ALTITUDE_FIELD_NUMBER
      See Also:
    • DISTANCE_FIELD_NUMBER

      public static final int DISTANCE_FIELD_NUMBER
      See Also:
    • BODY_FAT_FIELD_NUMBER

      public static final int BODY_FAT_FIELD_NUMBER
      See Also:
    • TOTAL_CALORIES_FIELD_NUMBER

      public static final int TOTAL_CALORIES_FIELD_NUMBER
      See Also:
    • ACTIVE_ZONE_MINUTES_FIELD_NUMBER

      public static final int ACTIVE_ZONE_MINUTES_FIELD_NUMBER
      See Also:
    • SEDENTARY_PERIOD_FIELD_NUMBER

      public static final int SEDENTARY_PERIOD_FIELD_NUMBER
      See Also:
    • RUN_VO2_MAX_FIELD_NUMBER

      public static final int RUN_VO2_MAX_FIELD_NUMBER
      See Also:
    • CALORIES_IN_HEART_RATE_ZONE_FIELD_NUMBER

      public static final int CALORIES_IN_HEART_RATE_ZONE_FIELD_NUMBER
      See Also:
    • ACTIVITY_LEVEL_FIELD_NUMBER

      public static final int ACTIVITY_LEVEL_FIELD_NUMBER
      See Also:
    • HYDRATION_LOG_FIELD_NUMBER

      public static final int HYDRATION_LOG_FIELD_NUMBER
      See Also:
    • TIME_IN_HEART_RATE_ZONE_FIELD_NUMBER

      public static final int TIME_IN_HEART_RATE_ZONE_FIELD_NUMBER
      See Also:
    • ACTIVE_MINUTES_FIELD_NUMBER

      public static final int ACTIVE_MINUTES_FIELD_NUMBER
      See Also:
    • SWIM_LENGTHS_DATA_FIELD_NUMBER

      public static final int SWIM_LENGTHS_DATA_FIELD_NUMBER
      See Also:
    • START_TIME_FIELD_NUMBER

      public static final int START_TIME_FIELD_NUMBER
      See Also:
    • END_TIME_FIELD_NUMBER

      public static final int END_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getValueCase

      public RollupDataPoint.ValueCase getValueCase()
      Specified by:
      getValueCase in interface RollupDataPointOrBuilder
    • hasSteps

      public boolean hasSteps()
       Returned by default when rolling up data points from the `steps` data
       type, or when requested explicitly using the `steps` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.StepsRollupValue steps = 5;
      Specified by:
      hasSteps in interface RollupDataPointOrBuilder
      Returns:
      Whether the steps field is set.
    • getSteps

      public StepsRollupValue getSteps()
       Returned by default when rolling up data points from the `steps` data
       type, or when requested explicitly using the `steps` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.StepsRollupValue steps = 5;
      Specified by:
      getSteps in interface RollupDataPointOrBuilder
      Returns:
      The steps.
    • getStepsOrBuilder

      public StepsRollupValueOrBuilder getStepsOrBuilder()
       Returned by default when rolling up data points from the `steps` data
       type, or when requested explicitly using the `steps` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.StepsRollupValue steps = 5;
      Specified by:
      getStepsOrBuilder in interface RollupDataPointOrBuilder
    • hasFloors

      public boolean hasFloors()
       Returned by default when rolling up data points from the `floors` data
       type, or when requested explicitly using the `floors` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.FloorsRollupValue floors = 6;
      Specified by:
      hasFloors in interface RollupDataPointOrBuilder
      Returns:
      Whether the floors field is set.
    • getFloors

      public FloorsRollupValue getFloors()
       Returned by default when rolling up data points from the `floors` data
       type, or when requested explicitly using the `floors` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.FloorsRollupValue floors = 6;
      Specified by:
      getFloors in interface RollupDataPointOrBuilder
      Returns:
      The floors.
    • getFloorsOrBuilder

      public FloorsRollupValueOrBuilder getFloorsOrBuilder()
       Returned by default when rolling up data points from the `floors` data
       type, or when requested explicitly using the `floors` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.FloorsRollupValue floors = 6;
      Specified by:
      getFloorsOrBuilder in interface RollupDataPointOrBuilder
    • hasHeartRate

      public boolean hasHeartRate()
       Returned by default when rolling up data points from the `heart-rate`
       data type, or when requested explicitly using the `heart-rate` rollup
       type identifier.
       
      .google.devicesandservices.health.v4.HeartRateRollupValue heart_rate = 7;
      Specified by:
      hasHeartRate in interface RollupDataPointOrBuilder
      Returns:
      Whether the heartRate field is set.
    • getHeartRate

      public HeartRateRollupValue getHeartRate()
       Returned by default when rolling up data points from the `heart-rate`
       data type, or when requested explicitly using the `heart-rate` rollup
       type identifier.
       
      .google.devicesandservices.health.v4.HeartRateRollupValue heart_rate = 7;
      Specified by:
      getHeartRate in interface RollupDataPointOrBuilder
      Returns:
      The heartRate.
    • getHeartRateOrBuilder

      public HeartRateRollupValueOrBuilder getHeartRateOrBuilder()
       Returned by default when rolling up data points from the `heart-rate`
       data type, or when requested explicitly using the `heart-rate` rollup
       type identifier.
       
      .google.devicesandservices.health.v4.HeartRateRollupValue heart_rate = 7;
      Specified by:
      getHeartRateOrBuilder in interface RollupDataPointOrBuilder
    • hasWeight

      public boolean hasWeight()
       Returned by default when rolling up data points from the `weight` data
       type, or when requested explicitly using the `weight` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.WeightRollupValue weight = 8;
      Specified by:
      hasWeight in interface RollupDataPointOrBuilder
      Returns:
      Whether the weight field is set.
    • getWeight

      public WeightRollupValue getWeight()
       Returned by default when rolling up data points from the `weight` data
       type, or when requested explicitly using the `weight` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.WeightRollupValue weight = 8;
      Specified by:
      getWeight in interface RollupDataPointOrBuilder
      Returns:
      The weight.
    • getWeightOrBuilder

      public WeightRollupValueOrBuilder getWeightOrBuilder()
       Returned by default when rolling up data points from the `weight` data
       type, or when requested explicitly using the `weight` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.WeightRollupValue weight = 8;
      Specified by:
      getWeightOrBuilder in interface RollupDataPointOrBuilder
    • hasAltitude

      public boolean hasAltitude()
       Returned by default when rolling up data points from the `altitude` data
       type, or when requested explicitly using the `altitude` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.AltitudeRollupValue altitude = 9;
      Specified by:
      hasAltitude in interface RollupDataPointOrBuilder
      Returns:
      Whether the altitude field is set.
    • getAltitude

      public AltitudeRollupValue getAltitude()
       Returned by default when rolling up data points from the `altitude` data
       type, or when requested explicitly using the `altitude` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.AltitudeRollupValue altitude = 9;
      Specified by:
      getAltitude in interface RollupDataPointOrBuilder
      Returns:
      The altitude.
    • getAltitudeOrBuilder

      public AltitudeRollupValueOrBuilder getAltitudeOrBuilder()
       Returned by default when rolling up data points from the `altitude` data
       type, or when requested explicitly using the `altitude` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.AltitudeRollupValue altitude = 9;
      Specified by:
      getAltitudeOrBuilder in interface RollupDataPointOrBuilder
    • hasDistance

      public boolean hasDistance()
       Returned by default when rolling up data points from the `distance` data
       type, or when requested explicitly using the `distance` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.DistanceRollupValue distance = 10;
      Specified by:
      hasDistance in interface RollupDataPointOrBuilder
      Returns:
      Whether the distance field is set.
    • getDistance

      public DistanceRollupValue getDistance()
       Returned by default when rolling up data points from the `distance` data
       type, or when requested explicitly using the `distance` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.DistanceRollupValue distance = 10;
      Specified by:
      getDistance in interface RollupDataPointOrBuilder
      Returns:
      The distance.
    • getDistanceOrBuilder

      public DistanceRollupValueOrBuilder getDistanceOrBuilder()
       Returned by default when rolling up data points from the `distance` data
       type, or when requested explicitly using the `distance` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.DistanceRollupValue distance = 10;
      Specified by:
      getDistanceOrBuilder in interface RollupDataPointOrBuilder
    • hasBodyFat

      public boolean hasBodyFat()
       Returned by default when rolling up data points from the `body-fat` data
       type, or when requested explicitly using the `body-fat` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.BodyFatRollupValue body_fat = 11;
      Specified by:
      hasBodyFat in interface RollupDataPointOrBuilder
      Returns:
      Whether the bodyFat field is set.
    • getBodyFat

      public BodyFatRollupValue getBodyFat()
       Returned by default when rolling up data points from the `body-fat` data
       type, or when requested explicitly using the `body-fat` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.BodyFatRollupValue body_fat = 11;
      Specified by:
      getBodyFat in interface RollupDataPointOrBuilder
      Returns:
      The bodyFat.
    • getBodyFatOrBuilder

      public BodyFatRollupValueOrBuilder getBodyFatOrBuilder()
       Returned by default when rolling up data points from the `body-fat` data
       type, or when requested explicitly using the `body-fat` rollup type
       identifier.
       
      .google.devicesandservices.health.v4.BodyFatRollupValue body_fat = 11;
      Specified by:
      getBodyFatOrBuilder in interface RollupDataPointOrBuilder
    • hasTotalCalories

      public boolean hasTotalCalories()
       Returned by default when rolling up data points from the `total-calories`
       data type, or when requested explicitly using the `total-calories`
       rollup type identifier.
       
      .google.devicesandservices.health.v4.TotalCaloriesRollupValue total_calories = 12;
      Specified by:
      hasTotalCalories in interface RollupDataPointOrBuilder
      Returns:
      Whether the totalCalories field is set.
    • getTotalCalories

      public TotalCaloriesRollupValue getTotalCalories()
       Returned by default when rolling up data points from the `total-calories`
       data type, or when requested explicitly using the `total-calories`
       rollup type identifier.
       
      .google.devicesandservices.health.v4.TotalCaloriesRollupValue total_calories = 12;
      Specified by:
      getTotalCalories in interface RollupDataPointOrBuilder
      Returns:
      The totalCalories.
    • getTotalCaloriesOrBuilder

      public TotalCaloriesRollupValueOrBuilder getTotalCaloriesOrBuilder()
       Returned by default when rolling up data points from the `total-calories`
       data type, or when requested explicitly using the `total-calories`
       rollup type identifier.
       
      .google.devicesandservices.health.v4.TotalCaloriesRollupValue total_calories = 12;
      Specified by:
      getTotalCaloriesOrBuilder in interface RollupDataPointOrBuilder
    • hasActiveZoneMinutes

      public boolean hasActiveZoneMinutes()
       Returned by default when rolling up data points from the
       `active-zone-minutes` data type, or when requested explicitly using the
       `active-zone-minutes` rollup type identifier.
       
      .google.devicesandservices.health.v4.ActiveZoneMinutesRollupValue active_zone_minutes = 13;
      Specified by:
      hasActiveZoneMinutes in interface RollupDataPointOrBuilder
      Returns:
      Whether the activeZoneMinutes field is set.
    • getActiveZoneMinutes

      public ActiveZoneMinutesRollupValue getActiveZoneMinutes()
       Returned by default when rolling up data points from the
       `active-zone-minutes` data type, or when requested explicitly using the
       `active-zone-minutes` rollup type identifier.
       
      .google.devicesandservices.health.v4.ActiveZoneMinutesRollupValue active_zone_minutes = 13;
      Specified by:
      getActiveZoneMinutes in interface RollupDataPointOrBuilder
      Returns:
      The activeZoneMinutes.
    • getActiveZoneMinutesOrBuilder

      public ActiveZoneMinutesRollupValueOrBuilder getActiveZoneMinutesOrBuilder()
       Returned by default when rolling up data points from the
       `active-zone-minutes` data type, or when requested explicitly using the
       `active-zone-minutes` rollup type identifier.
       
      .google.devicesandservices.health.v4.ActiveZoneMinutesRollupValue active_zone_minutes = 13;
      Specified by:
      getActiveZoneMinutesOrBuilder in interface RollupDataPointOrBuilder
    • hasSedentaryPeriod

      public boolean hasSedentaryPeriod()
       Returned by default when rolling up data points from the
       `sedentary-period` data type, or when requested explicitly using the
       `sedentary-period` rollup type identifier.
       
      .google.devicesandservices.health.v4.SedentaryPeriodRollupValue sedentary_period = 15;
      Specified by:
      hasSedentaryPeriod in interface RollupDataPointOrBuilder
      Returns:
      Whether the sedentaryPeriod field is set.
    • getSedentaryPeriod

      public SedentaryPeriodRollupValue getSedentaryPeriod()
       Returned by default when rolling up data points from the
       `sedentary-period` data type, or when requested explicitly using the
       `sedentary-period` rollup type identifier.
       
      .google.devicesandservices.health.v4.SedentaryPeriodRollupValue sedentary_period = 15;
      Specified by:
      getSedentaryPeriod in interface RollupDataPointOrBuilder
      Returns:
      The sedentaryPeriod.
    • getSedentaryPeriodOrBuilder

      public SedentaryPeriodRollupValueOrBuilder getSedentaryPeriodOrBuilder()
       Returned by default when rolling up data points from the
       `sedentary-period` data type, or when requested explicitly using the
       `sedentary-period` rollup type identifier.
       
      .google.devicesandservices.health.v4.SedentaryPeriodRollupValue sedentary_period = 15;
      Specified by:
      getSedentaryPeriodOrBuilder in interface RollupDataPointOrBuilder
    • hasRunVo2Max

      public boolean hasRunVo2Max()
       Returned by default when rolling up data points from the
       `run-vo2-max` data type, or when requested explicitly using the
       `run-vo2-max` rollup type identifier.
       
      .google.devicesandservices.health.v4.RunVO2MaxRollupValue run_vo2_max = 16;
      Specified by:
      hasRunVo2Max in interface RollupDataPointOrBuilder
      Returns:
      Whether the runVo2Max field is set.
    • getRunVo2Max

      public RunVO2MaxRollupValue getRunVo2Max()
       Returned by default when rolling up data points from the
       `run-vo2-max` data type, or when requested explicitly using the
       `run-vo2-max` rollup type identifier.
       
      .google.devicesandservices.health.v4.RunVO2MaxRollupValue run_vo2_max = 16;
      Specified by:
      getRunVo2Max in interface RollupDataPointOrBuilder
      Returns:
      The runVo2Max.
    • getRunVo2MaxOrBuilder

      public RunVO2MaxRollupValueOrBuilder getRunVo2MaxOrBuilder()
       Returned by default when rolling up data points from the
       `run-vo2-max` data type, or when requested explicitly using the
       `run-vo2-max` rollup type identifier.
       
      .google.devicesandservices.health.v4.RunVO2MaxRollupValue run_vo2_max = 16;
      Specified by:
      getRunVo2MaxOrBuilder in interface RollupDataPointOrBuilder
    • hasCaloriesInHeartRateZone

      public boolean hasCaloriesInHeartRateZone()
       Returned by default when rolling up data points from the
       `calories-in-heart-rate-zone` data type, or when requested explicitly
       using the `calories-in-heart-rate-zone` rollup type identifier.
       
      .google.devicesandservices.health.v4.CaloriesInHeartRateZoneRollupValue calories_in_heart_rate_zone = 17;
      Specified by:
      hasCaloriesInHeartRateZone in interface RollupDataPointOrBuilder
      Returns:
      Whether the caloriesInHeartRateZone field is set.
    • getCaloriesInHeartRateZone

      public CaloriesInHeartRateZoneRollupValue getCaloriesInHeartRateZone()
       Returned by default when rolling up data points from the
       `calories-in-heart-rate-zone` data type, or when requested explicitly
       using the `calories-in-heart-rate-zone` rollup type identifier.
       
      .google.devicesandservices.health.v4.CaloriesInHeartRateZoneRollupValue calories_in_heart_rate_zone = 17;
      Specified by:
      getCaloriesInHeartRateZone in interface RollupDataPointOrBuilder
      Returns:
      The caloriesInHeartRateZone.
    • getCaloriesInHeartRateZoneOrBuilder

      public CaloriesInHeartRateZoneRollupValueOrBuilder getCaloriesInHeartRateZoneOrBuilder()
       Returned by default when rolling up data points from the
       `calories-in-heart-rate-zone` data type, or when requested explicitly
       using the `calories-in-heart-rate-zone` rollup type identifier.
       
      .google.devicesandservices.health.v4.CaloriesInHeartRateZoneRollupValue calories_in_heart_rate_zone = 17;
      Specified by:
      getCaloriesInHeartRateZoneOrBuilder in interface RollupDataPointOrBuilder
    • hasActivityLevel

      public boolean hasActivityLevel()
       Returned by default when rolling up data points from the
       `activity-level` data type, or when requested explicitly using the
       `activity-level` rollup type identifier.
       
      .google.devicesandservices.health.v4.ActivityLevelRollupValue activity_level = 18;
      Specified by:
      hasActivityLevel in interface RollupDataPointOrBuilder
      Returns:
      Whether the activityLevel field is set.
    • getActivityLevel

      public ActivityLevelRollupValue getActivityLevel()
       Returned by default when rolling up data points from the
       `activity-level` data type, or when requested explicitly using the
       `activity-level` rollup type identifier.
       
      .google.devicesandservices.health.v4.ActivityLevelRollupValue activity_level = 18;
      Specified by:
      getActivityLevel in interface RollupDataPointOrBuilder
      Returns:
      The activityLevel.
    • getActivityLevelOrBuilder

      public ActivityLevelRollupValueOrBuilder getActivityLevelOrBuilder()
       Returned by default when rolling up data points from the
       `activity-level` data type, or when requested explicitly using the
       `activity-level` rollup type identifier.
       
      .google.devicesandservices.health.v4.ActivityLevelRollupValue activity_level = 18;
      Specified by:
      getActivityLevelOrBuilder in interface RollupDataPointOrBuilder
    • hasHydrationLog

      public boolean hasHydrationLog()
       Returned by default when rolling up data points from the
       `hydration-log` data type, or when requested explicitly using the
       `hydration-log` rollup type identifier.
       
      .google.devicesandservices.health.v4.HydrationLogRollupValue hydration_log = 20;
      Specified by:
      hasHydrationLog in interface RollupDataPointOrBuilder
      Returns:
      Whether the hydrationLog field is set.
    • getHydrationLog

      public HydrationLogRollupValue getHydrationLog()
       Returned by default when rolling up data points from the
       `hydration-log` data type, or when requested explicitly using the
       `hydration-log` rollup type identifier.
       
      .google.devicesandservices.health.v4.HydrationLogRollupValue hydration_log = 20;
      Specified by:
      getHydrationLog in interface RollupDataPointOrBuilder
      Returns:
      The hydrationLog.
    • getHydrationLogOrBuilder

      public HydrationLogRollupValueOrBuilder getHydrationLogOrBuilder()
       Returned by default when rolling up data points from the
       `hydration-log` data type, or when requested explicitly using the
       `hydration-log` rollup type identifier.
       
      .google.devicesandservices.health.v4.HydrationLogRollupValue hydration_log = 20;
      Specified by:
      getHydrationLogOrBuilder in interface RollupDataPointOrBuilder
    • hasTimeInHeartRateZone

      public boolean hasTimeInHeartRateZone()
       Returned by default when rolling up data points from the
       `time-in-heart-rate-zone` data type, or when requested explicitly using
       the `time-in-heart-rate-zone` rollup type identifier.
       
      .google.devicesandservices.health.v4.TimeInHeartRateZoneRollupValue time_in_heart_rate_zone = 21;
      Specified by:
      hasTimeInHeartRateZone in interface RollupDataPointOrBuilder
      Returns:
      Whether the timeInHeartRateZone field is set.
    • getTimeInHeartRateZone

      public TimeInHeartRateZoneRollupValue getTimeInHeartRateZone()
       Returned by default when rolling up data points from the
       `time-in-heart-rate-zone` data type, or when requested explicitly using
       the `time-in-heart-rate-zone` rollup type identifier.
       
      .google.devicesandservices.health.v4.TimeInHeartRateZoneRollupValue time_in_heart_rate_zone = 21;
      Specified by:
      getTimeInHeartRateZone in interface RollupDataPointOrBuilder
      Returns:
      The timeInHeartRateZone.
    • getTimeInHeartRateZoneOrBuilder

      public TimeInHeartRateZoneRollupValueOrBuilder getTimeInHeartRateZoneOrBuilder()
       Returned by default when rolling up data points from the
       `time-in-heart-rate-zone` data type, or when requested explicitly using
       the `time-in-heart-rate-zone` rollup type identifier.
       
      .google.devicesandservices.health.v4.TimeInHeartRateZoneRollupValue time_in_heart_rate_zone = 21;
      Specified by:
      getTimeInHeartRateZoneOrBuilder in interface RollupDataPointOrBuilder
    • hasActiveMinutes

      public boolean hasActiveMinutes()
       Returned by default when rolling up data points from the
       `active-minutes` data type, or when requested explicitly using the
       `active-minutes` rollup type identifier.
       
      .google.devicesandservices.health.v4.ActiveMinutesRollupValue active_minutes = 22;
      Specified by:
      hasActiveMinutes in interface RollupDataPointOrBuilder
      Returns:
      Whether the activeMinutes field is set.
    • getActiveMinutes

      public ActiveMinutesRollupValue getActiveMinutes()
       Returned by default when rolling up data points from the
       `active-minutes` data type, or when requested explicitly using the
       `active-minutes` rollup type identifier.
       
      .google.devicesandservices.health.v4.ActiveMinutesRollupValue active_minutes = 22;
      Specified by:
      getActiveMinutes in interface RollupDataPointOrBuilder
      Returns:
      The activeMinutes.
    • getActiveMinutesOrBuilder

      public ActiveMinutesRollupValueOrBuilder getActiveMinutesOrBuilder()
       Returned by default when rolling up data points from the
       `active-minutes` data type, or when requested explicitly using the
       `active-minutes` rollup type identifier.
       
      .google.devicesandservices.health.v4.ActiveMinutesRollupValue active_minutes = 22;
      Specified by:
      getActiveMinutesOrBuilder in interface RollupDataPointOrBuilder
    • hasSwimLengthsData

      public boolean hasSwimLengthsData()
       Returned by default when rolling up data points from the
       `swim-lengths-data` data type, or when requested explicitly using the
       `swim-lengths-data` rollup type identifier.
       
      .google.devicesandservices.health.v4.SwimLengthsDataRollupValue swim_lengths_data = 23;
      Specified by:
      hasSwimLengthsData in interface RollupDataPointOrBuilder
      Returns:
      Whether the swimLengthsData field is set.
    • getSwimLengthsData

      public SwimLengthsDataRollupValue getSwimLengthsData()
       Returned by default when rolling up data points from the
       `swim-lengths-data` data type, or when requested explicitly using the
       `swim-lengths-data` rollup type identifier.
       
      .google.devicesandservices.health.v4.SwimLengthsDataRollupValue swim_lengths_data = 23;
      Specified by:
      getSwimLengthsData in interface RollupDataPointOrBuilder
      Returns:
      The swimLengthsData.
    • getSwimLengthsDataOrBuilder

      public SwimLengthsDataRollupValueOrBuilder getSwimLengthsDataOrBuilder()
       Returned by default when rolling up data points from the
       `swim-lengths-data` data type, or when requested explicitly using the
       `swim-lengths-data` rollup type identifier.
       
      .google.devicesandservices.health.v4.SwimLengthsDataRollupValue swim_lengths_data = 23;
      Specified by:
      getSwimLengthsDataOrBuilder in interface RollupDataPointOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       Start time of the window this value aggregates over
       
      .google.protobuf.Timestamp start_time = 1;
      Specified by:
      hasStartTime in interface RollupDataPointOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Start time of the window this value aggregates over
       
      .google.protobuf.Timestamp start_time = 1;
      Specified by:
      getStartTime in interface RollupDataPointOrBuilder
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Start time of the window this value aggregates over
       
      .google.protobuf.Timestamp start_time = 1;
      Specified by:
      getStartTimeOrBuilder in interface RollupDataPointOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       End time of the window this value aggregates over
       
      .google.protobuf.Timestamp end_time = 2;
      Specified by:
      hasEndTime in interface RollupDataPointOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       End time of the window this value aggregates over
       
      .google.protobuf.Timestamp end_time = 2;
      Specified by:
      getEndTime in interface RollupDataPointOrBuilder
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       End time of the window this value aggregates over
       
      .google.protobuf.Timestamp end_time = 2;
      Specified by:
      getEndTimeOrBuilder in interface RollupDataPointOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RollupDataPoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RollupDataPoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RollupDataPoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RollupDataPoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RollupDataPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RollupDataPoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RollupDataPoint parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RollupDataPoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RollupDataPoint parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RollupDataPoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RollupDataPoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RollupDataPoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public RollupDataPoint.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RollupDataPoint.Builder newBuilder()
    • newBuilder

      public static RollupDataPoint.Builder newBuilder(RollupDataPoint prototype)
    • toBuilder

      public RollupDataPoint.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RollupDataPoint.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RollupDataPoint getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RollupDataPoint> parser()
    • getParserForType

      public com.google.protobuf.Parser<RollupDataPoint> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RollupDataPoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder