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