Interface SwimLengthsDataOrBuilder (0.2.0)

public interface SwimLengthsDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInterval()

public abstract ObservationTimeInterval getInterval()

Required. Observed interval.

.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ObservationTimeInterval

The interval.

getIntervalOrBuilder()

public abstract ObservationTimeIntervalOrBuilder getIntervalOrBuilder()

Required. Observed interval.

.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ObservationTimeIntervalOrBuilder

getStrokeCount()

public abstract long getStrokeCount()

Required. Number of strokes in the lap.

optional int64 stroke_count = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The strokeCount.

getSwimStrokeType()

public abstract SwimLengthsData.SwimStrokeType getSwimStrokeType()

Required. Swim stroke type.

.google.devicesandservices.health.v4.SwimLengthsData.SwimStrokeType swim_stroke_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SwimLengthsData.SwimStrokeType

The swimStrokeType.

getSwimStrokeTypeValue()

public abstract int getSwimStrokeTypeValue()

Required. Swim stroke type.

.google.devicesandservices.health.v4.SwimLengthsData.SwimStrokeType swim_stroke_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for swimStrokeType.

hasInterval()

public abstract boolean hasInterval()

Required. Observed interval.

.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the interval field is set.

hasStrokeCount()

public abstract boolean hasStrokeCount()

Required. Number of strokes in the lap.

optional int64 stroke_count = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the strokeCount field is set.