public static interface GroundingChunk.Maps.RouteOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDistanceMeters()
public abstract int getDistanceMeters()The total distance of the route, in meters.
int32 distance_meters = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The distanceMeters. |
getDuration()
public abstract Duration getDuration()The total duration of the route.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
Duration |
The duration. |
getDurationOrBuilder()
public abstract DurationOrBuilder getDurationOrBuilder()The total duration of the route.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getEncodedPolyline()
public abstract String getEncodedPolyline()An encoded polyline of the route. See https://developers.google.com/maps/documentation/utilities/polylinealgorithm
string encoded_polyline = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The encodedPolyline. |
getEncodedPolylineBytes()
public abstract ByteString getEncodedPolylineBytes()An encoded polyline of the route. See https://developers.google.com/maps/documentation/utilities/polylinealgorithm
string encoded_polyline = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for encodedPolyline. |
hasDuration()
public abstract boolean hasDuration()The total duration of the route.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the duration field is set. |