/*
 * Copyright 2020 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

package com.google.maps.routing.v2;

public interface GeocodedWaypointOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.GeocodedWaypoint)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Indicates the status code resulting from the geocoding operation.
   * </pre>
   *
   * <code>.google.rpc.Status geocoder_status = 1;</code>
   *
   * @return Whether the geocoderStatus field is set.
   */
  boolean hasGeocoderStatus();
  /**
   *
   *
   * <pre>
   * Indicates the status code resulting from the geocoding operation.
   * </pre>
   *
   * <code>.google.rpc.Status geocoder_status = 1;</code>
   *
   * @return The geocoderStatus.
   */
  com.google.rpc.Status getGeocoderStatus();
  /**
   *
   *
   * <pre>
   * Indicates the status code resulting from the geocoding operation.
   * </pre>
   *
   * <code>.google.rpc.Status geocoder_status = 1;</code>
   */
  com.google.rpc.StatusOrBuilder getGeocoderStatusOrBuilder();

  /**
   *
   *
   * <pre>
   * The index of the corresponding intermediate waypoint in the request.
   * Only populated if the corresponding waypoint is an intermediate
   * waypoint.
   * </pre>
   *
   * <code>optional int32 intermediate_waypoint_request_index = 2;</code>
   *
   * @return Whether the intermediateWaypointRequestIndex field is set.
   */
  boolean hasIntermediateWaypointRequestIndex();
  /**
   *
   *
   * <pre>
   * The index of the corresponding intermediate waypoint in the request.
   * Only populated if the corresponding waypoint is an intermediate
   * waypoint.
   * </pre>
   *
   * <code>optional int32 intermediate_waypoint_request_index = 2;</code>
   *
   * @return The intermediateWaypointRequestIndex.
   */
  int getIntermediateWaypointRequestIndex();

  /**
   *
   *
   * <pre>
   * 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
   * </pre>
   *
   * <code>repeated string type = 3;</code>
   *
   * @return A list containing the type.
   */
  java.util.List<java.lang.String> getTypeList();
  /**
   *
   *
   * <pre>
   * 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
   * </pre>
   *
   * <code>repeated string type = 3;</code>
   *
   * @return The count of type.
   */
  int getTypeCount();
  /**
   *
   *
   * <pre>
   * 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
   * </pre>
   *
   * <code>repeated string type = 3;</code>
   *
   * @param index The index of the element to return.
   * @return The type at the given index.
   */
  java.lang.String getType(int index);
  /**
   *
   *
   * <pre>
   * 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
   * </pre>
   *
   * <code>repeated string type = 3;</code>
   *
   * @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);

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>bool partial_match = 4;</code>
   *
   * @return The partialMatch.
   */
  boolean getPartialMatch();

  /**
   *
   *
   * <pre>
   * The place ID for this result.
   * </pre>
   *
   * <code>string place_id = 5;</code>
   *
   * @return The placeId.
   */
  java.lang.String getPlaceId();
  /**
   *
   *
   * <pre>
   * The place ID for this result.
   * </pre>
   *
   * <code>string place_id = 5;</code>
   *
   * @return The bytes for placeId.
   */
  com.google.protobuf.ByteString getPlaceIdBytes();
}
