public static final class MetricsSummary.MobilityMetrics.Builder extends GeneratedMessage.Builder<MetricsSummary.MobilityMetrics.Builder> implements MetricsSummary.MobilityMetricsOrBuilderMobility workouts specific metrics
Protobuf type google.devicesandservices.health.v4.MetricsSummary.MobilityMetrics
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MetricsSummary.MobilityMetrics.BuilderImplements
MetricsSummary.MobilityMetricsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MetricsSummary.MobilityMetrics build()| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics |
|
buildPartial()
public MetricsSummary.MobilityMetrics buildPartial()| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics |
|
clear()
public MetricsSummary.MobilityMetrics.Builder clear()| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
|
clearAvgCadenceStepsPerMinute()
public MetricsSummary.MobilityMetrics.Builder 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 | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
This builder for chaining. |
clearAvgGroundContactTimeDuration()
public MetricsSummary.MobilityMetrics.Builder 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];
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
|
clearAvgStrideLengthMillimeters()
public MetricsSummary.MobilityMetrics.Builder 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 | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
This builder for chaining. |
clearAvgVerticalOscillationMillimeters()
public MetricsSummary.MobilityMetrics.Builder 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 | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
This builder for chaining. |
clearAvgVerticalRatio()
public MetricsSummary.MobilityMetrics.Builder clearAvgVerticalRatio()Optional. Vertical oscillation/stride length between [5.0, 11.0].
optional double avg_vertical_ratio = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
double |
The avgCadenceStepsPerMinute. |
getAvgGroundContactTimeDuration()
public 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];
| Returns | |
|---|---|
| Type | Description |
Duration |
The avgGroundContactTimeDuration. |
getAvgGroundContactTimeDurationBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getAvgGroundContactTimeDurationOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
long |
The avgStrideLengthMillimeters. |
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];
| Returns | |
|---|---|
| Type | Description |
long |
The avgVerticalOscillationMillimeters. |
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];
| Returns | |
|---|---|
| Type | Description |
double |
The avgVerticalRatio. |
getDefaultInstanceForType()
public MetricsSummary.MobilityMetrics getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the avgCadenceStepsPerMinute field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the avgGroundContactTimeDuration field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the avgStrideLengthMillimeters field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the avgVerticalOscillationMillimeters field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the avgVerticalRatio field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAvgGroundContactTimeDuration(Duration value)
public MetricsSummary.MobilityMetrics.Builder mergeAvgGroundContactTimeDuration(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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
|
mergeFrom(MetricsSummary.MobilityMetrics other)
public MetricsSummary.MobilityMetrics.Builder mergeFrom(MetricsSummary.MobilityMetrics other)| Parameter | |
|---|---|
| Name | Description |
other |
MetricsSummary.MobilityMetrics |
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MetricsSummary.MobilityMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MetricsSummary.MobilityMetrics.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
|
setAvgCadenceStepsPerMinute(double value)
public MetricsSummary.MobilityMetrics.Builder setAvgCadenceStepsPerMinute(double value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe avgCadenceStepsPerMinute to set. |
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
This builder for chaining. |
setAvgGroundContactTimeDuration(Duration value)
public MetricsSummary.MobilityMetrics.Builder setAvgGroundContactTimeDuration(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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
|
setAvgGroundContactTimeDuration(Duration.Builder builderForValue)
public MetricsSummary.MobilityMetrics.Builder setAvgGroundContactTimeDuration(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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
|
setAvgStrideLengthMillimeters(long value)
public MetricsSummary.MobilityMetrics.Builder setAvgStrideLengthMillimeters(long value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe avgStrideLengthMillimeters to set. |
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
This builder for chaining. |
setAvgVerticalOscillationMillimeters(long value)
public MetricsSummary.MobilityMetrics.Builder setAvgVerticalOscillationMillimeters(long value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe avgVerticalOscillationMillimeters to set. |
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
This builder for chaining. |
setAvgVerticalRatio(double value)
public MetricsSummary.MobilityMetrics.Builder setAvgVerticalRatio(double value)Optional. Vertical oscillation/stride length between [5.0, 11.0].
optional double avg_vertical_ratio = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe avgVerticalRatio to set. |
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.MobilityMetrics.Builder |
This builder for chaining. |