Class MetricsSummary.MobilityMetrics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MetricsSummary.MobilityMetrics.Builder>
com.google.devicesandservices.health.v4.MetricsSummary.MobilityMetrics.Builder
- All Implemented Interfaces:
MetricsSummary.MobilityMetricsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MetricsSummary.MobilityMetrics
public static final class MetricsSummary.MobilityMetrics.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MetricsSummary.MobilityMetrics.Builder>
implements MetricsSummary.MobilityMetricsOrBuilder
Mobility workouts specific metricsProtobuf type
google.devicesandservices.health.v4.MetricsSummary.MobilityMetrics-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Optional.Optional.Optional.doubleOptional.com.google.protobuf.DurationOptional.com.google.protobuf.Duration.BuilderOptional.com.google.protobuf.DurationOrBuilderOptional.longOptional.longOptional.doubleOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAvgGroundContactTimeDuration(com.google.protobuf.Duration value) Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAvgCadenceStepsPerMinute(double value) Optional.setAvgGroundContactTimeDuration(com.google.protobuf.Duration value) Optional.setAvgGroundContactTimeDuration(com.google.protobuf.Duration.Builder builderForValue) Optional.setAvgStrideLengthMillimeters(long value) Optional.setAvgVerticalOscillationMillimeters(long value) Optional.setAvgVerticalRatio(double value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MetricsSummary.MobilityMetrics.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MetricsSummary.MobilityMetrics.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MetricsSummary.MobilityMetrics.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MetricsSummary.MobilityMetrics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MetricsSummary.MobilityMetrics.Builder>
-
mergeFrom
public MetricsSummary.MobilityMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MetricsSummary.MobilityMetrics.Builder>- Throws:
IOException
-
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:
hasAvgCadenceStepsPerMinutein interfaceMetricsSummary.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:
getAvgCadenceStepsPerMinutein interfaceMetricsSummary.MobilityMetricsOrBuilder- Returns:
- The avgCadenceStepsPerMinute.
-
setAvgCadenceStepsPerMinute
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];- Parameters:
value- The avgCadenceStepsPerMinute to set.- Returns:
- This builder for chaining.
-
clearAvgCadenceStepsPerMinute
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];- Returns:
- This builder for chaining.
-
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:
hasAvgStrideLengthMillimetersin interfaceMetricsSummary.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:
getAvgStrideLengthMillimetersin interfaceMetricsSummary.MobilityMetricsOrBuilder- Returns:
- The avgStrideLengthMillimeters.
-
setAvgStrideLengthMillimeters
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];- Parameters:
value- The avgStrideLengthMillimeters to set.- Returns:
- This builder for chaining.
-
clearAvgStrideLengthMillimeters
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];- Returns:
- This builder for chaining.
-
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:
hasAvgVerticalOscillationMillimetersin interfaceMetricsSummary.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:
getAvgVerticalOscillationMillimetersin interfaceMetricsSummary.MobilityMetricsOrBuilder- Returns:
- The avgVerticalOscillationMillimeters.
-
setAvgVerticalOscillationMillimeters
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];- Parameters:
value- The avgVerticalOscillationMillimeters to set.- Returns:
- This builder for chaining.
-
clearAvgVerticalOscillationMillimeters
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];- Returns:
- This builder for chaining.
-
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:
hasAvgVerticalRatioin interfaceMetricsSummary.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:
getAvgVerticalRatioin interfaceMetricsSummary.MobilityMetricsOrBuilder- Returns:
- The avgVerticalRatio.
-
setAvgVerticalRatio
Optional. Vertical oscillation/stride length between [5.0, 11.0].
optional double avg_vertical_ratio = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The avgVerticalRatio to set.- Returns:
- This builder for chaining.
-
clearAvgVerticalRatio
Optional. Vertical oscillation/stride length between [5.0, 11.0].
optional double avg_vertical_ratio = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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:
hasAvgGroundContactTimeDurationin interfaceMetricsSummary.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:
getAvgGroundContactTimeDurationin interfaceMetricsSummary.MobilityMetricsOrBuilder- Returns:
- The avgGroundContactTimeDuration.
-
setAvgGroundContactTimeDuration
public MetricsSummary.MobilityMetrics.Builder setAvgGroundContactTimeDuration(com.google.protobuf.Duration value) 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]; -
setAvgGroundContactTimeDuration
public MetricsSummary.MobilityMetrics.Builder setAvgGroundContactTimeDuration(com.google.protobuf.Duration.Builder builderForValue) 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]; -
mergeAvgGroundContactTimeDuration
public MetricsSummary.MobilityMetrics.Builder mergeAvgGroundContactTimeDuration(com.google.protobuf.Duration value) 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]; -
clearAvgGroundContactTimeDuration
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]; -
getAvgGroundContactTimeDurationBuilder
public com.google.protobuf.Duration.Builder getAvgGroundContactTimeDurationBuilder()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]; -
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:
getAvgGroundContactTimeDurationOrBuilderin interfaceMetricsSummary.MobilityMetricsOrBuilder
-