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

com.google.maps.routing.v2.RoutesServiceProto Maven / Gradle / Ivy

There is a newer version: 1.41.0
Show newest version
/*
 * 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/routes_service.proto

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

public final class RoutesServiceProto {
  private RoutesServiceProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_maps_routing_v2_RouteMatrixElement_LocalizedValues_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_maps_routing_v2_RouteMatrixElement_LocalizedValues_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n+google/maps/routing/v2/routes_service."
          + "proto\022\026google.maps.routing.v2\032\034google/ap"
          + "i/annotations.proto\032\027google/api/client.p"
          + "roto\032\037google/api/field_behavior.proto\032*g"
          + "oogle/maps/routing/v2/fallback_info.prot"
          + "o\032.google/maps/routing/v2/geocoding_resu"
          + "lts.proto\032%google/maps/routing/v2/polyli"
          + "ne.proto\032\"google/maps/routing/v2/route.p"
          + "roto\032,google/maps/routing/v2/route_modif"
          + "iers.proto\032.google/maps/routing/v2/route"
          + "_travel_mode.proto\032/google/maps/routing/"
          + "v2/routing_preference.proto\032*google/maps"
          + "/routing/v2/traffic_model.proto\0320google/"
          + "maps/routing/v2/transit_preferences.prot"
          + "o\032\"google/maps/routing/v2/units.proto\032%g"
          + "oogle/maps/routing/v2/waypoint.proto\032\036go"
          + "ogle/protobuf/duration.proto\032\037google/pro"
          + "tobuf/timestamp.proto\032\027google/rpc/status"
          + ".proto\032 google/type/localized_text.proto"
          + "\"\347\013\n\024ComputeRoutesRequest\0225\n\006origin\030\001 \001("
          + "\0132 .google.maps.routing.v2.WaypointB\003\340A\002"
          + "\022:\n\013destination\030\002 \001(\0132 .google.maps.rout"
          + "ing.v2.WaypointB\003\340A\002\022<\n\rintermediates\030\003 "
          + "\003(\0132 .google.maps.routing.v2.WaypointB\003\340"
          + "A\001\022A\n\013travel_mode\030\004 \001(\0162\'.google.maps.ro"
          + "uting.v2.RouteTravelModeB\003\340A\001\022J\n\022routing"
          + "_preference\030\005 \001(\0162).google.maps.routing."
          + "v2.RoutingPreferenceB\003\340A\001\022F\n\020polyline_qu"
          + "ality\030\006 \001(\0162\'.google.maps.routing.v2.Pol"
          + "ylineQualityB\003\340A\001\022H\n\021polyline_encoding\030\014"
          + " \001(\0162(.google.maps.routing.v2.PolylineEn"
          + "codingB\003\340A\001\0227\n\016departure_time\030\007 \001(\0132\032.go"
          + "ogle.protobuf.TimestampB\003\340A\001\0225\n\014arrival_"
          + "time\030\023 \001(\0132\032.google.protobuf.TimestampB\003"
          + "\340A\001\022\'\n\032compute_alternative_routes\030\010 \001(\010B"
          + "\003\340A\001\022D\n\017route_modifiers\030\t \001(\0132&.google.m"
          + "aps.routing.v2.RouteModifiersB\003\340A\001\022\032\n\rla"
          + "nguage_code\030\n \001(\tB\003\340A\001\022\030\n\013region_code\030\020 "
          + "\001(\tB\003\340A\001\0221\n\005units\030\013 \001(\0162\035.google.maps.ro"
          + "uting.v2.UnitsB\003\340A\001\022$\n\027optimize_waypoint"
          + "_order\030\r \001(\010B\003\340A\001\022d\n\032requested_reference"
          + "_routes\030\016 \003(\0162;.google.maps.routing.v2.C"
          + "omputeRoutesRequest.ReferenceRouteB\003\340A\001\022"
          + "^\n\022extra_computations\030\017 \003(\0162=.google.map"
          + "s.routing.v2.ComputeRoutesRequest.ExtraC"
          + "omputationB\003\340A\001\022@\n\rtraffic_model\030\022 \001(\0162$"
          + ".google.maps.routing.v2.TrafficModelB\003\340A"
          + "\001\022L\n\023transit_preferences\030\024 \001(\0132*.google."
          + "maps.routing.v2.TransitPreferencesB\003\340A\001\""
          + "[\n\016ReferenceRoute\022\037\n\033REFERENCE_ROUTE_UNS"
          + "PECIFIED\020\000\022\022\n\016FUEL_EFFICIENT\020\001\022\024\n\020SHORTE"
          + "R_DISTANCE\020\002\"\333\001\n\020ExtraComputation\022!\n\035EXT"
          + "RA_COMPUTATION_UNSPECIFIED\020\000\022\t\n\005TOLLS\020\001\022"
          + "\024\n\020FUEL_CONSUMPTION\020\002\022\027\n\023TRAFFIC_ON_POLY"
          + "LINE\020\003\022*\n&HTML_FORMATTED_NAVIGATION_INST"
          + "RUCTIONS\020\004\022\034\n\030FLYOVER_INFO_ON_POLYLINE\020\007"
          + "\022 \n\034NARROW_ROAD_INFO_ON_POLYLINE\020\010\"\310\001\n\025C"
          + "omputeRoutesResponse\022-\n\006routes\030\001 \003(\0132\035.g"
          + "oogle.maps.routing.v2.Route\022;\n\rfallback_"
          + "info\030\002 \001(\0132$.google.maps.routing.v2.Fall"
          + "backInfo\022C\n\021geocoding_results\030\003 \001(\0132(.go"
          + "ogle.maps.routing.v2.GeocodingResults\"\306\006"
          + "\n\031ComputeRouteMatrixRequest\022?\n\007origins\030\001"
          + " \003(\0132).google.maps.routing.v2.RouteMatri"
          + "xOriginB\003\340A\002\022I\n\014destinations\030\002 \003(\0132..goo"
          + "gle.maps.routing.v2.RouteMatrixDestinati"
          + "onB\003\340A\002\022A\n\013travel_mode\030\003 \001(\0162\'.google.ma"
          + "ps.routing.v2.RouteTravelModeB\003\340A\001\022J\n\022ro"
          + "uting_preference\030\004 \001(\0162).google.maps.rou"
          + "ting.v2.RoutingPreferenceB\003\340A\001\0227\n\016depart"
          + "ure_time\030\005 \001(\0132\032.google.protobuf.Timesta"
          + "mpB\003\340A\001\0225\n\014arrival_time\030\013 \001(\0132\032.google.p"
          + "rotobuf.TimestampB\003\340A\001\022\032\n\rlanguage_code\030"
          + "\006 \001(\tB\003\340A\001\022\030\n\013region_code\030\t \001(\tB\003\340A\001\0221\n\005"
          + "units\030\007 \001(\0162\035.google.maps.routing.v2.Uni"
          + "tsB\003\340A\001\022c\n\022extra_computations\030\010 \003(\0162B.go"
          + "ogle.maps.routing.v2.ComputeRouteMatrixR"
          + "equest.ExtraComputationB\003\340A\001\022@\n\rtraffic_"
          + "model\030\n \001(\0162$.google.maps.routing.v2.Tra"
          + "fficModelB\003\340A\001\022L\n\023transit_preferences\030\014 "
          + "\001(\0132*.google.maps.routing.v2.TransitPref"
          + "erencesB\003\340A\001\"@\n\020ExtraComputation\022!\n\035EXTR"
          + "A_COMPUTATION_UNSPECIFIED\020\000\022\t\n\005TOLLS\020\001\"\222"
          + "\001\n\021RouteMatrixOrigin\0227\n\010waypoint\030\001 \001(\0132 "
          + ".google.maps.routing.v2.WaypointB\003\340A\002\022D\n"
          + "\017route_modifiers\030\002 \001(\0132&.google.maps.rou"
          + "ting.v2.RouteModifiersB\003\340A\001\"Q\n\026RouteMatr"
          + "ixDestination\0227\n\010waypoint\030\001 \001(\0132 .google"
          + ".maps.routing.v2.WaypointB\003\340A\002\"\214\006\n\022Route"
          + "MatrixElement\022\031\n\014origin_index\030\001 \001(\005H\000\210\001\001"
          + "\022\036\n\021destination_index\030\002 \001(\005H\001\210\001\001\022\"\n\006stat"
          + "us\030\003 \001(\0132\022.google.rpc.Status\022F\n\tconditio"
          + "n\030\t \001(\01623.google.maps.routing.v2.RouteMa"
          + "trixElementCondition\022\027\n\017distance_meters\030"
          + "\004 \001(\005\022+\n\010duration\030\005 \001(\0132\031.google.protobu"
          + "f.Duration\0222\n\017static_duration\030\006 \001(\0132\031.go"
          + "ogle.protobuf.Duration\022D\n\017travel_advisor"
          + "y\030\007 \001(\0132+.google.maps.routing.v2.RouteTr"
          + "avelAdvisory\022;\n\rfallback_info\030\010 \001(\0132$.go"
          + "ogle.maps.routing.v2.FallbackInfo\022T\n\020loc"
          + "alized_values\030\n \001(\0132:.google.maps.routin"
          + "g.v2.RouteMatrixElement.LocalizedValues\032"
          + "\324\001\n\017LocalizedValues\022,\n\010distance\030\001 \001(\0132\032."
          + "google.type.LocalizedText\022,\n\010duration\030\002 "
          + "\001(\0132\032.google.type.LocalizedText\0223\n\017stati"
          + "c_duration\030\003 \001(\0132\032.google.type.Localized"
          + "Text\0220\n\014transit_fare\030\004 \001(\0132\032.google.type"
          + ".LocalizedTextB\017\n\r_origin_indexB\024\n\022_dest"
          + "ination_index*t\n\033RouteMatrixElementCondi"
          + "tion\022.\n*ROUTE_MATRIX_ELEMENT_CONDITION_U"
          + "NSPECIFIED\020\000\022\020\n\014ROUTE_EXISTS\020\001\022\023\n\017ROUTE_"
          + "NOT_FOUND\020\0022\344\002\n\006Routes\022\225\001\n\rComputeRoutes"
          + "\022,.google.maps.routing.v2.ComputeRoutesR"
          + "equest\032-.google.maps.routing.v2.ComputeR"
          + "outesResponse\"\'\202\323\344\223\002!\"\034/directions/v2:co"
          + "mputeRoutes:\001*\022\247\001\n\022ComputeRouteMatrix\0221."
          + "google.maps.routing.v2.ComputeRouteMatri"
          + "xRequest\032*.google.maps.routing.v2.RouteM"
          + "atrixElement\"0\202\323\344\223\002*\"%/distanceMatrix/v2"
          + ":computeRouteMatrix:\001*0\001\032\030\312A\025routes.goog"
          + "leapis.comB\304\001\n\032com.google.maps.routing.v"
          + "2B\022RoutesServiceProtoP\001Z:cloud.google.co"
          + "m/go/maps/routing/apiv2/routingpb;routin"
          + "gpb\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026G"
          + "oogle\\Maps\\Routing\\V2\352\002\031Google::Maps::Ro"
          + "uting::V2b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.AnnotationsProto.getDescriptor(),
              com.google.api.ClientProto.getDescriptor(),
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.maps.routing.v2.FallbackInfoProto.getDescriptor(),
              com.google.maps.routing.v2.GeocodingResultsProto.getDescriptor(),
              com.google.maps.routing.v2.PolylineProto.getDescriptor(),
              com.google.maps.routing.v2.RouteProto.getDescriptor(),
              com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(),
              com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(),
              com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(),
              com.google.maps.routing.v2.TrafficModelProto.getDescriptor(),
              com.google.maps.routing.v2.TransitPreferencesProto.getDescriptor(),
              com.google.maps.routing.v2.UnitsProto.getDescriptor(),
              com.google.maps.routing.v2.WaypointProto.getDescriptor(),
              com.google.protobuf.DurationProto.getDescriptor(),
              com.google.protobuf.TimestampProto.getDescriptor(),
              com.google.rpc.StatusProto.getDescriptor(),
              com.google.type.LocalizedTextProto.getDescriptor(),
            });
    internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor,
            new java.lang.String[] {
              "Origin",
              "Destination",
              "Intermediates",
              "TravelMode",
              "RoutingPreference",
              "PolylineQuality",
              "PolylineEncoding",
              "DepartureTime",
              "ArrivalTime",
              "ComputeAlternativeRoutes",
              "RouteModifiers",
              "LanguageCode",
              "RegionCode",
              "Units",
              "OptimizeWaypointOrder",
              "RequestedReferenceRoutes",
              "ExtraComputations",
              "TrafficModel",
              "TransitPreferences",
            });
    internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor,
            new java.lang.String[] {
              "Routes", "FallbackInfo", "GeocodingResults",
            });
    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor,
            new java.lang.String[] {
              "Origins",
              "Destinations",
              "TravelMode",
              "RoutingPreference",
              "DepartureTime",
              "ArrivalTime",
              "LanguageCode",
              "RegionCode",
              "Units",
              "ExtraComputations",
              "TrafficModel",
              "TransitPreferences",
            });
    internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor,
            new java.lang.String[] {
              "Waypoint", "RouteModifiers",
            });
    internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor,
            new java.lang.String[] {
              "Waypoint",
            });
    internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor =
        getDescriptor().getMessageTypes().get(5);
    internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor,
            new java.lang.String[] {
              "OriginIndex",
              "DestinationIndex",
              "Status",
              "Condition",
              "DistanceMeters",
              "Duration",
              "StaticDuration",
              "TravelAdvisory",
              "FallbackInfo",
              "LocalizedValues",
            });
    internal_static_google_maps_routing_v2_RouteMatrixElement_LocalizedValues_descriptor =
        internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_maps_routing_v2_RouteMatrixElement_LocalizedValues_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_maps_routing_v2_RouteMatrixElement_LocalizedValues_descriptor,
            new java.lang.String[] {
              "Distance", "Duration", "StaticDuration", "TransitFare",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.ClientProto.defaultHost);
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.AnnotationsProto.http);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.AnnotationsProto.getDescriptor();
    com.google.api.ClientProto.getDescriptor();
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.maps.routing.v2.FallbackInfoProto.getDescriptor();
    com.google.maps.routing.v2.GeocodingResultsProto.getDescriptor();
    com.google.maps.routing.v2.PolylineProto.getDescriptor();
    com.google.maps.routing.v2.RouteProto.getDescriptor();
    com.google.maps.routing.v2.RouteModifiersProto.getDescriptor();
    com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor();
    com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor();
    com.google.maps.routing.v2.TrafficModelProto.getDescriptor();
    com.google.maps.routing.v2.TransitPreferencesProto.getDescriptor();
    com.google.maps.routing.v2.UnitsProto.getDescriptor();
    com.google.maps.routing.v2.WaypointProto.getDescriptor();
    com.google.protobuf.DurationProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
    com.google.rpc.StatusProto.getDescriptor();
    com.google.type.LocalizedTextProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy