@googlemaps/routing 1.2.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +2 -2
  3. package/build/protos/google/geo/type/viewport.proto +1 -1
  4. package/build/protos/google/maps/routing/v2/fallback_info.proto +5 -5
  5. package/build/protos/google/maps/routing/v2/geocoding_results.proto +4 -5
  6. package/build/protos/google/maps/routing/v2/localized_time.proto +1 -2
  7. package/build/protos/google/maps/routing/v2/location.proto +2 -3
  8. package/build/protos/google/maps/routing/v2/maneuver.proto +2 -3
  9. package/build/protos/google/maps/routing/v2/navigation_instruction.proto +5 -5
  10. package/build/protos/google/maps/routing/v2/polyline.proto +3 -4
  11. package/build/protos/google/maps/routing/v2/polyline_details.proto +84 -0
  12. package/build/protos/google/maps/routing/v2/route.proto +30 -23
  13. package/build/protos/google/maps/routing/v2/route_label.proto +6 -4
  14. package/build/protos/google/maps/routing/v2/route_modifiers.proto +6 -7
  15. package/build/protos/google/maps/routing/v2/route_travel_mode.proto +1 -2
  16. package/build/protos/google/maps/routing/v2/routes_service.proto +84 -44
  17. package/build/protos/google/maps/routing/v2/routing_preference.proto +6 -5
  18. package/build/protos/google/maps/routing/v2/speed_reading_interval.proto +3 -4
  19. package/build/protos/google/maps/routing/v2/toll_info.proto +5 -5
  20. package/build/protos/google/maps/routing/v2/toll_passes.proto +17 -3
  21. package/build/protos/google/maps/routing/v2/traffic_model.proto +1 -2
  22. package/build/protos/google/maps/routing/v2/transit.proto +1 -2
  23. package/build/protos/google/maps/routing/v2/transit_preferences.proto +1 -2
  24. package/build/protos/google/maps/routing/v2/units.proto +1 -2
  25. package/build/protos/google/maps/routing/v2/vehicle_emission_type.proto +2 -3
  26. package/build/protos/google/maps/routing/v2/vehicle_info.proto +2 -2
  27. package/build/protos/google/maps/routing/v2/waypoint.proto +5 -6
  28. package/build/protos/protos.d.ts +695 -248
  29. package/build/protos/protos.js +1690 -510
  30. package/build/protos/protos.json +154 -50
  31. package/build/src/v2/routes_client.d.ts +49 -37
  32. package/build/src/v2/routes_client.js +24 -20
  33. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -35,7 +35,6 @@ import "google/protobuf/timestamp.proto";
35
35
  import "google/rpc/status.proto";
36
36
  import "google/type/localized_text.proto";
37
37
 
38
- option cc_enable_arenas = true;
39
38
  option csharp_namespace = "Google.Maps.Routing.V2";
40
39
  option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb";
41
40
  option java_multiple_files = true;
