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

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

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

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

  /**
   *
   *
   * 
   * Routing mode used for the response. If fallback was triggered, the mode
   * may be different from routing preference set in the original client
   * request.
   * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; * * @return The enum numeric value on the wire for routingMode. */ int getRoutingModeValue(); /** * * *
   * Routing mode used for the response. If fallback was triggered, the mode
   * may be different from routing preference set in the original client
   * request.
   * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; * * @return The routingMode. */ com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode(); /** * * *
   * The reason why fallback response was used instead of the original response.
   * This field is only populated when the fallback mode is triggered and the
   * fallback response is returned.
   * 
* * .google.maps.routing.v2.FallbackReason reason = 2; * * @return The enum numeric value on the wire for reason. */ int getReasonValue(); /** * * *
   * The reason why fallback response was used instead of the original response.
   * This field is only populated when the fallback mode is triggered and the
   * fallback response is returned.
   * 
* * .google.maps.routing.v2.FallbackReason reason = 2; * * @return The reason. */ com.google.maps.routing.v2.FallbackReason getReason(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy