Class MetricsSummary.MobilityMetrics

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devicesandservices.health.v4.MetricsSummary.MobilityMetrics
All Implemented Interfaces:
MetricsSummary.MobilityMetricsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
MetricsSummary

public static final class MetricsSummary.MobilityMetrics extends com.google.protobuf.GeneratedMessage implements MetricsSummary.MobilityMetricsOrBuilder
 Mobility workouts specific metrics
 
Protobuf type google.devicesandservices.health.v4.MetricsSummary.MobilityMetrics
See Also:
  • Field Details

    • AVG_CADENCE_STEPS_PER_MINUTE_FIELD_NUMBER

      public static final int AVG_CADENCE_STEPS_PER_MINUTE_FIELD_NUMBER
      See Also:
    • AVG_STRIDE_LENGTH_MILLIMETERS_FIELD_NUMBER

      public static final int AVG_STRIDE_LENGTH_MILLIMETERS_FIELD_NUMBER
      See Also:
    • AVG_VERTICAL_OSCILLATION_MILLIMETERS_FIELD_NUMBER

      public static final int AVG_VERTICAL_OSCILLATION_MILLIMETERS_FIELD_NUMBER
      See Also:
    • AVG_VERTICAL_RATIO_FIELD_NUMBER

      public static final int AVG_VERTICAL_RATIO_FIELD_NUMBER
      See Also:
    • AVG_GROUND_CONTACT_TIME_DURATION_FIELD_NUMBER

      public static final int AVG_GROUND_CONTACT_TIME_DURATION_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
    • hasAvgCadenceStepsPerMinute

      public boolean hasAvgCadenceStepsPerMinute()
       Optional. Cadence is a measure of the frequency of your foot strikes.
       Steps / min in real time during workout.
       
      optional double avg_cadence_steps_per_minute = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAvgCadenceStepsPerMinute in interface MetricsSummary.MobilityMetricsOrBuilder
      Returns:
      Whether the avgCadenceStepsPerMinute field is set.
    • getAvgCadenceStepsPerMinute

      public double getAvgCadenceStepsPerMinute()
       Optional. Cadence is a measure of the frequency of your foot strikes.
       Steps / min in real time during workout.
       
      optional double avg_cadence_steps_per_minute = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAvgCadenceStepsPerMinute in interface MetricsSummary.MobilityMetricsOrBuilder
      Returns:
      The avgCadenceStepsPerMinute.
    • hasAvgStrideLengthMillimeters

      public boolean hasAvgStrideLengthMillimeters()
       Optional. Stride length is a measure of the distance covered by a single
       stride
       
      optional int64 avg_stride_length_millimeters = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAvgStrideLengthMillimeters in interface MetricsSummary.MobilityMetricsOrBuilder
      Returns:
      Whether the avgStrideLengthMillimeters field is set.
    • getAvgStrideLengthMillimeters

      public long getAvgStrideLengthMillimeters()
       Optional. Stride length is a measure of the distance covered by a single
       stride
       
      optional int64 avg_stride_length_millimeters = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAvgStrideLengthMillimeters in interface MetricsSummary.MobilityMetricsOrBuilder
      Returns:
      The avgStrideLengthMillimeters.
    • hasAvgVerticalOscillationMillimeters

      public boolean hasAvgVerticalOscillationMillimeters()
       Optional. Distance off the ground your center of mass moves with each
       stride while running
       
      optional int64 avg_vertical_oscillation_millimeters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAvgVerticalOscillationMillimeters in interface MetricsSummary.MobilityMetricsOrBuilder
      Returns:
      Whether the avgVerticalOscillationMillimeters field is set.
    • getAvgVerticalOscillationMillimeters

      public long getAvgVerticalOscillationMillimeters()
       Optional. Distance off the ground your center of mass moves with each
       stride while running
       
      optional int64 avg_vertical_oscillation_millimeters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAvgVerticalOscillationMillimeters in interface MetricsSummary.MobilityMetricsOrBuilder
      Returns:
      The avgVerticalOscillationMillimeters.
    • hasAvgVerticalRatio

      public boolean hasAvgVerticalRatio()
       Optional. Vertical oscillation/stride length between [5.0, 11.0].
       
      optional double avg_vertical_ratio = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAvgVerticalRatio in interface MetricsSummary.MobilityMetricsOrBuilder
      Returns:
      Whether the avgVerticalRatio field is set.
    • getAvgVerticalRatio

      public double getAvgVerticalRatio()
       Optional. Vertical oscillation/stride length between [5.0, 11.0].
       
      optional double avg_vertical_ratio = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAvgVerticalRatio in interface MetricsSummary.MobilityMetricsOrBuilder
      Returns:
      The avgVerticalRatio.
    • hasAvgGroundContactTimeDuration

      public boolean hasAvgGroundContactTimeDuration()
       Optional. The ground contact time for a particular stride is the amount
       of time for which the foot was in contact with the ground on that stride
       
      .google.protobuf.Duration avg_ground_contact_time_duration = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAvgGroundContactTimeDuration in interface MetricsSummary.MobilityMetricsOrBuilder
      Returns:
      Whether the avgGroundContactTimeDuration field is set.
    • getAvgGroundContactTimeDuration

      public com.google.protobuf.Duration getAvgGroundContactTimeDuration()
       Optional. The ground contact time for a particular stride is the amount
       of time for which the foot was in contact with the ground on that stride
       
      .google.protobuf.Duration avg_ground_contact_time_duration = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAvgGroundContactTimeDuration in interface MetricsSummary.MobilityMetricsOrBuilder
      Returns:
      The avgGroundContactTimeDuration.
    • getAvgGroundContactTimeDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getAvgGroundContactTimeDurationOrBuilder()
       Optional. The ground contact time for a particular stride is the amount
       of time for which the foot was in contact with the ground on that stride
       
      .google.protobuf.Duration avg_ground_contact_time_duration = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAvgGroundContactTimeDurationOrBuilder in interface MetricsSummary.MobilityMetricsOrBuilder
    • 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 MetricsSummary.MobilityMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static MetricsSummary.MobilityMetrics parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static MetricsSummary.MobilityMetrics parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static MetricsSummary.MobilityMetrics.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static MetricsSummary.MobilityMetrics getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<MetricsSummary.MobilityMetrics> 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 MetricsSummary.MobilityMetrics getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder