1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package routes
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type RouteTravelMode int32
41
42 const (
43
44 RouteTravelMode_TRAVEL_MODE_UNSPECIFIED RouteTravelMode = 0
45
46 RouteTravelMode_DRIVE RouteTravelMode = 1
47
48 RouteTravelMode_BICYCLE RouteTravelMode = 2
49
50 RouteTravelMode_WALK RouteTravelMode = 3
51
52
53 RouteTravelMode_TWO_WHEELER RouteTravelMode = 4
54
55
56 RouteTravelMode_TAXI RouteTravelMode = 5
57 )
58
59
60 var (
61 RouteTravelMode_name = map[int32]string{
62 0: "TRAVEL_MODE_UNSPECIFIED",
63 1: "DRIVE",
64 2: "BICYCLE",
65 3: "WALK",
66 4: "TWO_WHEELER",
67 5: "TAXI",
68 }
69 RouteTravelMode_value = map[string]int32{
70 "TRAVEL_MODE_UNSPECIFIED": 0,
71 "DRIVE": 1,
72 "BICYCLE": 2,
73 "WALK": 3,
74 "TWO_WHEELER": 4,
75 "TAXI": 5,
76 }
77 )
78
79 func (x RouteTravelMode) Enum() *RouteTravelMode {
80 p := new(RouteTravelMode)
81 *p = x
82 return p
83 }
84
85 func (x RouteTravelMode) String() string {
86 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
87 }
88
89 func (RouteTravelMode) Descriptor() protoreflect.EnumDescriptor {
90 return file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[0].Descriptor()
91 }
92
93 func (RouteTravelMode) Type() protoreflect.EnumType {
94 return &file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[0]
95 }
96
97 func (x RouteTravelMode) Number() protoreflect.EnumNumber {
98 return protoreflect.EnumNumber(x)
99 }
100
101
102 func (RouteTravelMode) EnumDescriptor() ([]byte, []int) {
103 return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{0}
104 }
105
106
107
108 type RoutingPreference int32
109
110 const (
111
112 RoutingPreference_ROUTING_PREFERENCE_UNSPECIFIED RoutingPreference = 0
113
114
115
116 RoutingPreference_TRAFFIC_UNAWARE RoutingPreference = 1
117
118
119
120 RoutingPreference_TRAFFIC_AWARE RoutingPreference = 2
121
122
123
124 RoutingPreference_TRAFFIC_AWARE_OPTIMAL RoutingPreference = 3
125 )
126
127
128 var (
129 RoutingPreference_name = map[int32]string{
130 0: "ROUTING_PREFERENCE_UNSPECIFIED",
131 1: "TRAFFIC_UNAWARE",
132 2: "TRAFFIC_AWARE",
133 3: "TRAFFIC_AWARE_OPTIMAL",
134 }
135 RoutingPreference_value = map[string]int32{
136 "ROUTING_PREFERENCE_UNSPECIFIED": 0,
137 "TRAFFIC_UNAWARE": 1,
138 "TRAFFIC_AWARE": 2,
139 "TRAFFIC_AWARE_OPTIMAL": 3,
140 }
141 )
142
143 func (x RoutingPreference) Enum() *RoutingPreference {
144 p := new(RoutingPreference)
145 *p = x
146 return p
147 }
148
149 func (x RoutingPreference) String() string {
150 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
151 }
152
153 func (RoutingPreference) Descriptor() protoreflect.EnumDescriptor {
154 return file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[1].Descriptor()
155 }
156
157 func (RoutingPreference) Type() protoreflect.EnumType {
158 return &file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[1]
159 }
160
161 func (x RoutingPreference) Number() protoreflect.EnumNumber {
162 return protoreflect.EnumNumber(x)
163 }
164
165
166 func (RoutingPreference) EnumDescriptor() ([]byte, []int) {
167 return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{1}
168 }
169
170
171 type Units int32
172
173 const (
174
175
176 Units_UNITS_UNSPECIFIED Units = 0
177
178 Units_METRIC Units = 1
179
180 Units_IMPERIAL Units = 2
181 )
182
183
184 var (
185 Units_name = map[int32]string{
186 0: "UNITS_UNSPECIFIED",
187 1: "METRIC",
188 2: "IMPERIAL",
189 }
190 Units_value = map[string]int32{
191 "UNITS_UNSPECIFIED": 0,
192 "METRIC": 1,
193 "IMPERIAL": 2,
194 }
195 )
196
197 func (x Units) Enum() *Units {
198 p := new(Units)
199 *p = x
200 return p
201 }
202
203 func (x Units) String() string {
204 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
205 }
206
207 func (Units) Descriptor() protoreflect.EnumDescriptor {
208 return file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[2].Descriptor()
209 }
210
211 func (Units) Type() protoreflect.EnumType {
212 return &file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[2]
213 }
214
215 func (x Units) Number() protoreflect.EnumNumber {
216 return protoreflect.EnumNumber(x)
217 }
218
219
220 func (Units) EnumDescriptor() ([]byte, []int) {
221 return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{2}
222 }
223
224
225 type ComputeRoutesRequest struct {
226 state protoimpl.MessageState
227 sizeCache protoimpl.SizeCache
228 unknownFields protoimpl.UnknownFields
229
230
231 Origin *Waypoint `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
232
233 Destination *Waypoint `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
234
235
236
237 Intermediates []*Waypoint `protobuf:"bytes,3,rep,name=intermediates,proto3" json:"intermediates,omitempty"`
238
239 TravelMode RouteTravelMode `protobuf:"varint,4,opt,name=travel_mode,json=travelMode,proto3,enum=google.maps.routes.v1.RouteTravelMode" json:"travel_mode,omitempty"`
240
241
242
243
244
245
246
247 RoutingPreference RoutingPreference `protobuf:"varint,5,opt,name=routing_preference,json=routingPreference,proto3,enum=google.maps.routes.v1.RoutingPreference" json:"routing_preference,omitempty"`
248
249 PolylineQuality PolylineQuality `protobuf:"varint,6,opt,name=polyline_quality,json=polylineQuality,proto3,enum=google.maps.routes.v1.PolylineQuality" json:"polyline_quality,omitempty"`
250
251 PolylineEncoding PolylineEncoding `protobuf:"varint,12,opt,name=polyline_encoding,json=polylineEncoding,proto3,enum=google.maps.routes.v1.PolylineEncoding" json:"polyline_encoding,omitempty"`
252
253
254
255 DepartureTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=departure_time,json=departureTime,proto3" json:"departure_time,omitempty"`
256
257 ComputeAlternativeRoutes bool `protobuf:"varint,8,opt,name=compute_alternative_routes,json=computeAlternativeRoutes,proto3" json:"compute_alternative_routes,omitempty"`
258
259
260 RouteModifiers *RouteModifiers `protobuf:"bytes,9,opt,name=route_modifiers,json=routeModifiers,proto3" json:"route_modifiers,omitempty"`
261
262
263
264
265
266
267 LanguageCode string `protobuf:"bytes,10,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
268
269
270
271
272
273 Units Units `protobuf:"varint,11,opt,name=units,proto3,enum=google.maps.routes.v1.Units" json:"units,omitempty"`
274
275
276
277
278
279
280
281
282 OptimizeWaypointOrder bool `protobuf:"varint,13,opt,name=optimize_waypoint_order,json=optimizeWaypointOrder,proto3" json:"optimize_waypoint_order,omitempty"`
283 }
284
285 func (x *ComputeRoutesRequest) Reset() {
286 *x = ComputeRoutesRequest{}
287 if protoimpl.UnsafeEnabled {
288 mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[0]
289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290 ms.StoreMessageInfo(mi)
291 }
292 }
293
294 func (x *ComputeRoutesRequest) String() string {
295 return protoimpl.X.MessageStringOf(x)
296 }
297
298 func (*ComputeRoutesRequest) ProtoMessage() {}
299
300 func (x *ComputeRoutesRequest) ProtoReflect() protoreflect.Message {
301 mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[0]
302 if protoimpl.UnsafeEnabled && x != nil {
303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
304 if ms.LoadMessageInfo() == nil {
305 ms.StoreMessageInfo(mi)
306 }
307 return ms
308 }
309 return mi.MessageOf(x)
310 }
311
312
313 func (*ComputeRoutesRequest) Descriptor() ([]byte, []int) {
314 return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{0}
315 }
316
317 func (x *ComputeRoutesRequest) GetOrigin() *Waypoint {
318 if x != nil {
319 return x.Origin
320 }
321 return nil
322 }
323
324 func (x *ComputeRoutesRequest) GetDestination() *Waypoint {
325 if x != nil {
326 return x.Destination
327 }
328 return nil
329 }
330
331 func (x *ComputeRoutesRequest) GetIntermediates() []*Waypoint {
332 if x != nil {
333 return x.Intermediates
334 }
335 return nil
336 }
337
338 func (x *ComputeRoutesRequest) GetTravelMode() RouteTravelMode {
339 if x != nil {
340 return x.TravelMode
341 }
342 return RouteTravelMode_TRAVEL_MODE_UNSPECIFIED
343 }
344
345 func (x *ComputeRoutesRequest) GetRoutingPreference() RoutingPreference {
346 if x != nil {
347 return x.RoutingPreference
348 }
349 return RoutingPreference_ROUTING_PREFERENCE_UNSPECIFIED
350 }
351
352 func (x *ComputeRoutesRequest) GetPolylineQuality() PolylineQuality {
353 if x != nil {
354 return x.PolylineQuality
355 }
356 return PolylineQuality_POLYLINE_QUALITY_UNSPECIFIED
357 }
358
359 func (x *ComputeRoutesRequest) GetPolylineEncoding() PolylineEncoding {
360 if x != nil {
361 return x.PolylineEncoding
362 }
363 return PolylineEncoding_POLYLINE_ENCODING_UNSPECIFIED
364 }
365
366 func (x *ComputeRoutesRequest) GetDepartureTime() *timestamppb.Timestamp {
367 if x != nil {
368 return x.DepartureTime
369 }
370 return nil
371 }
372
373 func (x *ComputeRoutesRequest) GetComputeAlternativeRoutes() bool {
374 if x != nil {
375 return x.ComputeAlternativeRoutes
376 }
377 return false
378 }
379
380 func (x *ComputeRoutesRequest) GetRouteModifiers() *RouteModifiers {
381 if x != nil {
382 return x.RouteModifiers
383 }
384 return nil
385 }
386
387 func (x *ComputeRoutesRequest) GetLanguageCode() string {
388 if x != nil {
389 return x.LanguageCode
390 }
391 return ""
392 }
393
394 func (x *ComputeRoutesRequest) GetUnits() Units {
395 if x != nil {
396 return x.Units
397 }
398 return Units_UNITS_UNSPECIFIED
399 }
400
401 func (x *ComputeRoutesRequest) GetOptimizeWaypointOrder() bool {
402 if x != nil {
403 return x.OptimizeWaypointOrder
404 }
405 return false
406 }
407
408
409
410 type RouteModifiers struct {
411 state protoimpl.MessageState
412 sizeCache protoimpl.SizeCache
413 unknownFields protoimpl.UnknownFields
414
415
416
417
418 AvoidTolls bool `protobuf:"varint,1,opt,name=avoid_tolls,json=avoidTolls,proto3" json:"avoid_tolls,omitempty"`
419
420
421
422 AvoidHighways bool `protobuf:"varint,2,opt,name=avoid_highways,json=avoidHighways,proto3" json:"avoid_highways,omitempty"`
423
424
425
426 AvoidFerries bool `protobuf:"varint,3,opt,name=avoid_ferries,json=avoidFerries,proto3" json:"avoid_ferries,omitempty"`
427
428
429
430 AvoidIndoor bool `protobuf:"varint,4,opt,name=avoid_indoor,json=avoidIndoor,proto3" json:"avoid_indoor,omitempty"`
431
432 VehicleInfo *VehicleInfo `protobuf:"bytes,5,opt,name=vehicle_info,json=vehicleInfo,proto3" json:"vehicle_info,omitempty"`
433
434
435
436
437
438 TollPasses []TollPass `protobuf:"varint,6,rep,packed,name=toll_passes,json=tollPasses,proto3,enum=google.maps.routes.v1.TollPass" json:"toll_passes,omitempty"`
439 }
440
441 func (x *RouteModifiers) Reset() {
442 *x = RouteModifiers{}
443 if protoimpl.UnsafeEnabled {
444 mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[1]
445 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
446 ms.StoreMessageInfo(mi)
447 }
448 }
449
450 func (x *RouteModifiers) String() string {
451 return protoimpl.X.MessageStringOf(x)
452 }
453
454 func (*RouteModifiers) ProtoMessage() {}
455
456 func (x *RouteModifiers) ProtoReflect() protoreflect.Message {
457 mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[1]
458 if protoimpl.UnsafeEnabled && x != nil {
459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
460 if ms.LoadMessageInfo() == nil {
461 ms.StoreMessageInfo(mi)
462 }
463 return ms
464 }
465 return mi.MessageOf(x)
466 }
467
468
469 func (*RouteModifiers) Descriptor() ([]byte, []int) {
470 return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{1}
471 }
472
473 func (x *RouteModifiers) GetAvoidTolls() bool {
474 if x != nil {
475 return x.AvoidTolls
476 }
477 return false
478 }
479
480 func (x *RouteModifiers) GetAvoidHighways() bool {
481 if x != nil {
482 return x.AvoidHighways
483 }
484 return false
485 }
486
487 func (x *RouteModifiers) GetAvoidFerries() bool {
488 if x != nil {
489 return x.AvoidFerries
490 }
491 return false
492 }
493
494 func (x *RouteModifiers) GetAvoidIndoor() bool {
495 if x != nil {
496 return x.AvoidIndoor
497 }
498 return false
499 }
500
501 func (x *RouteModifiers) GetVehicleInfo() *VehicleInfo {
502 if x != nil {
503 return x.VehicleInfo
504 }
505 return nil
506 }
507
508 func (x *RouteModifiers) GetTollPasses() []TollPass {
509 if x != nil {
510 return x.TollPasses
511 }
512 return nil
513 }
514
515
516
517 type VehicleInfo struct {
518 state protoimpl.MessageState
519 sizeCache protoimpl.SizeCache
520 unknownFields protoimpl.UnknownFields
521
522
523 LicensePlateLastCharacter string `protobuf:"bytes,1,opt,name=license_plate_last_character,json=licensePlateLastCharacter,proto3" json:"license_plate_last_character,omitempty"`
524
525
526 EmissionType VehicleEmissionType `protobuf:"varint,2,opt,name=emission_type,json=emissionType,proto3,enum=google.maps.routes.v1.VehicleEmissionType" json:"emission_type,omitempty"`
527 }
528
529 func (x *VehicleInfo) Reset() {
530 *x = VehicleInfo{}
531 if protoimpl.UnsafeEnabled {
532 mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[2]
533 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
534 ms.StoreMessageInfo(mi)
535 }
536 }
537
538 func (x *VehicleInfo) String() string {
539 return protoimpl.X.MessageStringOf(x)
540 }
541
542 func (*VehicleInfo) ProtoMessage() {}
543
544 func (x *VehicleInfo) ProtoReflect() protoreflect.Message {
545 mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[2]
546 if protoimpl.UnsafeEnabled && x != nil {
547 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
548 if ms.LoadMessageInfo() == nil {
549 ms.StoreMessageInfo(mi)
550 }
551 return ms
552 }
553 return mi.MessageOf(x)
554 }
555
556
557 func (*VehicleInfo) Descriptor() ([]byte, []int) {
558 return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{2}
559 }
560
561 func (x *VehicleInfo) GetLicensePlateLastCharacter() string {
562 if x != nil {
563 return x.LicensePlateLastCharacter
564 }
565 return ""
566 }
567
568 func (x *VehicleInfo) GetEmissionType() VehicleEmissionType {
569 if x != nil {
570 return x.EmissionType
571 }
572 return VehicleEmissionType_VEHICLE_EMISSION_TYPE_UNSPECIFIED
573 }
574
575 var File_google_maps_routes_v1_compute_routes_request_proto protoreflect.FileDescriptor
576
577 var file_google_maps_routes_v1_compute_routes_request_proto_rawDesc = []byte{
578 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f,
579 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f,
580 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70,
581 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
582 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x24, 0x67, 0x6f, 0x6f,
583 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f,
584 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
585 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72,
586 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x6f, 0x6c, 0x6c, 0x5f, 0x70, 0x61,
587 0x73, 0x73, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x67, 0x6f, 0x6f, 0x67,
588 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76,
589 0x31, 0x2f, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69,
590 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67,
591 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65,
592 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72,
593 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
594 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
595 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x07, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65,
596 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a,
597 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
598 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74,
599 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06,
600 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x41, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
601 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f,
602 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73,
603 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x64, 0x65,
604 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0d, 0x69, 0x6e, 0x74,
605 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
606 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72,
607 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e,
608 0x74, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x73,
609 0x12, 0x47, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18,
610 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
611 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f,
612 0x75, 0x74, 0x65, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x74,
613 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x57, 0x0a, 0x12, 0x72, 0x6f, 0x75,
614 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18,
615 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
616 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f,
617 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52,
618 0x11, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
619 0x63, 0x65, 0x12, 0x51, 0x0a, 0x10, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x71,
620 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67,
621 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
622 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x51, 0x75, 0x61,
623 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0f, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x51, 0x75,
624 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x54, 0x0a, 0x11, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e,
625 0x65, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e,
626 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72,
627 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e,
628 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x10, 0x70, 0x6f, 0x6c, 0x79, 0x6c,
629 0x69, 0x6e, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x41, 0x0a, 0x0e, 0x64,
630 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20,
631 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
632 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
633 0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3c,
634 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e,
635 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01,
636 0x28, 0x08, 0x52, 0x18, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x41, 0x6c, 0x74, 0x65, 0x72,
637 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0f,
638 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18,
639 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
640 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f,
641 0x75, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x52, 0x0e, 0x72, 0x6f,
642 0x75, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x12, 0x23, 0x0a, 0x0d,
643 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20,
644 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64,
645 0x65, 0x12, 0x32, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e,
646 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72,
647 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x05,
648 0x75, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a,
649 0x65, 0x5f, 0x77, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72,
650 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65,
651 0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0xa9, 0x02,
652 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73,
653 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x6c, 0x6c, 0x73, 0x18,
654 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x54, 0x6f, 0x6c, 0x6c,
655 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x5f, 0x68, 0x69, 0x67, 0x68, 0x77,
656 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x76, 0x6f, 0x69, 0x64,
657 0x48, 0x69, 0x67, 0x68, 0x77, 0x61, 0x79, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x76, 0x6f, 0x69,
658 0x64, 0x5f, 0x66, 0x65, 0x72, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
659 0x0c, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x46, 0x65, 0x72, 0x72, 0x69, 0x65, 0x73, 0x12, 0x21, 0x0a,
660 0x0c, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x6f, 0x6f, 0x72, 0x18, 0x04, 0x20,
661 0x01, 0x28, 0x08, 0x52, 0x0b, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x49, 0x6e, 0x64, 0x6f, 0x6f, 0x72,
662 0x12, 0x45, 0x0a, 0x0c, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
663 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
664 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56,
665 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x76, 0x65, 0x68, 0x69,
666 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x6f, 0x6c, 0x6c, 0x5f,
667 0x70, 0x61, 0x73, 0x73, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67,
668 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
669 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x6c, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x52, 0x0a, 0x74,
670 0x6f, 0x6c, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x65, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0b, 0x56, 0x65,
671 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3f, 0x0a, 0x1c, 0x6c, 0x69, 0x63,
672 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f,
673 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
674 0x19, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x50, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x73,
675 0x74, 0x43, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x0d, 0x65, 0x6d,
676 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
677 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
678 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c,
679 0x65, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x65,
680 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2a, 0x6b, 0x0a, 0x0f, 0x52,
681 0x6f, 0x75, 0x74, 0x65, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b,
682 0x0a, 0x17, 0x54, 0x52, 0x41, 0x56, 0x45, 0x4c, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e,
683 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x44,
684 0x52, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x49, 0x43, 0x59, 0x43, 0x4c,
685 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x57, 0x41, 0x4c, 0x4b, 0x10, 0x03, 0x12, 0x0f, 0x0a,
686 0x0b, 0x54, 0x57, 0x4f, 0x5f, 0x57, 0x48, 0x45, 0x45, 0x4c, 0x45, 0x52, 0x10, 0x04, 0x12, 0x08,
687 0x0a, 0x04, 0x54, 0x41, 0x58, 0x49, 0x10, 0x05, 0x2a, 0x7a, 0x0a, 0x11, 0x52, 0x6f, 0x75, 0x74,
688 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x0a,
689 0x1e, 0x52, 0x4f, 0x55, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x45, 0x52, 0x45,
690 0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
691 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x46, 0x46, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x41,
692 0x57, 0x41, 0x52, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x52, 0x41, 0x46, 0x46, 0x49,
693 0x43, 0x5f, 0x41, 0x57, 0x41, 0x52, 0x45, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x52, 0x41,
694 0x46, 0x46, 0x49, 0x43, 0x5f, 0x41, 0x57, 0x41, 0x52, 0x45, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4d,
695 0x41, 0x4c, 0x10, 0x03, 0x2a, 0x38, 0x0a, 0x05, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x15, 0x0a,
696 0x11, 0x55, 0x4e, 0x49, 0x54, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
697 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x10, 0x01,
698 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4d, 0x50, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x10, 0x02, 0x42, 0xaf,
699 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61,
700 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x19, 0x43, 0x6f,
701 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
702 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
703 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
704 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
705 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b,
706 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x04, 0x47, 0x4d, 0x52, 0x53,
707 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x52,
708 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
709 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31,
710 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
711 }
712
713 var (
714 file_google_maps_routes_v1_compute_routes_request_proto_rawDescOnce sync.Once
715 file_google_maps_routes_v1_compute_routes_request_proto_rawDescData = file_google_maps_routes_v1_compute_routes_request_proto_rawDesc
716 )
717
718 func file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP() []byte {
719 file_google_maps_routes_v1_compute_routes_request_proto_rawDescOnce.Do(func() {
720 file_google_maps_routes_v1_compute_routes_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_routes_v1_compute_routes_request_proto_rawDescData)
721 })
722 return file_google_maps_routes_v1_compute_routes_request_proto_rawDescData
723 }
724
725 var file_google_maps_routes_v1_compute_routes_request_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
726 var file_google_maps_routes_v1_compute_routes_request_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
727 var file_google_maps_routes_v1_compute_routes_request_proto_goTypes = []interface{}{
728 (RouteTravelMode)(0),
729 (RoutingPreference)(0),
730 (Units)(0),
731 (*ComputeRoutesRequest)(nil),
732 (*RouteModifiers)(nil),
733 (*VehicleInfo)(nil),
734 (*Waypoint)(nil),
735 (PolylineQuality)(0),
736 (PolylineEncoding)(0),
737 (*timestamppb.Timestamp)(nil),
738 (TollPass)(0),
739 (VehicleEmissionType)(0),
740 }
741 var file_google_maps_routes_v1_compute_routes_request_proto_depIdxs = []int32{
742 6,
743 6,
744 6,
745 0,
746 1,
747 7,
748 8,
749 9,
750 4,
751 2,
752 5,
753 10,
754 11,
755 13,
756 13,
757 13,
758 13,
759 0,
760 }
761
762 func init() { file_google_maps_routes_v1_compute_routes_request_proto_init() }
763 func file_google_maps_routes_v1_compute_routes_request_proto_init() {
764 if File_google_maps_routes_v1_compute_routes_request_proto != nil {
765 return
766 }
767 file_google_maps_routes_v1_polyline_proto_init()
768 file_google_maps_routes_v1_toll_passes_proto_init()
769 file_google_maps_routes_v1_vehicle_emission_type_proto_init()
770 file_google_maps_routes_v1_waypoint_proto_init()
771 if !protoimpl.UnsafeEnabled {
772 file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
773 switch v := v.(*ComputeRoutesRequest); i {
774 case 0:
775 return &v.state
776 case 1:
777 return &v.sizeCache
778 case 2:
779 return &v.unknownFields
780 default:
781 return nil
782 }
783 }
784 file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
785 switch v := v.(*RouteModifiers); i {
786 case 0:
787 return &v.state
788 case 1:
789 return &v.sizeCache
790 case 2:
791 return &v.unknownFields
792 default:
793 return nil
794 }
795 }
796 file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
797 switch v := v.(*VehicleInfo); i {
798 case 0:
799 return &v.state
800 case 1:
801 return &v.sizeCache
802 case 2:
803 return &v.unknownFields
804 default:
805 return nil
806 }
807 }
808 }
809 type x struct{}
810 out := protoimpl.TypeBuilder{
811 File: protoimpl.DescBuilder{
812 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
813 RawDescriptor: file_google_maps_routes_v1_compute_routes_request_proto_rawDesc,
814 NumEnums: 3,
815 NumMessages: 3,
816 NumExtensions: 0,
817 NumServices: 0,
818 },
819 GoTypes: file_google_maps_routes_v1_compute_routes_request_proto_goTypes,
820 DependencyIndexes: file_google_maps_routes_v1_compute_routes_request_proto_depIdxs,
821 EnumInfos: file_google_maps_routes_v1_compute_routes_request_proto_enumTypes,
822 MessageInfos: file_google_maps_routes_v1_compute_routes_request_proto_msgTypes,
823 }.Build()
824 File_google_maps_routes_v1_compute_routes_request_proto = out.File
825 file_google_maps_routes_v1_compute_routes_request_proto_rawDesc = nil
826 file_google_maps_routes_v1_compute_routes_request_proto_goTypes = nil
827 file_google_maps_routes_v1_compute_routes_request_proto_depIdxs = nil
828 }
829
View as plain text