com.google.maps.routing.v2.RoutesServiceProto 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/routes_service.proto
// Protobuf Java Version: 3.25.3
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"
+ "\"\221\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\""
+ "E\n\016ReferenceRoute\022\037\n\033REFERENCE_ROUTE_UNS"
+ "PECIFIED\020\000\022\022\n\016FUEL_EFFICIENT\020\001\"\233\001\n\020Extra"
+ "Computation\022!\n\035EXTRA_COMPUTATION_UNSPECI"
+ "FIED\020\000\022\t\n\005TOLLS\020\001\022\024\n\020FUEL_CONSUMPTION\020\002\022"
+ "\027\n\023TRAFFIC_ON_POLYLINE\020\003\022*\n&HTML_FORMATT"
+ "ED_NAVIGATION_INSTRUCTIONS\020\004\"\310\001\n\025Compute"
+ "RoutesResponse\022-\n\006routes\030\001 \003(\0132\035.google."
+ "maps.routing.v2.Route\022;\n\rfallback_info\030\002"
+ " \001(\0132$.google.maps.routing.v2.FallbackIn"
+ "fo\022C\n\021geocoding_results\030\003 \001(\0132(.google.m"
+ "aps.routing.v2.GeocodingResults\"\306\006\n\031Comp"
+ "uteRouteMatrixRequest\022?\n\007origins\030\001 \003(\0132)"
+ ".google.maps.routing.v2.RouteMatrixOrigi"
+ "nB\003\340A\002\022I\n\014destinations\030\002 \003(\0132..google.ma"
+ "ps.routing.v2.RouteMatrixDestinationB\003\340A"
+ "\002\022A\n\013travel_mode\030\003 \001(\0162\'.google.maps.rou"
+ "ting.v2.RouteTravelModeB\003\340A\001\022J\n\022routing_"
+ "preference\030\004 \001(\0162).google.maps.routing.v"
+ "2.RoutingPreferenceB\003\340A\001\0227\n\016departure_ti"
+ "me\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A"
+ "\001\0225\n\014arrival_time\030\013 \001(\0132\032.google.protobu"
+ "f.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\005units\030"
+ "\007 \001(\0162\035.google.maps.routing.v2.UnitsB\003\340A"
+ "\001\022c\n\022extra_computations\030\010 \003(\0162B.google.m"
+ "aps.routing.v2.ComputeRouteMatrixRequest"
+ ".ExtraComputationB\003\340A\001\022@\n\rtraffic_model\030"
+ "\n \001(\0162$.google.maps.routing.v2.TrafficMo"
+ "delB\003\340A\001\022L\n\023transit_preferences\030\014 \001(\0132*."
+ "google.maps.routing.v2.TransitPreference"
+ "sB\003\340A\001\"@\n\020ExtraComputation\022!\n\035EXTRA_COMP"
+ "UTATION_UNSPECIFIED\020\000\022\t\n\005TOLLS\020\001\"\222\001\n\021Rou"
+ "teMatrixOrigin\0227\n\010waypoint\030\001 \001(\0132 .googl"
+ "e.maps.routing.v2.WaypointB\003\340A\002\022D\n\017route"
+ "_modifiers\030\002 \001(\0132&.google.maps.routing.v"
+ "2.RouteModifiersB\003\340A\001\"Q\n\026RouteMatrixDest"
+ "ination\0227\n\010waypoint\030\001 \001(\0132 .google.maps."
+ "routing.v2.WaypointB\003\340A\002\"\214\006\n\022RouteMatrix"
+ "Element\022\031\n\014origin_index\030\001 \001(\005H\000\210\001\001\022\036\n\021de"
+ "stination_index\030\002 \001(\005H\001\210\001\001\022\"\n\006status\030\003 \001"
+ "(\0132\022.google.rpc.Status\022F\n\tcondition\030\t \001("
+ "\01623.google.maps.routing.v2.RouteMatrixEl"
+ "ementCondition\022\027\n\017distance_meters\030\004 \001(\005\022"
+ "+\n\010duration\030\005 \001(\0132\031.google.protobuf.Dura"
+ "tion\0222\n\017static_duration\030\006 \001(\0132\031.google.p"
+ "rotobuf.Duration\022D\n\017travel_advisory\030\007 \001("
+ "\0132+.google.maps.routing.v2.RouteTravelAd"
+ "visory\022;\n\rfallback_info\030\010 \001(\0132$.google.m"
+ "aps.routing.v2.FallbackInfo\022T\n\020localized"
+ "_values\030\n \001(\0132:.google.maps.routing.v2.R"
+ "outeMatrixElement.LocalizedValues\032\324\001\n\017Lo"
+ "calizedValues\022,\n\010distance\030\001 \001(\0132\032.google"
+ ".type.LocalizedText\022,\n\010duration\030\002 \001(\0132\032."
+ "google.type.LocalizedText\0223\n\017static_dura"
+ "tion\030\003 \001(\0132\032.google.type.LocalizedText\0220"
+ "\n\014transit_fare\030\004 \001(\0132\032.google.type.Local"
+ "izedTextB\017\n\r_origin_indexB\024\n\022_destinatio"
+ "n_index*t\n\033RouteMatrixElementCondition\022."
+ "\n*ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECI"
+ "FIED\020\000\022\020\n\014ROUTE_EXISTS\020\001\022\023\n\017ROUTE_NOT_FO"
+ "UND\020\0022\344\002\n\006Routes\022\225\001\n\rComputeRoutes\022,.goo"
+ "gle.maps.routing.v2.ComputeRoutesRequest"
+ "\032-.google.maps.routing.v2.ComputeRoutesR"
+ "esponse\"\'\202\323\344\223\002!\"\034/directions/v2:computeR"
+ "outes:\001*\022\247\001\n\022ComputeRouteMatrix\0221.google"
+ ".maps.routing.v2.ComputeRouteMatrixReque"
+ "st\032*.google.maps.routing.v2.RouteMatrixE"
+ "lement\"0\202\323\344\223\002*\"%/distanceMatrix/v2:compu"
+ "teRouteMatrix:\001*0\001\032\030\312A\025routes.googleapis"
+ ".comB\307\001\n\032com.google.maps.routing.v2B\022Rou"
+ "tesServiceProtoP\001Z:cloud.google.com/go/m"
+ "aps/routing/apiv2/routingpb;routingpb\370\001\001"
+ "\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Goog"
+ "le\\Maps\\Routing\\V2\352\002\031Google::Maps::Routi"
+ "ng::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