Interface Exercise.SplitSummaryOrBuilder (0.2.0)

public static interface Exercise.SplitSummaryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActiveDuration()

public abstract 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.

getActiveDurationOrBuilder()

public abstract 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

getEndTime()

public abstract Timestamp getEndTime()

Required. Lap end time

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Required. Lap end time

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getEndUtcOffset()

public abstract 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.

getEndUtcOffsetOrBuilder()

public abstract 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 abstract 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.

getMetricsSummaryOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract Timestamp getStartTime()

Required. Lap start time

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Required. Lap start time

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getStartUtcOffset()

public abstract 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.

getStartUtcOffsetOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.