Interface SwimLengthsDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SwimLengthsData,SwimLengthsData.Builder
@Generated
public interface SwimLengthsDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.longRequired.Required.intRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInterval
boolean hasInterval()Required. Observed interval.
.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the interval field is set.
-
getInterval
ObservationTimeInterval getInterval()Required. Observed interval.
.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The interval.
-
getIntervalOrBuilder
ObservationTimeIntervalOrBuilder getIntervalOrBuilder()Required. Observed interval.
.google.devicesandservices.health.v4.ObservationTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED]; -
getSwimStrokeTypeValue
int getSwimStrokeTypeValue()Required. Swim stroke type.
.google.devicesandservices.health.v4.SwimLengthsData.SwimStrokeType swim_stroke_type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for swimStrokeType.
-
getSwimStrokeType
SwimLengthsData.SwimStrokeType getSwimStrokeType()Required. Swim stroke type.
.google.devicesandservices.health.v4.SwimLengthsData.SwimStrokeType swim_stroke_type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The swimStrokeType.
-
getStrokeCount
long getStrokeCount()Required. Number of strokes in the lap.
int64 stroke_count = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The strokeCount.
-