Package com.google.maps.routing.v2
Interface GeocodedWaypointOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GeocodedWaypoint
,GeocodedWaypoint.Builder
public interface GeocodedWaypointOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.rpc.Status
getGeocoderStatus()
Indicates the status code resulting from the geocoding operation.com.google.rpc.StatusOrBuilder
getGeocoderStatusOrBuilder()
Indicates the status code resulting from the geocoding operation.int
getIntermediateWaypointRequestIndex()
The index of the corresponding intermediate waypoint in the request.boolean
getPartialMatch()
Indicates that the geocoder did not return an exact match for the original request, though it was able to match part of the requested address.String
getPlaceId()
The place ID for this result.com.google.protobuf.ByteString
getPlaceIdBytes()
The place ID for this result.String
getType(int index)
The type(s) of the result, in the form of zero or more type tags.com.google.protobuf.ByteString
getTypeBytes(int index)
The type(s) of the result, in the form of zero or more type tags.int
getTypeCount()
The type(s) of the result, in the form of zero or more type tags.List<String>
getTypeList()
The type(s) of the result, in the form of zero or more type tags.boolean
hasGeocoderStatus()
Indicates the status code resulting from the geocoding operation.boolean
hasIntermediateWaypointRequestIndex()
The index of the corresponding intermediate waypoint in the request.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasGeocoderStatus
boolean hasGeocoderStatus()
Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;
- Returns:
- Whether the geocoderStatus field is set.
-
getGeocoderStatus
com.google.rpc.Status getGeocoderStatus()
Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;
- Returns:
- The geocoderStatus.
-
getGeocoderStatusOrBuilder
com.google.rpc.StatusOrBuilder getGeocoderStatusOrBuilder()
Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;
-
hasIntermediateWaypointRequestIndex
boolean hasIntermediateWaypointRequestIndex()
The index of the corresponding intermediate waypoint in the request. Only populated if the corresponding waypoint is an intermediate waypoint.
optional int32 intermediate_waypoint_request_index = 2;
- Returns:
- Whether the intermediateWaypointRequestIndex field is set.
-
getIntermediateWaypointRequestIndex
int getIntermediateWaypointRequestIndex()
The index of the corresponding intermediate waypoint in the request. Only populated if the corresponding waypoint is an intermediate waypoint.
optional int32 intermediate_waypoint_request_index = 2;
- Returns:
- The intermediateWaypointRequestIndex.
-
getTypeList
List<String> getTypeList()
The type(s) of the result, in the form of zero or more type tags. Supported types: https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types
repeated string type = 3;
- Returns:
- A list containing the type.
-
getTypeCount
int getTypeCount()
The type(s) of the result, in the form of zero or more type tags. Supported types: https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types
repeated string type = 3;
- Returns:
- The count of type.
-
getType
String getType(int index)
The type(s) of the result, in the form of zero or more type tags. Supported types: https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types
repeated string type = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The type at the given index.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes(int index)
The type(s) of the result, in the form of zero or more type tags. Supported types: https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types
repeated string type = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the type at the given index.
-
getPartialMatch
boolean getPartialMatch()
Indicates that the geocoder did not return an exact match for the original request, though it was able to match part of the requested address. You may wish to examine the original request for misspellings and/or an incomplete address.
bool partial_match = 4;
- Returns:
- The partialMatch.
-
getPlaceId
String getPlaceId()
The place ID for this result.
string place_id = 5;
- Returns:
- The placeId.
-
getPlaceIdBytes
com.google.protobuf.ByteString getPlaceIdBytes()
The place ID for this result.
string place_id = 5;
- Returns:
- The bytes for placeId.
-
-