com.google.maps.routing.v2.GeocodedWaypointOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/maps/routing/v2/geocoding_results.proto
// Protobuf Java Version: 3.25.3
package com.google.maps.routing.v2;
public interface GeocodedWaypointOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.maps.routing.v2.GeocodedWaypoint)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Indicates the status code resulting from the geocoding operation.
*
*
* .google.rpc.Status geocoder_status = 1;
*
* @return Whether the geocoderStatus field is set.
*/
boolean hasGeocoderStatus();
/**
*
*
*
* Indicates the status code resulting from the geocoding operation.
*
*
* .google.rpc.Status geocoder_status = 1;
*
* @return The geocoderStatus.
*/
com.google.rpc.Status getGeocoderStatus();
/**
*
*
*
* Indicates the status code resulting from the geocoding operation.
*
*
* .google.rpc.Status geocoder_status = 1;
*/
com.google.rpc.StatusOrBuilder getGeocoderStatusOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the intermediateWaypointRequestIndex field is set.
*/
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;
*
* @return The intermediateWaypointRequestIndex.
*/
int getIntermediateWaypointRequestIndex();
/**
*
*
*
* 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;
*
* @return A list containing the type.
*/
java.util.List 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;
*
* @return The count of type.
*/
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;
*
* @param index The index of the element to return.
* @return The type at the given index.
*/
java.lang.String getType(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;
*
* @param index The index of the value to return.
* @return The bytes of the type at the given index.
*/
com.google.protobuf.ByteString getTypeBytes(int index);
/**
*
*
*
* 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;
*
* @return The partialMatch.
*/
boolean getPartialMatch();
/**
*
*
*
* The place ID for this result.
*
*
* string place_id = 5;
*
* @return The placeId.
*/
java.lang.String getPlaceId();
/**
*
*
*
* The place ID for this result.
*
*
* string place_id = 5;
*
* @return The bytes for placeId.
*/
com.google.protobuf.ByteString getPlaceIdBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy