Package com.google.maps.routing.v2
Interface GeocodingResultsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GeocodingResults
,GeocodingResults.Builder
public interface GeocodingResultsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeocodedWaypoint
getDestination()
Destination geocoded waypoint.GeocodedWaypointOrBuilder
getDestinationOrBuilder()
Destination geocoded waypoint.GeocodedWaypoint
getIntermediates(int index)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.int
getIntermediatesCount()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.List<GeocodedWaypoint>
getIntermediatesList()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.GeocodedWaypointOrBuilder
getIntermediatesOrBuilder(int index)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.List<? extends GeocodedWaypointOrBuilder>
getIntermediatesOrBuilderList()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.GeocodedWaypoint
getOrigin()
Origin geocoded waypoint.GeocodedWaypointOrBuilder
getOriginOrBuilder()
Origin geocoded waypoint.boolean
hasDestination()
Destination geocoded waypoint.boolean
hasOrigin()
Origin geocoded waypoint.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasOrigin
boolean hasOrigin()
Origin geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint origin = 1;
- Returns:
- Whether the origin field is set.
-
getOrigin
GeocodedWaypoint getOrigin()
Origin geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint origin = 1;
- Returns:
- The origin.
-
getOriginOrBuilder
GeocodedWaypointOrBuilder getOriginOrBuilder()
Origin geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint origin = 1;
-
hasDestination
boolean hasDestination()
Destination geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint destination = 2;
- Returns:
- Whether the destination field is set.
-
getDestination
GeocodedWaypoint getDestination()
Destination geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint destination = 2;
- Returns:
- The destination.
-
getDestinationOrBuilder
GeocodedWaypointOrBuilder getDestinationOrBuilder()
Destination geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint destination = 2;
-
getIntermediatesList
List<GeocodedWaypoint> getIntermediatesList()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;
-
getIntermediates
GeocodedWaypoint getIntermediates(int index)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;
-
getIntermediatesCount
int getIntermediatesCount()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;
-
getIntermediatesOrBuilderList
List<? extends GeocodedWaypointOrBuilder> getIntermediatesOrBuilderList()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;
-
getIntermediatesOrBuilder
GeocodedWaypointOrBuilder getIntermediatesOrBuilder(int index)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;
-
-