@@ -56,7 +55,7 @@ service Routes {
56
55
  // the input. You can provide the response field mask by using URL parameter
57
56
  // `$fields` or `fields`, or by using an HTTP/gRPC header `X-Goog-FieldMask`
58
57
  // (see the [available URL parameters and
59
- // headers](https://cloud.google.com/apis/docs/system-parameters). The value
58
+ // headers](https://cloud.google.com/apis/docs/system-parameters)). The value
60
59
  // is a comma separated list of field paths. See detailed documentation about
61
60
  // [how to construct the field
62
61
  // paths](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto).
@@ -98,9 +97,9 @@ service Routes {
98
97
  // the input. You can provide the response field mask by using the URL
99
98
  // parameter `$fields` or `fields`, or by using the HTTP/gRPC header
100
99
  // `X-Goog-FieldMask` (see the [available URL parameters and
101
- // headers](https://cloud.google.com/apis/docs/system-parameters). The value
102
- // is a comma separated list of field paths. See this detailed documentation
103
- // about [how to construct the field
100
+ // headers](https://cloud.google.com/apis/docs/system-parameters)).
101
+ // The value is a comma separated list of field paths. See this detailed
102
+ // documentation about [how to construct the field
104
103
  // paths](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto).
105
104
  //
106
105
  // For example, in this method:
@@ -142,9 +141,24 @@ message ComputeRoutesRequest {
142
141
  // Not used. Requests containing this value fail.
143
142
  REFERENCE_ROUTE_UNSPECIFIED = 0;
144
143
 
145
- // Fuel efficient route. Routes labeled with this value are determined to be
146
- // optimized for parameters such as fuel consumption.
144
+ // Fuel efficient route.
147
145
  FUEL_EFFICIENT = 1;
146
+
147
+ // Route with shorter travel distance. This is an experimental feature.
148
+ //
149
+ // For `DRIVE` requests, this feature prioritizes shorter distance over
150
+ // driving comfort. For example, it may prefer local roads instead of
151
+ // highways, take dirt roads, cut through parking lots, etc. This feature
152
+ // does not return any maneuvers that Google Maps knows to be illegal.
153
+ //
154
+ // For `BICYCLE` and `TWO_WHEELER` requests, this feature returns routes
155
+ // similar to those returned when you don't specify
156
+ // `requested_reference_routes`.
157
+ //
158
+ // This feature is not compatible with any other travel modes, via
159
+ // intermediate waypoints, or `optimize_waypoint_order`; such requests will
160
+ // fail. However, you can use it with any `routing_preference`.
161
+ SHORTER_DISTANCE = 2;
148
162
  }
149
163
 
150
164
  // Extra computations to perform while completing the request.
@@ -161,12 +175,25 @@ message ComputeRoutesRequest {
161
175
  // Traffic aware polylines for the route(s).
162
176
  TRAFFIC_ON_POLYLINE = 3;
163
177
 
164
- // [Navigation
165
- // Instructions][google.maps.routing.v2.NavigationInstructions.instructions]
178
+ // [`NavigationInstructions`](google.maps.routing.v2.NavigationInstructions.instructions)
166
179
  // presented as a formatted HTML text string. This content
167
180
  // is meant to be read as-is. This content is for display only.
168
181
  // Do not programmatically parse it.
169
182
  HTML_FORMATTED_NAVIGATION_INSTRUCTIONS = 4;
183
+
184
+ // Flyover information for the route(s). The
185
+ // `routes.polyline_details.flyover_info` fieldmask must be specified to
186
+ // return this information. This data will only currently be populated for
187
+ // certain metros in India. This feature is experimental, and the
188
+ // SKU/charge is subject to change.
189
+ FLYOVER_INFO_ON_POLYLINE = 7;
190
+
191
+ // Narrow road information for the route(s). The
192
+ // `routes.polyline_details.narrow_road_info` fieldmask must be specified
193
+ // to return this information. This data will only currently be populated
194
+ // for certain metros in India. This feature is experimental, and the
195
+ // SKU/charge is subject to change.
196
+ NARROW_ROAD_INFO_ON_POLYLINE = 8;
170
197
  }
171
198
 
172
199
  // Required. Origin waypoint.
@@ -201,16 +228,18 @@ message ComputeRoutesRequest {
201
228
  // Optional. The departure time. If you don't set this value, then this value
202
229
  // defaults to the time that you made the request.
203
230
  // NOTE: You can only specify a `departure_time` in the past when
204
- // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] is set to
205
- // `TRANSIT`.
231
+ // [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode] is set to
232
+ // `TRANSIT`. Transit trips are available for up to 7 days in the past or 100
233
+ // days in the future.
206
234
  google.protobuf.Timestamp departure_time = 7
207
235
  [(google.api.field_behavior) = OPTIONAL];
208
236
 
209
237
  // Optional. The arrival time.
210
238
  // NOTE: Can only be set when
211
239
  // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] is set to
212
- // `TRANSIT`. You can specify either departure_time or arrival_time, but not
213
- // both.
240
+ // `TRANSIT`. You can specify either `departure_time` or `arrival_time`, but
241
+ // not both. Transit trips are available for up to 7 days in the past or 100
242
+ // days in the future.
214
243
  google.protobuf.Timestamp arrival_time = 19
215
244
  [(google.api.field_behavior) = OPTIONAL];
216
245
 
@@ -224,23 +253,24 @@ message ComputeRoutesRequest {
224
253
  RouteModifiers route_modifiers = 9 [(google.api.field_behavior) = OPTIONAL];
225
254
 
226
255
  // Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
227
- // information, see
228
- // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. See
229
- // [Language Support](https://developers.google.com/maps/faq#languagesupport)
256
+ // information, see [Unicode Locale
257
+ // Identifier](http://www.unicode.org/reports/tr35/#Unicode_locale_identifier).
258
+ // See [Language
259
+ // Support](https://developers.google.com/maps/faq#languagesupport)
230
260
  // for the list of supported languages. When you don't provide this value, the
231
261
  // display language is inferred from the location of the route request.
232
262
  string language_code = 10 [(google.api.field_behavior) = OPTIONAL];
233
263
 
234
264
  // Optional. The region code, specified as a ccTLD ("top-level domain")
235
- // two-character value. For more information see
236
- // https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Country_code_top-level_domains
265
+ // two-character value. For more information see [Country code top-level
266
+ // domains](https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Country_code_top-level_domains).
237
267
  string region_code = 16 [(google.api.field_behavior) = OPTIONAL];
238
268
 
239
269
  // Optional. Specifies the units of measure for the display fields. These
240
270
  // fields include the `instruction` field in
241
- // [NavigationInstruction][google.maps.routing.v2.NavigationInstruction]. The
242
- // units of measure used for the route, leg, step distance, and duration are
243
- // not affected by this value. If you don't provide this value, then the
271
+ // [`NavigationInstruction`][google.maps.routing.v2.NavigationInstruction].
272
+ // The units of measure used for the route, leg, step distance, and duration
273
+ // are not affected by this value. If you don't provide this value, then the
244
274
  // display units are inferred from the location of the first origin.
245
275
  Units units = 11 [(google.api.field_behavior) = OPTIONAL];
246
276
 
@@ -260,7 +290,10 @@ message ComputeRoutesRequest {
260
290
  // request in addition to the default route. A reference route is a route with
261
291
  // a different route calculation objective than the default route. For example
262
292
  // a `FUEL_EFFICIENT` reference route calculation takes into account various
263
- // parameters that would generate an optimal fuel efficient route.
293
+ // parameters that would generate an optimal fuel efficient route. When using
294
+ // this feature, look for
295
+ // [`route_labels`][google.maps.routing.v2.Route.route_labels] on the
296
+ // resulting routes.
264
297
  repeated ReferenceRoute requested_reference_routes = 14
265
298
  [(google.api.field_behavior) = OPTIONAL];
266
299
 
@@ -273,20 +306,21 @@ message ComputeRoutesRequest {
273
306
 
274
307
  // Optional. Specifies the assumptions to use when calculating time in
275
308
  // traffic. This setting affects the value returned in the duration field in
276
- // the [Route][google.maps.routing.v2.Route] and
277
- // [RouteLeg][google.maps.routing.v2.RouteLeg] which contains the predicted
309
+ // the
310
+ // [`Route`][google.maps.routing.v2.Route] and
311
+ // [`RouteLeg`][google.maps.routing.v2.RouteLeg] which contains the predicted
278
312
  // time in traffic based on historical averages.
279
313
  // `TrafficModel` is only available for requests that have set
280
- // [RoutingPreference][google.maps.routing.v2.RoutingPreference] to
314
+ // [`RoutingPreference`][google.maps.routing.v2.RoutingPreference] to
281
315
  // `TRAFFIC_AWARE_OPTIMAL` and
282
- // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] to `DRIVE`.
316
+ // [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode] to `DRIVE`.
283
317
  // Defaults to `BEST_GUESS` if traffic is requested and `TrafficModel` is not
284
318
  // specified.
285
319
  TrafficModel traffic_model = 18 [(google.api.field_behavior) = OPTIONAL];
286
320
 
287
321
  // Optional. Specifies preferences that influence the route returned for
288
322
  // `TRANSIT` routes. NOTE: You can only specify a `transit_preferences` when
289
- // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] is set to
323
+ // [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode] is set to
290
324
  // `TRANSIT`.
291
325
  TransitPreferences transit_preferences = 20
292
326
  [(google.api.field_behavior) = OPTIONAL];
@@ -295,7 +329,7 @@ message ComputeRoutesRequest {
295
329
  // ComputeRoutes the response message.
296
330
  message ComputeRoutesResponse {
297
331
  // Contains an array of computed routes (up to three) when you specify
298
- // compute_alternatives_routes, and contains just one route when you don't.
332
+ // `compute_alternatives_routes`, and contains just one route when you don't.
299
333
  // When this array contains multiple entries, the first one is the most
300
334
  // recommended route. If the array is empty, then it means no route could be
301
335
  // found.
@@ -326,12 +360,14 @@ message ComputeRouteMatrixRequest {
326
360
  // matrix. Several size restrictions apply to the cardinality of origins and
327
361
  // destinations:
328
362
  //
329
- // * The number of elements (origins × destinations) must be no greater than
330
- // 625 in any case.
331
- // * The number of elements (origins × destinations) must be no greater than
332
- // 100 if routing_preference is set to `TRAFFIC_AWARE_OPTIMAL`.
333
- // * The number of waypoints (origins + destinations) specified as `place_id`
334
- // must be no greater than 50.
363
+ // * The sum of the number of origins + the number of destinations specified
364
+ // as either `place_id` or `address` must be no greater than 50.
365
+ // * The product of number of origins × number of destinations must be no
366
+ // greater than 625 in any case.
367
+ // * The product of the number of origins × number of destinations must be no
368
+ // greater than 100 if routing_preference is set to `TRAFFIC_AWARE_OPTIMAL`.
369
+ // * The product of the number of origins × number of destinations must be no
370
+ // greater than 100 if travel_mode is set to `TRANSIT`.
335
371
  repeated RouteMatrixOrigin origins = 1
336
372
  [(google.api.field_behavior) = REQUIRED];
337
373
 
@@ -354,32 +390,36 @@ message ComputeRouteMatrixRequest {
354
390
  // Optional. The departure time. If you don't set this value, then this value
355
391
  // defaults to the time that you made the request.
356
392
  // NOTE: You can only specify a `departure_time` in the past when
357
- // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] is set to
393
+ // [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode] is set to
358
394
  // `TRANSIT`.
359
395
  google.protobuf.Timestamp departure_time = 5
360
396
  [(google.api.field_behavior) = OPTIONAL];
361
397
 
362
398
  // Optional. The arrival time.
363
399
  // NOTE: Can only be set when
364
- // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] is set to
365
- // `TRANSIT`. You can specify either departure_time or arrival_time, but not
366
- // both.
400
+ // [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode] is set to
401
+ // `TRANSIT`. You can specify either `departure_time` or `arrival_time`, but
402
+ // not both.
367
403
  google.protobuf.Timestamp arrival_time = 11
368
404
  [(google.api.field_behavior) = OPTIONAL];
369
405
 
370
406
  // Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
371
- // information, see
372
- // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. See
373
- // [Language Support](https://developers.google.com/maps/faq#languagesupport)
407
+ // information, see [Unicode Locale
408
+ // Identifier](http://www.unicode.org/reports/tr35/#Unicode_locale_identifier).
409
+ // See [Language
410
+ // Support](https://developers.google.com/maps/faq#languagesupport)
374
411
  // for the list of supported languages. When you don't provide this value, the
375
412
  // display language is inferred from the location of the first origin.
376
413
  string language_code = 6 [(google.api.field_behavior) = OPTIONAL];
377
414
 
378
415
  // Optional. The region code, specified as a ccTLD ("top-level domain")
379
- // two-character value. For more information see
380
- // https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Country_code_top-level_domains
416
+ // two-character value. For more information see [Country code top-level
417
+ // domains](https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Country_code_top-level_domains).
381
418
  string region_code = 9 [(google.api.field_behavior) = OPTIONAL];
382
419
 
420
+ // Optional. Specifies the units of measure for the display fields.
421
+ Units units = 7 [(google.api.field_behavior) = OPTIONAL];
422
+
383
423
  // Optional. A list of extra computations which may be used to complete the
384
424
  // request. Note: These extra computations may return extra fields on the
385
425
  // response. These extra fields must also be specified in the field mask to be
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@ syntax = "proto3";
16
16
 
17
17
  package google.maps.routing.v2;
18
18
 
19
- option cc_enable_arenas = true;
20
19
  option csharp_namespace = "Google.Maps.Routing.V2";
21
20
  option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb";
22
21
  option java_multiple_files = true;
@@ -35,9 +34,11 @@ enum RoutingPreference {
35
34
  // Computes routes without taking live traffic conditions into consideration.
36
35
  // Suitable when traffic conditions don't matter or are not applicable.
37
36
  // Using this value produces the lowest latency.
38
- // Note: For [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] `DRIVE`
39
- // and `TWO_WHEELER` choice of route and duration are based on road network
40
- // and average time-independent traffic conditions. Results for a given
37
+ // Note: For [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode]
38
+ // `DRIVE` and `TWO_WHEELER`, the route and duration chosen are based on road
39
+ // network and average time-independent traffic conditions, not current road
40
+ // conditions. Consequently, routes may include roads that are temporarily
41
+ // closed. Results for a given
41
42
  // request may vary over time due to changes in the road network, updated
42
43
  // average traffic conditions, and the distributed nature of the service.
43
44
  // Results may also vary between nearly-equivalent routes at any time or
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@ syntax = "proto3";
16
16
 
17
17
  package google.maps.routing.v2;
18
18
 
19
- option cc_enable_arenas = true;
20
19
  option csharp_namespace = "Google.Maps.Routing.V2";
21
20
  option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb";
22
21
  option java_multiple_files = true;
@@ -28,8 +27,8 @@ option ruby_package = "Google::Maps::Routing::V2";
28
27
 
29
28
  // Traffic density indicator on a contiguous segment of a polyline or path.
30
29
  // Given a path with points P_0, P_1, ... , P_N (zero-based index), the
31
- // SpeedReadingInterval defines an interval and describes its traffic using the
32
- // following categories.
30
+ // `SpeedReadingInterval` defines an interval and describes its traffic using
31
+ // the following categories.
33
32
  message SpeedReadingInterval {
34
33
  // The classification of polyline speed based on traffic data.
35
34
  enum Speed {
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -28,12 +28,12 @@ option objc_class_prefix = "GMRV2";
28
28
  option php_namespace = "Google\\Maps\\Routing\\V2";
29
29
  option ruby_package = "Google::Maps::Routing::V2";
30
30
 
31
- // Encapsulates toll information on a [Route][google.maps.routing.v2.Route] or
32
- // on a [RouteLeg][google.maps.routing.v2.RouteLeg].
31
+ // Encapsulates toll information on a [`Route`][google.maps.routing.v2.Route] or
32
+ // on a [`RouteLeg`][google.maps.routing.v2.RouteLeg].
33
33
  message TollInfo {
34
34
  // The monetary amount of tolls for the corresponding
35
- // [Route][google.maps.routing.v2.Route] or
36
- // [RouteLeg][google.maps.routing.v2.RouteLeg]. This list contains a money
35
+ // [`Route`][google.maps.routing.v2.Route] or
36
+ // [`RouteLeg`][google.maps.routing.v2.RouteLeg]. This list contains a money
37
37
  // amount for each currency that is expected to be charged by the toll
38
38
  // stations. Typically this list will contain only one item for routes with
39
39
  // tolls in one currency. For international trips, this list may contain
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@ syntax = "proto3";
16
16
 
17
17
  package google.maps.routing.v2;
18
18
 
19
- option cc_enable_arenas = true;
20
19
  option csharp_namespace = "Google.Maps.Routing.V2";
21
20
  option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb";
22
21
  option java_multiple_files = true;
@@ -31,7 +30,8 @@ enum TollPass {
31
30
  // Not used. If this value is used, then the request fails.
32
31
  TOLL_PASS_UNSPECIFIED = 0;
33
32
 
34
- // Sydney toll pass. See additional details at https://www.myetoll.com.au.
33
+ // Sydney toll pass. See additional details at
34
+ // https://www.myetoll.com.au.
35
35
  AU_ETOLL_TAG = 82;
36
36
 
37
37
  // Sydney toll pass. See additional details at https://www.tollpay.com.au.
@@ -95,6 +95,17 @@ enum TollPass {
95
95
  // India, HP state plate exemption.
96
96
  IN_LOCAL_HP_PLATE_EXEMPT = 79;
97
97
 
98
+ // Japan
99
+ // ETC. Electronic wireless system to collect tolls.
100
+ // https://www.go-etc.jp/
101
+ JP_ETC = 98;
102
+
103
+ // Japan
104
+ // ETC2.0. New version of ETC with further discount and bidirectional
105
+ // communication between devices on vehicles and antennas on the road.
106
+ // https://www.go-etc.jp/etc2/index.html
107
+ JP_ETC2 = 99;
108
+
98
109
  // Mexico toll pass.
99
110
  // https://iave.capufe.gob.mx/#/
100
111
  MX_IAVE = 90;
@@ -329,6 +340,9 @@ enum TollPass {
329
340
  // WV, USA.
330
341
  US_WV_MEMORIAL_BRIDGE_TICKETS = 63;
331
342
 
343
+ // WV, USA
344
+ US_WV_MOV_PASS = 100;
345
+
332
346
  // WV, USA.
333
347
  US_WV_NEWELL_TOLL_BRIDGE_TICKET = 64;
334
348
  }
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@ syntax = "proto3";
16
16
 
17
17
  package google.maps.routing.v2;
18
18
 
19
- option cc_enable_arenas = true;
20
19
  option csharp_namespace = "Google.Maps.Routing.V2";
21
20
  option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb";
22
21
  option java_multiple_files = true;
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -19,7 +19,6 @@ package google.maps.routing.v2;
19
19
  import "google/maps/routing/v2/location.proto";
20
20
  import "google/type/localized_text.proto";
21
21
 
22
- option cc_enable_arenas = true;
23
22
  option csharp_namespace = "Google.Maps.Routing.V2";
24
23
  option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb";
25
24
  option java_multiple_files = true;
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@ syntax = "proto3";
16
16
 
17
17
  package google.maps.routing.v2;
18
18
 
19
- option cc_enable_arenas = true;
20
19
  option csharp_namespace = "Google.Maps.Routing.V2";
21
20
  option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb";
22
21
  option java_multiple_files = true;
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@ syntax = "proto3";
16
16
 
17
17
  package google.maps.routing.v2;
18
18
 
19
- option cc_enable_arenas = true;
20
19
  option csharp_namespace = "Google.Maps.Routing.V2";
21
20
  option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb";
22
21
  option java_multiple_files = true;
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@ syntax = "proto3";
16
16
 
17
17
  package google.maps.routing.v2;
18
18
 
19
- option cc_enable_arenas = true;
20
19
  option csharp_namespace = "Google.Maps.Routing.V2";
21
20
  option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb";
22
21
  option java_multiple_files = true;
@@ -28,7 +27,7 @@ option ruby_package = "Google::Maps::Routing::V2";
28
27
 
29
28
  // A set of values describing the vehicle's emission type.
30
29
  // Applies only to the `DRIVE`
31
- // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].
30
+ // [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode].
32
31
  enum VehicleEmissionType {
33
32
  // No emission type specified. Default to `GASOLINE`.
34
33
  VEHICLE_EMISSION_TYPE_UNSPECIFIED = 0;
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -32,6 +32,6 @@ option ruby_package = "Google::Maps::Routing::V2";
32
32
  message VehicleInfo {
33
33
  // Describes the vehicle's emission type.
34
34
  // Applies only to the `DRIVE`
35
- // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].
35
+ // [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode].
36
36
  VehicleEmissionType emission_type = 2;
37
37
  }
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -18,7 +18,6 @@ package google.maps.routing.v2;
18
18
 
19
19
  import "google/maps/routing/v2/location.proto";
20
20
 
21
- option cc_enable_arenas = true;
22
21
  option csharp_namespace = "Google.Maps.Routing.V2";
23
22
  option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb";
24
23
  option java_multiple_files = true;
@@ -47,7 +46,7 @@ message Waypoint {
47
46
 
48
47
  // Marks this waypoint as a milestone rather a stopping point. For
49
48
  // each non-via waypoint in the request, the response appends an entry to the
50
- // [legs][google.maps.routing.v2.Route.legs]
49
+ // [`legs`][google.maps.routing.v2.Route.legs]
51
50
  // array to provide the details for stopovers on that leg of the trip. Set
52
51
  // this value to true when you want the route to pass through this waypoint
53
52
  // without stopping over. Via waypoints don't cause an entry to be added to
@@ -63,14 +62,14 @@ message Waypoint {
63
62
  // calculated route won't include non-`via` waypoints on roads that are
64
63
  // unsuitable for pickup and drop-off. This option works only for `DRIVE` and
65
64
  // `TWO_WHEELER` travel modes, and when the `location_type` is
66
- // [Location][google.maps.routing.v2.Location].
65
+ // [`Location`][google.maps.routing.v2.Location].
67
66
  bool vehicle_stopover = 4;
68
67
 
69
68
  // Indicates that the location of this waypoint is meant to have a preference
70
69
  // for the vehicle to stop at a particular side of road. When you set this
71
70
  // value, the route will pass through the location so that the vehicle can
72
71
  // stop at the side of road that the location is biased towards from the
73
- // center of the road. This option works only for 'DRIVE' and 'TWO_WHEELER'
74
- // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].
72
+ // center of the road. This option works only for `DRIVE` and `TWO_WHEELER`
73
+ // [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode].
75
74
  bool side_of_road = 5;
76
75
  }