# Interface Exercise.ExerciseMetadataOrBuilder (0.2.0)

    public static interface Exercise.ExerciseMetadataOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getHasGps()

    public abstract boolean getHasGps()

Optional. Whether the exercise had GPS tracking.

`bool has_gps = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The hasGps. |

### getPoolLengthMillimeters()

    public abstract long getPoolLengthMillimeters()

Optional. Pool length in millimeters. Only present in the swimming
exercises.

`optional int64 pool_length_millimeters = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The poolLengthMillimeters. |

### hasPoolLengthMillimeters()

    public abstract boolean hasPoolLengthMillimeters()

Optional. Pool length in millimeters. Only present in the swimming
exercises.

`optional int64 pool_length_millimeters = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the poolLengthMillimeters field is set. |