All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.maps.routing.v2.TransitPreferencesOrBuilder 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/transit_preferences.proto

// Protobuf Java Version: 3.25.3
package com.google.maps.routing.v2;

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

  /**
   *
   *
   * 
   * A set of travel modes to use when getting a `TRANSIT` route. Defaults to
   * all supported modes of travel.
   * 
* * * repeated .google.maps.routing.v2.TransitPreferences.TransitTravelMode allowed_travel_modes = 1; * * * @return A list containing the allowedTravelModes. */ java.util.List getAllowedTravelModesList(); /** * * *
   * A set of travel modes to use when getting a `TRANSIT` route. Defaults to
   * all supported modes of travel.
   * 
* * * repeated .google.maps.routing.v2.TransitPreferences.TransitTravelMode allowed_travel_modes = 1; * * * @return The count of allowedTravelModes. */ int getAllowedTravelModesCount(); /** * * *
   * A set of travel modes to use when getting a `TRANSIT` route. Defaults to
   * all supported modes of travel.
   * 
* * * repeated .google.maps.routing.v2.TransitPreferences.TransitTravelMode allowed_travel_modes = 1; * * * @param index The index of the element to return. * @return The allowedTravelModes at the given index. */ com.google.maps.routing.v2.TransitPreferences.TransitTravelMode getAllowedTravelModes(int index); /** * * *
   * A set of travel modes to use when getting a `TRANSIT` route. Defaults to
   * all supported modes of travel.
   * 
* * * repeated .google.maps.routing.v2.TransitPreferences.TransitTravelMode allowed_travel_modes = 1; * * * @return A list containing the enum numeric values on the wire for allowedTravelModes. */ java.util.List getAllowedTravelModesValueList(); /** * * *
   * A set of travel modes to use when getting a `TRANSIT` route. Defaults to
   * all supported modes of travel.
   * 
* * * repeated .google.maps.routing.v2.TransitPreferences.TransitTravelMode allowed_travel_modes = 1; * * * @param index The index of the value to return. * @return The enum numeric value on the wire of allowedTravelModes at the given index. */ int getAllowedTravelModesValue(int index); /** * * *
   * A routing preference that, when specified, influences the `TRANSIT` route
   * returned.
   * 
* * * .google.maps.routing.v2.TransitPreferences.TransitRoutingPreference routing_preference = 2; * * * @return The enum numeric value on the wire for routingPreference. */ int getRoutingPreferenceValue(); /** * * *
   * A routing preference that, when specified, influences the `TRANSIT` route
   * returned.
   * 
* * * .google.maps.routing.v2.TransitPreferences.TransitRoutingPreference routing_preference = 2; * * * @return The routingPreference. */ com.google.maps.routing.v2.TransitPreferences.TransitRoutingPreference getRoutingPreference(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy