public static final class Exercise.SplitSummary.Builder extends GeneratedMessage.Builder<Exercise.SplitSummary.Builder> implements Exercise.SplitSummaryOrBuilderRepresents splits or laps recorded within an exercise. Lap events partition a workout into segments based on criteria like distance, time, or calories.
Protobuf type google.devicesandservices.health.v4.Exercise.SplitSummary
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Exercise.SplitSummary.BuilderImplements
Exercise.SplitSummaryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Exercise.SplitSummary build()| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary |
|
buildPartial()
public Exercise.SplitSummary buildPartial()| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary |
|
clear()
public Exercise.SplitSummary.Builder clear()| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
clearActiveDuration()
public Exercise.SplitSummary.Builder clearActiveDuration()Output only. Lap time excluding the pauses.
.google.protobuf.Duration active_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
clearEndTime()
public Exercise.SplitSummary.Builder clearEndTime()Required. Lap end time
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
clearEndUtcOffset()
public Exercise.SplitSummary.Builder clearEndUtcOffset()Required. Lap end time offset from UTC
.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
clearMetricsSummary()
public Exercise.SplitSummary.Builder clearMetricsSummary()Required. Summary metrics for this split.
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
clearSplitType()
public Exercise.SplitSummary.Builder clearSplitType()Required. Method used to split the exercise laps. Users may manually mark the lap as complete even if the tracking is automatic.
.google.devicesandservices.health.v4.Exercise.SplitSummary.SplitType split_type = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
This builder for chaining. |
clearStartTime()
public Exercise.SplitSummary.Builder clearStartTime()Required. Lap start time
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
clearStartUtcOffset()
public Exercise.SplitSummary.Builder clearStartUtcOffset()Required. Lap start time offset from UTC
.google.protobuf.Duration start_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
getActiveDuration()
public Duration getActiveDuration()Output only. Lap time excluding the pauses.
.google.protobuf.Duration active_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Duration |
The activeDuration. |
getActiveDurationBuilder()
public Duration.Builder getActiveDurationBuilder()Output only. Lap time excluding the pauses.
.google.protobuf.Duration active_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getActiveDurationOrBuilder()
public DurationOrBuilder getActiveDurationOrBuilder()Output only. Lap time excluding the pauses.
.google.protobuf.Duration active_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getDefaultInstanceForType()
public Exercise.SplitSummary getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTime()
public Timestamp getEndTime()Required. Lap end time
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()Required. Lap end time
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()Required. Lap end time
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getEndUtcOffset()
public Duration getEndUtcOffset()Required. Lap end time offset from UTC
.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Duration |
The endUtcOffset. |
getEndUtcOffsetBuilder()
public Duration.Builder getEndUtcOffsetBuilder()Required. Lap end time offset from UTC
.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndUtcOffsetOrBuilder()
public DurationOrBuilder getEndUtcOffsetOrBuilder()Required. Lap end time offset from UTC
.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getMetricsSummary()
public MetricsSummary getMetricsSummary()Required. Summary metrics for this split.
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MetricsSummary |
The metricsSummary. |
getMetricsSummaryBuilder()
public MetricsSummary.Builder getMetricsSummaryBuilder()Required. Summary metrics for this split.
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MetricsSummary.Builder |
|
getMetricsSummaryOrBuilder()
public MetricsSummaryOrBuilder getMetricsSummaryOrBuilder()Required. Summary metrics for this split.
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MetricsSummaryOrBuilder |
|
getSplitType()
public Exercise.SplitSummary.SplitType getSplitType()Required. Method used to split the exercise laps. Users may manually mark the lap as complete even if the tracking is automatic.
.google.devicesandservices.health.v4.Exercise.SplitSummary.SplitType split_type = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.SplitType |
The splitType. |
getSplitTypeValue()
public int getSplitTypeValue()Required. Method used to split the exercise laps. Users may manually mark the lap as complete even if the tracking is automatic.
.google.devicesandservices.health.v4.Exercise.SplitSummary.SplitType split_type = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for splitType. |
getStartTime()
public Timestamp getStartTime()Required. Lap start time
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()Required. Lap start time
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()Required. Lap start time
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getStartUtcOffset()
public Duration getStartUtcOffset()Required. Lap start time offset from UTC
.google.protobuf.Duration start_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Duration |
The startUtcOffset. |
getStartUtcOffsetBuilder()
public Duration.Builder getStartUtcOffsetBuilder()Required. Lap start time offset from UTC
.google.protobuf.Duration start_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartUtcOffsetOrBuilder()
public DurationOrBuilder getStartUtcOffsetOrBuilder()Required. Lap start time offset from UTC
.google.protobuf.Duration start_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasActiveDuration()
public boolean hasActiveDuration()Output only. Lap time excluding the pauses.
.google.protobuf.Duration active_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the activeDuration field is set. |
hasEndTime()
public boolean hasEndTime()Required. Lap end time
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |
hasEndUtcOffset()
public boolean hasEndUtcOffset()Required. Lap end time offset from UTC
.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endUtcOffset field is set. |
hasMetricsSummary()
public boolean hasMetricsSummary()Required. Summary metrics for this split.
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metricsSummary field is set. |
hasStartTime()
public boolean hasStartTime()Required. Lap start time
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
hasStartUtcOffset()
public boolean hasStartUtcOffset()Required. Lap start time offset from UTC
.google.protobuf.Duration start_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startUtcOffset field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeActiveDuration(Duration value)
public Exercise.SplitSummary.Builder mergeActiveDuration(Duration value)Output only. Lap time excluding the pauses.
.google.protobuf.Duration active_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
mergeEndTime(Timestamp value)
public Exercise.SplitSummary.Builder mergeEndTime(Timestamp value)Required. Lap end time
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
mergeEndUtcOffset(Duration value)
public Exercise.SplitSummary.Builder mergeEndUtcOffset(Duration value)Required. Lap end time offset from UTC
.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
mergeFrom(Exercise.SplitSummary other)
public Exercise.SplitSummary.Builder mergeFrom(Exercise.SplitSummary other)| Parameter | |
|---|---|
| Name | Description |
other |
Exercise.SplitSummary |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Exercise.SplitSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Exercise.SplitSummary.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
mergeMetricsSummary(MetricsSummary value)
public Exercise.SplitSummary.Builder mergeMetricsSummary(MetricsSummary value)Required. Summary metrics for this split.
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 6 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
MetricsSummary |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
mergeStartTime(Timestamp value)
public Exercise.SplitSummary.Builder mergeStartTime(Timestamp value)Required. Lap start time
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
mergeStartUtcOffset(Duration value)
public Exercise.SplitSummary.Builder mergeStartUtcOffset(Duration value)Required. Lap start time offset from UTC
.google.protobuf.Duration start_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setActiveDuration(Duration value)
public Exercise.SplitSummary.Builder setActiveDuration(Duration value)Output only. Lap time excluding the pauses.
.google.protobuf.Duration active_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setActiveDuration(Duration.Builder builderForValue)
public Exercise.SplitSummary.Builder setActiveDuration(Duration.Builder builderForValue)Output only. Lap time excluding the pauses.
.google.protobuf.Duration active_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setEndTime(Timestamp value)
public Exercise.SplitSummary.Builder setEndTime(Timestamp value)Required. Lap end time
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public Exercise.SplitSummary.Builder setEndTime(Timestamp.Builder builderForValue)Required. Lap end time
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setEndUtcOffset(Duration value)
public Exercise.SplitSummary.Builder setEndUtcOffset(Duration value)Required. Lap end time offset from UTC
.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setEndUtcOffset(Duration.Builder builderForValue)
public Exercise.SplitSummary.Builder setEndUtcOffset(Duration.Builder builderForValue)Required. Lap end time offset from UTC
.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setMetricsSummary(MetricsSummary value)
public Exercise.SplitSummary.Builder setMetricsSummary(MetricsSummary value)Required. Summary metrics for this split.
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 6 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
MetricsSummary |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setMetricsSummary(MetricsSummary.Builder builderForValue)
public Exercise.SplitSummary.Builder setMetricsSummary(MetricsSummary.Builder builderForValue)Required. Summary metrics for this split.
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 6 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MetricsSummary.Builder |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setSplitType(Exercise.SplitSummary.SplitType value)
public Exercise.SplitSummary.Builder setSplitType(Exercise.SplitSummary.SplitType value)Required. Method used to split the exercise laps. Users may manually mark the lap as complete even if the tracking is automatic.
.google.devicesandservices.health.v4.Exercise.SplitSummary.SplitType split_type = 7 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Exercise.SplitSummary.SplitTypeThe splitType to set. |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
This builder for chaining. |
setSplitTypeValue(int value)
public Exercise.SplitSummary.Builder setSplitTypeValue(int value)Required. Method used to split the exercise laps. Users may manually mark the lap as complete even if the tracking is automatic.
.google.devicesandservices.health.v4.Exercise.SplitSummary.SplitType split_type = 7 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for splitType to set. |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
This builder for chaining. |
setStartTime(Timestamp value)
public Exercise.SplitSummary.Builder setStartTime(Timestamp value)Required. Lap start time
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public Exercise.SplitSummary.Builder setStartTime(Timestamp.Builder builderForValue)Required. Lap start time
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setStartUtcOffset(Duration value)
public Exercise.SplitSummary.Builder setStartUtcOffset(Duration value)Required. Lap start time offset from UTC
.google.protobuf.Duration start_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|
setStartUtcOffset(Duration.Builder builderForValue)
public Exercise.SplitSummary.Builder setStartUtcOffset(Duration.Builder builderForValue)Required. Lap start time offset from UTC
.google.protobuf.Duration start_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Exercise.SplitSummary.Builder |
|