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
@Generated
public interface GeocodedWaypointOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the status code resulting from the geocoding operation.Indicates the status code resulting from the geocoding operation.intThe index of the corresponding intermediate waypoint in the request.booleanIndicates that the geocoder did not return an exact match for the original request, though it was able to match part of the requested address.The place ID for this result.com.google.protobuf.ByteStringThe place ID for this result.getType(int index) The type(s) of the result, in the form of zero or more type tags.com.google.protobuf.ByteStringgetTypeBytes(int index) The type(s) of the result, in the form of zero or more type tags.intThe type(s) of the result, in the form of zero or more type tags.The type(s) of the result, in the form of zero or more type tags.booleanIndicates the status code resulting from the geocoding operation.booleanThe index of the corresponding intermediate waypoint in the request.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
-
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
Status getGeocoderStatus()Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;- Returns:
- The geocoderStatus.
-
getGeocoderStatusOrBuilder
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
The type(s) of the result, in the form of zero or more type tags. Supported types: [Address types and address component 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: [Address types and address component types](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string type = 3;- Returns:
- The count of type.
-
getType
The type(s) of the result, in the form of zero or more type tags. Supported types: [Address types and address component 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: [Address types and address component 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.
-