@googlemaps/routing 0.1.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 (35) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE +202 -0
  3. package/README.md +238 -0
  4. package/build/protos/google/geo/type/viewport.proto +69 -0
  5. package/build/protos/google/maps/routing/v2/fallback_info.proto +72 -0
  6. package/build/protos/google/maps/routing/v2/location.proto +43 -0
  7. package/build/protos/google/maps/routing/v2/maneuver.proto +88 -0
  8. package/build/protos/google/maps/routing/v2/navigation_instruction.proto +40 -0
  9. package/build/protos/google/maps/routing/v2/polyline.proto +74 -0
  10. package/build/protos/google/maps/routing/v2/route.proto +208 -0
  11. package/build/protos/google/maps/routing/v2/route_modifiers.proto +64 -0
  12. package/build/protos/google/maps/routing/v2/route_travel_mode.proto +46 -0
  13. package/build/protos/google/maps/routing/v2/routes_service.proto +311 -0
  14. package/build/protos/google/maps/routing/v2/routing_preference.proto +55 -0
  15. package/build/protos/google/maps/routing/v2/speed_reading_interval.proto +57 -0
  16. package/build/protos/google/maps/routing/v2/toll_info.proto +40 -0
  17. package/build/protos/google/maps/routing/v2/toll_passes.proto +321 -0
  18. package/build/protos/google/maps/routing/v2/units.proto +40 -0
  19. package/build/protos/google/maps/routing/v2/vehicle_emission_type.proto +43 -0
  20. package/build/protos/google/maps/routing/v2/vehicle_info.proto +37 -0
  21. package/build/protos/google/maps/routing/v2/waypoint.proto +71 -0
  22. package/build/protos/protos.d.ts +8392 -0
  23. package/build/protos/protos.js +22576 -0
  24. package/build/protos/protos.json +2144 -0
  25. package/build/src/index.d.ts +11 -0
  26. package/build/src/index.js +28 -0
  27. package/build/src/index.js.map +1 -0
  28. package/build/src/v2/index.d.ts +1 -0
  29. package/build/src/v2/index.js +23 -0
  30. package/build/src/v2/index.js.map +1 -0
  31. package/build/src/v2/routes_client.d.ts +289 -0
  32. package/build/src/v2/routes_client.js +356 -0
  33. package/build/src/v2/routes_client.js.map +1 -0
  34. package/build/src/v2/routes_client_config.json +34 -0
  35. package/package.json +66 -0
@@ -0,0 +1,2144 @@
1
+ {
2
+ "nested": {
3
+ "google": {
4
+ "nested": {
5
+ "protobuf": {
6
+ "options": {
7
+ "go_package": "google.golang.org/protobuf/types/descriptorpb",
8
+ "java_package": "com.google.protobuf",
9
+ "java_outer_classname": "DescriptorProtos",
10
+ "csharp_namespace": "Google.Protobuf.Reflection",
11
+ "objc_class_prefix": "GPB",
12
+ "cc_enable_arenas": true,
13
+ "optimize_for": "SPEED"
14
+ },
15
+ "nested": {
16
+ "DoubleValue": {
17
+ "fields": {
18
+ "value": {
19
+ "type": "double",
20
+ "id": 1
21
+ }
22
+ }
23
+ },
24
+ "FloatValue": {
25
+ "fields": {
26
+ "value": {
27
+ "type": "float",
28
+ "id": 1
29
+ }
30
+ }
31
+ },
32
+ "Int64Value": {
33
+ "fields": {
34
+ "value": {
35
+ "type": "int64",
36
+ "id": 1
37
+ }
38
+ }
39
+ },
40
+ "UInt64Value": {
41
+ "fields": {
42
+ "value": {
43
+ "type": "uint64",
44
+ "id": 1
45
+ }
46
+ }
47
+ },
48
+ "Int32Value": {
49
+ "fields": {
50
+ "value": {
51
+ "type": "int32",
52
+ "id": 1
53
+ }
54
+ }
55
+ },
56
+ "UInt32Value": {
57
+ "fields": {
58
+ "value": {
59
+ "type": "uint32",
60
+ "id": 1
61
+ }
62
+ }
63
+ },
64
+ "BoolValue": {
65
+ "fields": {
66
+ "value": {
67
+ "type": "bool",
68
+ "id": 1
69
+ }
70
+ }
71
+ },
72
+ "StringValue": {
73
+ "fields": {
74
+ "value": {
75
+ "type": "string",
76
+ "id": 1
77
+ }
78
+ }
79
+ },
80
+ "BytesValue": {
81
+ "fields": {
82
+ "value": {
83
+ "type": "bytes",
84
+ "id": 1
85
+ }
86
+ }
87
+ },
88
+ "Struct": {
89
+ "fields": {
90
+ "fields": {
91
+ "keyType": "string",
92
+ "type": "Value",
93
+ "id": 1
94
+ }
95
+ }
96
+ },
97
+ "Value": {
98
+ "oneofs": {
99
+ "kind": {
100
+ "oneof": [
101
+ "nullValue",
102
+ "numberValue",
103
+ "stringValue",
104
+ "boolValue",
105
+ "structValue",
106
+ "listValue"
107
+ ]
108
+ }
109
+ },
110
+ "fields": {
111
+ "nullValue": {
112
+ "type": "NullValue",
113
+ "id": 1
114
+ },
115
+ "numberValue": {
116
+ "type": "double",
117
+ "id": 2
118
+ },
119
+ "stringValue": {
120
+ "type": "string",
121
+ "id": 3
122
+ },
123
+ "boolValue": {
124
+ "type": "bool",
125
+ "id": 4
126
+ },
127
+ "structValue": {
128
+ "type": "Struct",
129
+ "id": 5
130
+ },
131
+ "listValue": {
132
+ "type": "ListValue",
133
+ "id": 6
134
+ }
135
+ }
136
+ },
137
+ "NullValue": {
138
+ "values": {
139
+ "NULL_VALUE": 0
140
+ }
141
+ },
142
+ "ListValue": {
143
+ "fields": {
144
+ "values": {
145
+ "rule": "repeated",
146
+ "type": "Value",
147
+ "id": 1
148
+ }
149
+ }
150
+ },
151
+ "Duration": {
152
+ "fields": {
153
+ "seconds": {
154
+ "type": "int64",
155
+ "id": 1
156
+ },
157
+ "nanos": {
158
+ "type": "int32",
159
+ "id": 2
160
+ }
161
+ }
162
+ },
163
+ "FileDescriptorSet": {
164
+ "fields": {
165
+ "file": {
166
+ "rule": "repeated",
167
+ "type": "FileDescriptorProto",
168
+ "id": 1
169
+ }
170
+ }
171
+ },
172
+ "FileDescriptorProto": {
173
+ "fields": {
174
+ "name": {
175
+ "type": "string",
176
+ "id": 1
177
+ },
178
+ "package": {
179
+ "type": "string",
180
+ "id": 2
181
+ },
182
+ "dependency": {
183
+ "rule": "repeated",
184
+ "type": "string",
185
+ "id": 3
186
+ },
187
+ "publicDependency": {
188
+ "rule": "repeated",
189
+ "type": "int32",
190
+ "id": 10,
191
+ "options": {
192
+ "packed": false
193
+ }
194
+ },
195
+ "weakDependency": {
196
+ "rule": "repeated",
197
+ "type": "int32",
198
+ "id": 11,
199
+ "options": {
200
+ "packed": false
201
+ }
202
+ },
203
+ "messageType": {
204
+ "rule": "repeated",
205
+ "type": "DescriptorProto",
206
+ "id": 4
207
+ },
208
+ "enumType": {
209
+ "rule": "repeated",
210
+ "type": "EnumDescriptorProto",
211
+ "id": 5
212
+ },
213
+ "service": {
214
+ "rule": "repeated",
215
+ "type": "ServiceDescriptorProto",
216
+ "id": 6
217
+ },
218
+ "extension": {
219
+ "rule": "repeated",
220
+ "type": "FieldDescriptorProto",
221
+ "id": 7
222
+ },
223
+ "options": {
224
+ "type": "FileOptions",
225
+ "id": 8
226
+ },
227
+ "sourceCodeInfo": {
228
+ "type": "SourceCodeInfo",
229
+ "id": 9
230
+ },
231
+ "syntax": {
232
+ "type": "string",
233
+ "id": 12
234
+ },
235
+ "edition": {
236
+ "type": "string",
237
+ "id": 13
238
+ }
239
+ }
240
+ },
241
+ "DescriptorProto": {
242
+ "fields": {
243
+ "name": {
244
+ "type": "string",
245
+ "id": 1
246
+ },
247
+ "field": {
248
+ "rule": "repeated",
249
+ "type": "FieldDescriptorProto",
250
+ "id": 2
251
+ },
252
+ "extension": {
253
+ "rule": "repeated",
254
+ "type": "FieldDescriptorProto",
255
+ "id": 6
256
+ },
257
+ "nestedType": {
258
+ "rule": "repeated",
259
+ "type": "DescriptorProto",
260
+ "id": 3
261
+ },
262
+ "enumType": {
263
+ "rule": "repeated",
264
+ "type": "EnumDescriptorProto",
265
+ "id": 4
266
+ },
267
+ "extensionRange": {
268
+ "rule": "repeated",
269
+ "type": "ExtensionRange",
270
+ "id": 5
271
+ },
272
+ "oneofDecl": {
273
+ "rule": "repeated",
274
+ "type": "OneofDescriptorProto",
275
+ "id": 8
276
+ },
277
+ "options": {
278
+ "type": "MessageOptions",
279
+ "id": 7
280
+ },
281
+ "reservedRange": {
282
+ "rule": "repeated",
283
+ "type": "ReservedRange",
284
+ "id": 9
285
+ },
286
+ "reservedName": {
287
+ "rule": "repeated",
288
+ "type": "string",
289
+ "id": 10
290
+ }
291
+ },
292
+ "nested": {
293
+ "ExtensionRange": {
294
+ "fields": {
295
+ "start": {
296
+ "type": "int32",
297
+ "id": 1
298
+ },
299
+ "end": {
300
+ "type": "int32",
301
+ "id": 2
302
+ },
303
+ "options": {
304
+ "type": "ExtensionRangeOptions",
305
+ "id": 3
306
+ }
307
+ }
308
+ },
309
+ "ReservedRange": {
310
+ "fields": {
311
+ "start": {
312
+ "type": "int32",
313
+ "id": 1
314
+ },
315
+ "end": {
316
+ "type": "int32",
317
+ "id": 2
318
+ }
319
+ }
320
+ }
321
+ }
322
+ },
323
+ "ExtensionRangeOptions": {
324
+ "fields": {
325
+ "uninterpretedOption": {
326
+ "rule": "repeated",
327
+ "type": "UninterpretedOption",
328
+ "id": 999
329
+ }
330
+ },
331
+ "extensions": [
332
+ [
333
+ 1000,
334
+ 536870911
335
+ ]
336
+ ]
337
+ },
338
+ "FieldDescriptorProto": {
339
+ "fields": {
340
+ "name": {
341
+ "type": "string",
342
+ "id": 1
343
+ },
344
+ "number": {
345
+ "type": "int32",
346
+ "id": 3
347
+ },
348
+ "label": {
349
+ "type": "Label",
350
+ "id": 4
351
+ },
352
+ "type": {
353
+ "type": "Type",
354
+ "id": 5
355
+ },
356
+ "typeName": {
357
+ "type": "string",
358
+ "id": 6
359
+ },
360
+ "extendee": {
361
+ "type": "string",
362
+ "id": 2
363
+ },
364
+ "defaultValue": {
365
+ "type": "string",
366
+ "id": 7
367
+ },
368
+ "oneofIndex": {
369
+ "type": "int32",
370
+ "id": 9
371
+ },
372
+ "jsonName": {
373
+ "type": "string",
374
+ "id": 10
375
+ },
376
+ "options": {
377
+ "type": "FieldOptions",
378
+ "id": 8
379
+ },
380
+ "proto3Optional": {
381
+ "type": "bool",
382
+ "id": 17
383
+ }
384
+ },
385
+ "nested": {
386
+ "Type": {
387
+ "values": {
388
+ "TYPE_DOUBLE": 1,
389
+ "TYPE_FLOAT": 2,
390
+ "TYPE_INT64": 3,
391
+ "TYPE_UINT64": 4,
392
+ "TYPE_INT32": 5,
393
+ "TYPE_FIXED64": 6,
394
+ "TYPE_FIXED32": 7,
395
+ "TYPE_BOOL": 8,
396
+ "TYPE_STRING": 9,
397
+ "TYPE_GROUP": 10,
398
+ "TYPE_MESSAGE": 11,
399
+ "TYPE_BYTES": 12,
400
+ "TYPE_UINT32": 13,
401
+ "TYPE_ENUM": 14,
402
+ "TYPE_SFIXED32": 15,
403
+ "TYPE_SFIXED64": 16,
404
+ "TYPE_SINT32": 17,
405
+ "TYPE_SINT64": 18
406
+ }
407
+ },
408
+ "Label": {
409
+ "values": {
410
+ "LABEL_OPTIONAL": 1,
411
+ "LABEL_REQUIRED": 2,
412
+ "LABEL_REPEATED": 3
413
+ }
414
+ }
415
+ }
416
+ },
417
+ "OneofDescriptorProto": {
418
+ "fields": {
419
+ "name": {
420
+ "type": "string",
421
+ "id": 1
422
+ },
423
+ "options": {
424
+ "type": "OneofOptions",
425
+ "id": 2
426
+ }
427
+ }
428
+ },
429
+ "EnumDescriptorProto": {
430
+ "fields": {
431
+ "name": {
432
+ "type": "string",
433
+ "id": 1
434
+ },
435
+ "value": {
436
+ "rule": "repeated",
437
+ "type": "EnumValueDescriptorProto",
438
+ "id": 2
439
+ },
440
+ "options": {
441
+ "type": "EnumOptions",
442
+ "id": 3
443
+ },
444
+ "reservedRange": {
445
+ "rule": "repeated",
446
+ "type": "EnumReservedRange",
447
+ "id": 4
448
+ },
449
+ "reservedName": {
450
+ "rule": "repeated",
451
+ "type": "string",
452
+ "id": 5
453
+ }
454
+ },
455
+ "nested": {
456
+ "EnumReservedRange": {
457
+ "fields": {
458
+ "start": {
459
+ "type": "int32",
460
+ "id": 1
461
+ },
462
+ "end": {
463
+ "type": "int32",
464
+ "id": 2
465
+ }
466
+ }
467
+ }
468
+ }
469
+ },
470
+ "EnumValueDescriptorProto": {
471
+ "fields": {
472
+ "name": {
473
+ "type": "string",
474
+ "id": 1
475
+ },
476
+ "number": {
477
+ "type": "int32",
478
+ "id": 2
479
+ },
480
+ "options": {
481
+ "type": "EnumValueOptions",
482
+ "id": 3
483
+ }
484
+ }
485
+ },
486
+ "ServiceDescriptorProto": {
487
+ "fields": {
488
+ "name": {
489
+ "type": "string",
490
+ "id": 1
491
+ },
492
+ "method": {
493
+ "rule": "repeated",
494
+ "type": "MethodDescriptorProto",
495
+ "id": 2
496
+ },
497
+ "options": {
498
+ "type": "ServiceOptions",
499
+ "id": 3
500
+ }
501
+ }
502
+ },
503
+ "MethodDescriptorProto": {
504
+ "fields": {
505
+ "name": {
506
+ "type": "string",
507
+ "id": 1
508
+ },
509
+ "inputType": {
510
+ "type": "string",
511
+ "id": 2
512
+ },
513
+ "outputType": {
514
+ "type": "string",
515
+ "id": 3
516
+ },
517
+ "options": {
518
+ "type": "MethodOptions",
519
+ "id": 4
520
+ },
521
+ "clientStreaming": {
522
+ "type": "bool",
523
+ "id": 5,
524
+ "options": {
525
+ "default": false
526
+ }
527
+ },
528
+ "serverStreaming": {
529
+ "type": "bool",
530
+ "id": 6,
531
+ "options": {
532
+ "default": false
533
+ }
534
+ }
535
+ }
536
+ },
537
+ "FileOptions": {
538
+ "fields": {
539
+ "javaPackage": {
540
+ "type": "string",
541
+ "id": 1
542
+ },
543
+ "javaOuterClassname": {
544
+ "type": "string",
545
+ "id": 8
546
+ },
547
+ "javaMultipleFiles": {
548
+ "type": "bool",
549
+ "id": 10,
550
+ "options": {
551
+ "default": false
552
+ }
553
+ },
554
+ "javaGenerateEqualsAndHash": {
555
+ "type": "bool",
556
+ "id": 20,
557
+ "options": {
558
+ "deprecated": true
559
+ }
560
+ },
561
+ "javaStringCheckUtf8": {
562
+ "type": "bool",
563
+ "id": 27,
564
+ "options": {
565
+ "default": false
566
+ }
567
+ },
568
+ "optimizeFor": {
569
+ "type": "OptimizeMode",
570
+ "id": 9,
571
+ "options": {
572
+ "default": "SPEED"
573
+ }
574
+ },
575
+ "goPackage": {
576
+ "type": "string",
577
+ "id": 11
578
+ },
579
+ "ccGenericServices": {
580
+ "type": "bool",
581
+ "id": 16,
582
+ "options": {
583
+ "default": false
584
+ }
585
+ },
586
+ "javaGenericServices": {
587
+ "type": "bool",
588
+ "id": 17,
589
+ "options": {
590
+ "default": false
591
+ }
592
+ },
593
+ "pyGenericServices": {
594
+ "type": "bool",
595
+ "id": 18,
596
+ "options": {
597
+ "default": false
598
+ }
599
+ },
600
+ "phpGenericServices": {
601
+ "type": "bool",
602
+ "id": 42,
603
+ "options": {
604
+ "default": false
605
+ }
606
+ },
607
+ "deprecated": {
608
+ "type": "bool",
609
+ "id": 23,
610
+ "options": {
611
+ "default": false
612
+ }
613
+ },
614
+ "ccEnableArenas": {
615
+ "type": "bool",
616
+ "id": 31,
617
+ "options": {
618
+ "default": true
619
+ }
620
+ },
621
+ "objcClassPrefix": {
622
+ "type": "string",
623
+ "id": 36
624
+ },
625
+ "csharpNamespace": {
626
+ "type": "string",
627
+ "id": 37
628
+ },
629
+ "swiftPrefix": {
630
+ "type": "string",
631
+ "id": 39
632
+ },
633
+ "phpClassPrefix": {
634
+ "type": "string",
635
+ "id": 40
636
+ },
637
+ "phpNamespace": {
638
+ "type": "string",
639
+ "id": 41
640
+ },
641
+ "phpMetadataNamespace": {
642
+ "type": "string",
643
+ "id": 44
644
+ },
645
+ "rubyPackage": {
646
+ "type": "string",
647
+ "id": 45
648
+ },
649
+ "uninterpretedOption": {
650
+ "rule": "repeated",
651
+ "type": "UninterpretedOption",
652
+ "id": 999
653
+ }
654
+ },
655
+ "extensions": [
656
+ [
657
+ 1000,
658
+ 536870911
659
+ ]
660
+ ],
661
+ "reserved": [
662
+ [
663
+ 38,
664
+ 38
665
+ ]
666
+ ],
667
+ "nested": {
668
+ "OptimizeMode": {
669
+ "values": {
670
+ "SPEED": 1,
671
+ "CODE_SIZE": 2,
672
+ "LITE_RUNTIME": 3
673
+ }
674
+ }
675
+ }
676
+ },
677
+ "MessageOptions": {
678
+ "fields": {
679
+ "messageSetWireFormat": {
680
+ "type": "bool",
681
+ "id": 1,
682
+ "options": {
683
+ "default": false
684
+ }
685
+ },
686
+ "noStandardDescriptorAccessor": {
687
+ "type": "bool",
688
+ "id": 2,
689
+ "options": {
690
+ "default": false
691
+ }
692
+ },
693
+ "deprecated": {
694
+ "type": "bool",
695
+ "id": 3,
696
+ "options": {
697
+ "default": false
698
+ }
699
+ },
700
+ "mapEntry": {
701
+ "type": "bool",
702
+ "id": 7
703
+ },
704
+ "uninterpretedOption": {
705
+ "rule": "repeated",
706
+ "type": "UninterpretedOption",
707
+ "id": 999
708
+ }
709
+ },
710
+ "extensions": [
711
+ [
712
+ 1000,
713
+ 536870911
714
+ ]
715
+ ],
716
+ "reserved": [
717
+ [
718
+ 4,
719
+ 4
720
+ ],
721
+ [
722
+ 5,
723
+ 5
724
+ ],
725
+ [
726
+ 6,
727
+ 6
728
+ ],
729
+ [
730
+ 8,
731
+ 8
732
+ ],
733
+ [
734
+ 9,
735
+ 9
736
+ ]
737
+ ]
738
+ },
739
+ "FieldOptions": {
740
+ "fields": {
741
+ "ctype": {
742
+ "type": "CType",
743
+ "id": 1,
744
+ "options": {
745
+ "default": "STRING"
746
+ }
747
+ },
748
+ "packed": {
749
+ "type": "bool",
750
+ "id": 2
751
+ },
752
+ "jstype": {
753
+ "type": "JSType",
754
+ "id": 6,
755
+ "options": {
756
+ "default": "JS_NORMAL"
757
+ }
758
+ },
759
+ "lazy": {
760
+ "type": "bool",
761
+ "id": 5,
762
+ "options": {
763
+ "default": false
764
+ }
765
+ },
766
+ "unverifiedLazy": {
767
+ "type": "bool",
768
+ "id": 15,
769
+ "options": {
770
+ "default": false
771
+ }
772
+ },
773
+ "deprecated": {
774
+ "type": "bool",
775
+ "id": 3,
776
+ "options": {
777
+ "default": false
778
+ }
779
+ },
780
+ "weak": {
781
+ "type": "bool",
782
+ "id": 10,
783
+ "options": {
784
+ "default": false
785
+ }
786
+ },
787
+ "uninterpretedOption": {
788
+ "rule": "repeated",
789
+ "type": "UninterpretedOption",
790
+ "id": 999
791
+ }
792
+ },
793
+ "extensions": [
794
+ [
795
+ 1000,
796
+ 536870911
797
+ ]
798
+ ],
799
+ "reserved": [
800
+ [
801
+ 4,
802
+ 4
803
+ ]
804
+ ],
805
+ "nested": {
806
+ "CType": {
807
+ "values": {
808
+ "STRING": 0,
809
+ "CORD": 1,
810
+ "STRING_PIECE": 2
811
+ }
812
+ },
813
+ "JSType": {
814
+ "values": {
815
+ "JS_NORMAL": 0,
816
+ "JS_STRING": 1,
817
+ "JS_NUMBER": 2
818
+ }
819
+ }
820
+ }
821
+ },
822
+ "OneofOptions": {
823
+ "fields": {
824
+ "uninterpretedOption": {
825
+ "rule": "repeated",
826
+ "type": "UninterpretedOption",
827
+ "id": 999
828
+ }
829
+ },
830
+ "extensions": [
831
+ [
832
+ 1000,
833
+ 536870911
834
+ ]
835
+ ]
836
+ },
837
+ "EnumOptions": {
838
+ "fields": {
839
+ "allowAlias": {
840
+ "type": "bool",
841
+ "id": 2
842
+ },
843
+ "deprecated": {
844
+ "type": "bool",
845
+ "id": 3,
846
+ "options": {
847
+ "default": false
848
+ }
849
+ },
850
+ "uninterpretedOption": {
851
+ "rule": "repeated",
852
+ "type": "UninterpretedOption",
853
+ "id": 999
854
+ }
855
+ },
856
+ "extensions": [
857
+ [
858
+ 1000,
859
+ 536870911
860
+ ]
861
+ ],
862
+ "reserved": [
863
+ [
864
+ 5,
865
+ 5
866
+ ]
867
+ ]
868
+ },
869
+ "EnumValueOptions": {
870
+ "fields": {
871
+ "deprecated": {
872
+ "type": "bool",
873
+ "id": 1,
874
+ "options": {
875
+ "default": false
876
+ }
877
+ },
878
+ "uninterpretedOption": {
879
+ "rule": "repeated",
880
+ "type": "UninterpretedOption",
881
+ "id": 999
882
+ }
883
+ },
884
+ "extensions": [
885
+ [
886
+ 1000,
887
+ 536870911
888
+ ]
889
+ ]
890
+ },
891
+ "ServiceOptions": {
892
+ "fields": {
893
+ "deprecated": {
894
+ "type": "bool",
895
+ "id": 33,
896
+ "options": {
897
+ "default": false
898
+ }
899
+ },
900
+ "uninterpretedOption": {
901
+ "rule": "repeated",
902
+ "type": "UninterpretedOption",
903
+ "id": 999
904
+ }
905
+ },
906
+ "extensions": [
907
+ [
908
+ 1000,
909
+ 536870911
910
+ ]
911
+ ]
912
+ },
913
+ "MethodOptions": {
914
+ "fields": {
915
+ "deprecated": {
916
+ "type": "bool",
917
+ "id": 33,
918
+ "options": {
919
+ "default": false
920
+ }
921
+ },
922
+ "idempotencyLevel": {
923
+ "type": "IdempotencyLevel",
924
+ "id": 34,
925
+ "options": {
926
+ "default": "IDEMPOTENCY_UNKNOWN"
927
+ }
928
+ },
929
+ "uninterpretedOption": {
930
+ "rule": "repeated",
931
+ "type": "UninterpretedOption",
932
+ "id": 999
933
+ }
934
+ },
935
+ "extensions": [
936
+ [
937
+ 1000,
938
+ 536870911
939
+ ]
940
+ ],
941
+ "nested": {
942
+ "IdempotencyLevel": {
943
+ "values": {
944
+ "IDEMPOTENCY_UNKNOWN": 0,
945
+ "NO_SIDE_EFFECTS": 1,
946
+ "IDEMPOTENT": 2
947
+ }
948
+ }
949
+ }
950
+ },
951
+ "UninterpretedOption": {
952
+ "fields": {
953
+ "name": {
954
+ "rule": "repeated",
955
+ "type": "NamePart",
956
+ "id": 2
957
+ },
958
+ "identifierValue": {
959
+ "type": "string",
960
+ "id": 3
961
+ },
962
+ "positiveIntValue": {
963
+ "type": "uint64",
964
+ "id": 4
965
+ },
966
+ "negativeIntValue": {
967
+ "type": "int64",
968
+ "id": 5
969
+ },
970
+ "doubleValue": {
971
+ "type": "double",
972
+ "id": 6
973
+ },
974
+ "stringValue": {
975
+ "type": "bytes",
976
+ "id": 7
977
+ },
978
+ "aggregateValue": {
979
+ "type": "string",
980
+ "id": 8
981
+ }
982
+ },
983
+ "nested": {
984
+ "NamePart": {
985
+ "fields": {
986
+ "namePart": {
987
+ "rule": "required",
988
+ "type": "string",
989
+ "id": 1
990
+ },
991
+ "isExtension": {
992
+ "rule": "required",
993
+ "type": "bool",
994
+ "id": 2
995
+ }
996
+ }
997
+ }
998
+ }
999
+ },
1000
+ "SourceCodeInfo": {
1001
+ "fields": {
1002
+ "location": {
1003
+ "rule": "repeated",
1004
+ "type": "Location",
1005
+ "id": 1
1006
+ }
1007
+ },
1008
+ "nested": {
1009
+ "Location": {
1010
+ "fields": {
1011
+ "path": {
1012
+ "rule": "repeated",
1013
+ "type": "int32",
1014
+ "id": 1
1015
+ },
1016
+ "span": {
1017
+ "rule": "repeated",
1018
+ "type": "int32",
1019
+ "id": 2
1020
+ },
1021
+ "leadingComments": {
1022
+ "type": "string",
1023
+ "id": 3
1024
+ },
1025
+ "trailingComments": {
1026
+ "type": "string",
1027
+ "id": 4
1028
+ },
1029
+ "leadingDetachedComments": {
1030
+ "rule": "repeated",
1031
+ "type": "string",
1032
+ "id": 6
1033
+ }
1034
+ }
1035
+ }
1036
+ }
1037
+ },
1038
+ "GeneratedCodeInfo": {
1039
+ "fields": {
1040
+ "annotation": {
1041
+ "rule": "repeated",
1042
+ "type": "Annotation",
1043
+ "id": 1
1044
+ }
1045
+ },
1046
+ "nested": {
1047
+ "Annotation": {
1048
+ "fields": {
1049
+ "path": {
1050
+ "rule": "repeated",
1051
+ "type": "int32",
1052
+ "id": 1
1053
+ },
1054
+ "sourceFile": {
1055
+ "type": "string",
1056
+ "id": 2
1057
+ },
1058
+ "begin": {
1059
+ "type": "int32",
1060
+ "id": 3
1061
+ },
1062
+ "end": {
1063
+ "type": "int32",
1064
+ "id": 4
1065
+ },
1066
+ "semantic": {
1067
+ "type": "Semantic",
1068
+ "id": 5
1069
+ }
1070
+ },
1071
+ "nested": {
1072
+ "Semantic": {
1073
+ "values": {
1074
+ "NONE": 0,
1075
+ "SET": 1,
1076
+ "ALIAS": 2
1077
+ }
1078
+ }
1079
+ }
1080
+ }
1081
+ }
1082
+ },
1083
+ "Timestamp": {
1084
+ "fields": {
1085
+ "seconds": {
1086
+ "type": "int64",
1087
+ "id": 1
1088
+ },
1089
+ "nanos": {
1090
+ "type": "int32",
1091
+ "id": 2
1092
+ }
1093
+ }
1094
+ },
1095
+ "Any": {
1096
+ "fields": {
1097
+ "type_url": {
1098
+ "type": "string",
1099
+ "id": 1
1100
+ },
1101
+ "value": {
1102
+ "type": "bytes",
1103
+ "id": 2
1104
+ }
1105
+ }
1106
+ }
1107
+ }
1108
+ },
1109
+ "geo": {
1110
+ "nested": {
1111
+ "type": {
1112
+ "options": {
1113
+ "go_package": "google.golang.org/genproto/googleapis/geo/type/viewport;viewport",
1114
+ "java_multiple_files": true,
1115
+ "java_outer_classname": "ViewportProto",
1116
+ "java_package": "com.google.geo.type",
1117
+ "objc_class_prefix": "GGTP"
1118
+ },
1119
+ "nested": {
1120
+ "Viewport": {
1121
+ "fields": {
1122
+ "low": {
1123
+ "type": "google.type.LatLng",
1124
+ "id": 1
1125
+ },
1126
+ "high": {
1127
+ "type": "google.type.LatLng",
1128
+ "id": 2
1129
+ }
1130
+ }
1131
+ }
1132
+ }
1133
+ }
1134
+ }
1135
+ },
1136
+ "type": {
1137
+ "options": {
1138
+ "cc_enable_arenas": true,
1139
+ "go_package": "google.golang.org/genproto/googleapis/type/money;money",
1140
+ "java_multiple_files": true,
1141
+ "java_outer_classname": "MoneyProto",
1142
+ "java_package": "com.google.type",
1143
+ "objc_class_prefix": "GTP"
1144
+ },
1145
+ "nested": {
1146
+ "LatLng": {
1147
+ "fields": {
1148
+ "latitude": {
1149
+ "type": "double",
1150
+ "id": 1
1151
+ },
1152
+ "longitude": {
1153
+ "type": "double",
1154
+ "id": 2
1155
+ }
1156
+ }
1157
+ },
1158
+ "Money": {
1159
+ "fields": {
1160
+ "currencyCode": {
1161
+ "type": "string",
1162
+ "id": 1
1163
+ },
1164
+ "units": {
1165
+ "type": "int64",
1166
+ "id": 2
1167
+ },
1168
+ "nanos": {
1169
+ "type": "int32",
1170
+ "id": 3
1171
+ }
1172
+ }
1173
+ }
1174
+ }
1175
+ },
1176
+ "maps": {
1177
+ "nested": {
1178
+ "routing": {
1179
+ "nested": {
1180
+ "v2": {
1181
+ "options": {
1182
+ "cc_enable_arenas": true,
1183
+ "csharp_namespace": "Google.Maps.Routing.V2",
1184
+ "go_package": "google.golang.org/genproto/googleapis/maps/routing/v2;routing",
1185
+ "java_multiple_files": true,
1186
+ "java_outer_classname": "WaypointProto",
1187
+ "java_package": "com.google.maps.routing.v2",
1188
+ "objc_class_prefix": "GMRV2",
1189
+ "php_namespace": "Google\\Maps\\Routing\\V2",
1190
+ "ruby_package": "Google::Maps::Routing::V2"
1191
+ },
1192
+ "nested": {
1193
+ "FallbackInfo": {
1194
+ "fields": {
1195
+ "routingMode": {
1196
+ "type": "FallbackRoutingMode",
1197
+ "id": 1
1198
+ },
1199
+ "reason": {
1200
+ "type": "FallbackReason",
1201
+ "id": 2
1202
+ }
1203
+ }
1204
+ },
1205
+ "FallbackReason": {
1206
+ "values": {
1207
+ "FALLBACK_REASON_UNSPECIFIED": 0,
1208
+ "SERVER_ERROR": 1,
1209
+ "LATENCY_EXCEEDED": 2
1210
+ }
1211
+ },
1212
+ "FallbackRoutingMode": {
1213
+ "values": {
1214
+ "FALLBACK_ROUTING_MODE_UNSPECIFIED": 0,
1215
+ "FALLBACK_TRAFFIC_UNAWARE": 1,
1216
+ "FALLBACK_TRAFFIC_AWARE": 2
1217
+ }
1218
+ },
1219
+ "Location": {
1220
+ "fields": {
1221
+ "latLng": {
1222
+ "type": "google.type.LatLng",
1223
+ "id": 1
1224
+ },
1225
+ "heading": {
1226
+ "type": "google.protobuf.Int32Value",
1227
+ "id": 2
1228
+ }
1229
+ }
1230
+ },
1231
+ "Maneuver": {
1232
+ "values": {
1233
+ "MANEUVER_UNSPECIFIED": 0,
1234
+ "TURN_SLIGHT_LEFT": 1,
1235
+ "TURN_SHARP_LEFT": 2,
1236
+ "UTURN_LEFT": 3,
1237
+ "TURN_LEFT": 4,
1238
+ "TURN_SLIGHT_RIGHT": 5,
1239
+ "TURN_SHARP_RIGHT": 6,
1240
+ "UTURN_RIGHT": 7,
1241
+ "TURN_RIGHT": 8,
1242
+ "STRAIGHT": 9,
1243
+ "RAMP_LEFT": 10,
1244
+ "RAMP_RIGHT": 11,
1245
+ "MERGE": 12,
1246
+ "FORK_LEFT": 13,
1247
+ "FORK_RIGHT": 14,
1248
+ "FERRY": 15,
1249
+ "FERRY_TRAIN": 16,
1250
+ "ROUNDABOUT_LEFT": 17,
1251
+ "ROUNDABOUT_RIGHT": 18
1252
+ }
1253
+ },
1254
+ "NavigationInstruction": {
1255
+ "fields": {
1256
+ "maneuver": {
1257
+ "type": "Maneuver",
1258
+ "id": 1
1259
+ },
1260
+ "instructions": {
1261
+ "type": "string",
1262
+ "id": 2
1263
+ }
1264
+ }
1265
+ },
1266
+ "Polyline": {
1267
+ "oneofs": {
1268
+ "polylineType": {
1269
+ "oneof": [
1270
+ "encodedPolyline",
1271
+ "geoJsonLinestring"
1272
+ ]
1273
+ }
1274
+ },
1275
+ "fields": {
1276
+ "encodedPolyline": {
1277
+ "type": "string",
1278
+ "id": 1
1279
+ },
1280
+ "geoJsonLinestring": {
1281
+ "type": "google.protobuf.Struct",
1282
+ "id": 2
1283
+ }
1284
+ }
1285
+ },
1286
+ "PolylineQuality": {
1287
+ "values": {
1288
+ "POLYLINE_QUALITY_UNSPECIFIED": 0,
1289
+ "HIGH_QUALITY": 1,
1290
+ "OVERVIEW": 2
1291
+ }
1292
+ },
1293
+ "PolylineEncoding": {
1294
+ "values": {
1295
+ "POLYLINE_ENCODING_UNSPECIFIED": 0,
1296
+ "ENCODED_POLYLINE": 1,
1297
+ "GEO_JSON_LINESTRING": 2
1298
+ }
1299
+ },
1300
+ "Route": {
1301
+ "fields": {
1302
+ "legs": {
1303
+ "rule": "repeated",
1304
+ "type": "RouteLeg",
1305
+ "id": 1
1306
+ },
1307
+ "distanceMeters": {
1308
+ "type": "int32",
1309
+ "id": 2
1310
+ },
1311
+ "duration": {
1312
+ "type": "google.protobuf.Duration",
1313
+ "id": 3
1314
+ },
1315
+ "staticDuration": {
1316
+ "type": "google.protobuf.Duration",
1317
+ "id": 4
1318
+ },
1319
+ "polyline": {
1320
+ "type": "Polyline",
1321
+ "id": 5
1322
+ },
1323
+ "description": {
1324
+ "type": "string",
1325
+ "id": 6
1326
+ },
1327
+ "warnings": {
1328
+ "rule": "repeated",
1329
+ "type": "string",
1330
+ "id": 7
1331
+ },
1332
+ "viewport": {
1333
+ "type": "google.geo.type.Viewport",
1334
+ "id": 8
1335
+ },
1336
+ "travelAdvisory": {
1337
+ "type": "RouteTravelAdvisory",
1338
+ "id": 9
1339
+ }
1340
+ }
1341
+ },
1342
+ "RouteTravelAdvisory": {
1343
+ "fields": {
1344
+ "tollInfo": {
1345
+ "type": "TollInfo",
1346
+ "id": 2
1347
+ },
1348
+ "speedReadingIntervals": {
1349
+ "rule": "repeated",
1350
+ "type": "SpeedReadingInterval",
1351
+ "id": 3
1352
+ }
1353
+ }
1354
+ },
1355
+ "RouteLegTravelAdvisory": {
1356
+ "fields": {
1357
+ "tollInfo": {
1358
+ "type": "TollInfo",
1359
+ "id": 1
1360
+ },
1361
+ "speedReadingIntervals": {
1362
+ "rule": "repeated",
1363
+ "type": "SpeedReadingInterval",
1364
+ "id": 2
1365
+ }
1366
+ }
1367
+ },
1368
+ "RouteLegStepTravelAdvisory": {
1369
+ "fields": {
1370
+ "speedReadingIntervals": {
1371
+ "rule": "repeated",
1372
+ "type": "SpeedReadingInterval",
1373
+ "id": 1
1374
+ }
1375
+ }
1376
+ },
1377
+ "RouteLeg": {
1378
+ "fields": {
1379
+ "distanceMeters": {
1380
+ "type": "int32",
1381
+ "id": 1
1382
+ },
1383
+ "duration": {
1384
+ "type": "google.protobuf.Duration",
1385
+ "id": 2
1386
+ },
1387
+ "staticDuration": {
1388
+ "type": "google.protobuf.Duration",
1389
+ "id": 3
1390
+ },
1391
+ "polyline": {
1392
+ "type": "Polyline",
1393
+ "id": 4
1394
+ },
1395
+ "startLocation": {
1396
+ "type": "Location",
1397
+ "id": 5
1398
+ },
1399
+ "endLocation": {
1400
+ "type": "Location",
1401
+ "id": 6
1402
+ },
1403
+ "steps": {
1404
+ "rule": "repeated",
1405
+ "type": "RouteLegStep",
1406
+ "id": 7
1407
+ },
1408
+ "travelAdvisory": {
1409
+ "type": "RouteLegTravelAdvisory",
1410
+ "id": 8
1411
+ }
1412
+ }
1413
+ },
1414
+ "RouteLegStep": {
1415
+ "fields": {
1416
+ "distanceMeters": {
1417
+ "type": "int32",
1418
+ "id": 1
1419
+ },
1420
+ "staticDuration": {
1421
+ "type": "google.protobuf.Duration",
1422
+ "id": 2
1423
+ },
1424
+ "polyline": {
1425
+ "type": "Polyline",
1426
+ "id": 3
1427
+ },
1428
+ "startLocation": {
1429
+ "type": "Location",
1430
+ "id": 4
1431
+ },
1432
+ "endLocation": {
1433
+ "type": "Location",
1434
+ "id": 5
1435
+ },
1436
+ "navigationInstruction": {
1437
+ "type": "NavigationInstruction",
1438
+ "id": 6
1439
+ },
1440
+ "travelAdvisory": {
1441
+ "type": "RouteLegStepTravelAdvisory",
1442
+ "id": 7
1443
+ }
1444
+ }
1445
+ },
1446
+ "SpeedReadingInterval": {
1447
+ "oneofs": {
1448
+ "_startPolylinePointIndex": {
1449
+ "oneof": [
1450
+ "startPolylinePointIndex"
1451
+ ]
1452
+ },
1453
+ "_endPolylinePointIndex": {
1454
+ "oneof": [
1455
+ "endPolylinePointIndex"
1456
+ ]
1457
+ }
1458
+ },
1459
+ "fields": {
1460
+ "startPolylinePointIndex": {
1461
+ "type": "int32",
1462
+ "id": 1,
1463
+ "options": {
1464
+ "proto3_optional": true
1465
+ }
1466
+ },
1467
+ "endPolylinePointIndex": {
1468
+ "type": "int32",
1469
+ "id": 2,
1470
+ "options": {
1471
+ "proto3_optional": true
1472
+ }
1473
+ },
1474
+ "speed": {
1475
+ "type": "Speed",
1476
+ "id": 3
1477
+ }
1478
+ },
1479
+ "nested": {
1480
+ "Speed": {
1481
+ "values": {
1482
+ "SPEED_UNSPECIFIED": 0,
1483
+ "NORMAL": 1,
1484
+ "SLOW": 2,
1485
+ "TRAFFIC_JAM": 3
1486
+ }
1487
+ }
1488
+ }
1489
+ },
1490
+ "TollInfo": {
1491
+ "fields": {
1492
+ "estimatedPrice": {
1493
+ "rule": "repeated",
1494
+ "type": "google.type.Money",
1495
+ "id": 1
1496
+ }
1497
+ }
1498
+ },
1499
+ "RouteModifiers": {
1500
+ "fields": {
1501
+ "avoidTolls": {
1502
+ "type": "bool",
1503
+ "id": 1
1504
+ },
1505
+ "avoidHighways": {
1506
+ "type": "bool",
1507
+ "id": 2
1508
+ },
1509
+ "avoidFerries": {
1510
+ "type": "bool",
1511
+ "id": 3
1512
+ },
1513
+ "avoidIndoor": {
1514
+ "type": "bool",
1515
+ "id": 4
1516
+ },
1517
+ "vehicleInfo": {
1518
+ "type": "VehicleInfo",
1519
+ "id": 5
1520
+ },
1521
+ "tollPasses": {
1522
+ "rule": "repeated",
1523
+ "type": "TollPass",
1524
+ "id": 6
1525
+ }
1526
+ }
1527
+ },
1528
+ "TollPass": {
1529
+ "values": {
1530
+ "TOLL_PASS_UNSPECIFIED": 0,
1531
+ "AU_ETOLL_TAG": 82,
1532
+ "AU_EWAY_TAG": 83,
1533
+ "AU_LINKT": 2,
1534
+ "AR_TELEPASE": 3,
1535
+ "BR_AUTO_EXPRESO": 81,
1536
+ "BR_CONECTCAR": 7,
1537
+ "BR_MOVE_MAIS": 8,
1538
+ "BR_PASSA_RAPIDO": 88,
1539
+ "BR_SEM_PARAR": 9,
1540
+ "BR_TAGGY": 10,
1541
+ "BR_VELOE": 11,
1542
+ "CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD": 84,
1543
+ "CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD": 85,
1544
+ "CA_US_BLUE_WATER_EDGE_PASS": 18,
1545
+ "CA_US_CONNEXION": 19,
1546
+ "CA_US_NEXUS_CARD": 20,
1547
+ "ID_E_TOLL": 16,
1548
+ "IN_FASTAG": 78,
1549
+ "IN_LOCAL_HP_PLATE_EXEMPT": 79,
1550
+ "MX_IAVE": 90,
1551
+ "MX_PASE": 91,
1552
+ "MX_QUICKPASS": 93,
1553
+ "MX_SISTEMA_TELEPEAJE_CHIHUAHUA": 89,
1554
+ "MX_TAG_IAVE": 12,
1555
+ "MX_TAG_TELEVIA": 13,
1556
+ "MX_TELEVIA": 92,
1557
+ "MX_VIAPASS": 14,
1558
+ "US_AL_FREEDOM_PASS": 21,
1559
+ "US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS": 22,
1560
+ "US_CA_FASTRAK": 4,
1561
+ "US_CA_FASTRAK_CAV_STICKER": 86,
1562
+ "US_CO_EXPRESSTOLL": 23,
1563
+ "US_CO_GO_PASS": 24,
1564
+ "US_DE_EZPASSDE": 25,
1565
+ "US_FL_BOB_SIKES_TOLL_BRIDGE_PASS": 65,
1566
+ "US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD": 66,
1567
+ "US_FL_EPASS": 67,
1568
+ "US_FL_GIBA_TOLL_PASS": 68,
1569
+ "US_FL_LEEWAY": 69,
1570
+ "US_FL_SUNPASS": 70,
1571
+ "US_FL_SUNPASS_PRO": 71,
1572
+ "US_IL_EZPASSIL": 73,
1573
+ "US_IL_IPASS": 72,
1574
+ "US_IN_EZPASSIN": 26,
1575
+ "US_KS_BESTPASS_HORIZON": 27,
1576
+ "US_KS_KTAG": 28,
1577
+ "US_KS_NATIONALPASS": 29,
1578
+ "US_KS_PREPASS_ELITEPASS": 30,
1579
+ "US_KY_RIVERLINK": 31,
1580
+ "US_LA_GEAUXPASS": 32,
1581
+ "US_LA_TOLL_TAG": 33,
1582
+ "US_MA_EZPASSMA": 6,
1583
+ "US_MD_EZPASSMD": 34,
1584
+ "US_ME_EZPASSME": 35,
1585
+ "US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD": 36,
1586
+ "US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG": 37,
1587
+ "US_MI_IQ_PROX_CARD": 38,
1588
+ "US_MI_MACKINAC_BRIDGE_MAC_PASS": 39,
1589
+ "US_MI_NEXPRESS_TOLL": 40,
1590
+ "US_MN_EZPASSMN": 41,
1591
+ "US_NC_EZPASSNC": 42,
1592
+ "US_NC_PEACH_PASS": 87,
1593
+ "US_NC_QUICK_PASS": 43,
1594
+ "US_NH_EZPASSNH": 80,
1595
+ "US_NJ_DOWNBEACH_EXPRESS_PASS": 75,
1596
+ "US_NJ_EZPASSNJ": 74,
1597
+ "US_NY_EXPRESSPASS": 76,
1598
+ "US_NY_EZPASSNY": 77,
1599
+ "US_OH_EZPASSOH": 44,
1600
+ "US_PA_EZPASSPA": 45,
1601
+ "US_RI_EZPASSRI": 46,
1602
+ "US_SC_PALPASS": 47,
1603
+ "US_TX_BANCPASS": 48,
1604
+ "US_TX_DEL_RIO_PASS": 49,
1605
+ "US_TX_EFAST_PASS": 50,
1606
+ "US_TX_EAGLE_PASS_EXPRESS_CARD": 51,
1607
+ "US_TX_EPTOLL": 52,
1608
+ "US_TX_EZ_CROSS": 53,
1609
+ "US_TX_EZTAG": 54,
1610
+ "US_TX_LAREDO_TRADE_TAG": 55,
1611
+ "US_TX_PLUSPASS": 56,
1612
+ "US_TX_TOLLTAG": 57,
1613
+ "US_TX_TXTAG": 58,
1614
+ "US_TX_XPRESS_CARD": 59,
1615
+ "US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD": 60,
1616
+ "US_VA_EZPASSVA": 61,
1617
+ "US_WA_BREEZEBY": 17,
1618
+ "US_WA_GOOD_TO_GO": 1,
1619
+ "US_WV_EZPASSWV": 62,
1620
+ "US_WV_MEMORIAL_BRIDGE_TICKETS": 63,
1621
+ "US_WV_NEWELL_TOLL_BRIDGE_TICKET": 64
1622
+ }
1623
+ },
1624
+ "VehicleInfo": {
1625
+ "fields": {
1626
+ "emissionType": {
1627
+ "type": "VehicleEmissionType",
1628
+ "id": 2
1629
+ }
1630
+ }
1631
+ },
1632
+ "VehicleEmissionType": {
1633
+ "values": {
1634
+ "VEHICLE_EMISSION_TYPE_UNSPECIFIED": 0,
1635
+ "GASOLINE": 1,
1636
+ "ELECTRIC": 2,
1637
+ "HYBRID": 3
1638
+ }
1639
+ },
1640
+ "RouteTravelMode": {
1641
+ "values": {
1642
+ "TRAVEL_MODE_UNSPECIFIED": 0,
1643
+ "DRIVE": 1,
1644
+ "BICYCLE": 2,
1645
+ "WALK": 3,
1646
+ "TWO_WHEELER": 4
1647
+ }
1648
+ },
1649
+ "Routes": {
1650
+ "options": {
1651
+ "(google.api.default_host)": "routes.googleapis.com"
1652
+ },
1653
+ "methods": {
1654
+ "ComputeRoutes": {
1655
+ "requestType": "ComputeRoutesRequest",
1656
+ "responseType": "ComputeRoutesResponse",
1657
+ "options": {
1658
+ "(google.api.http).post": "/directions/v2:computeRoutes",
1659
+ "(google.api.http).body": "*"
1660
+ },
1661
+ "parsedOptions": [
1662
+ {
1663
+ "(google.api.http)": {
1664
+ "post": "/directions/v2:computeRoutes",
1665
+ "body": "*"
1666
+ }
1667
+ }
1668
+ ]
1669
+ },
1670
+ "ComputeRouteMatrix": {
1671
+ "requestType": "ComputeRouteMatrixRequest",
1672
+ "responseType": "RouteMatrixElement",
1673
+ "responseStream": true,
1674
+ "options": {
1675
+ "(google.api.http).post": "/distanceMatrix/v2:computeRouteMatrix",
1676
+ "(google.api.http).body": "*"
1677
+ },
1678
+ "parsedOptions": [
1679
+ {
1680
+ "(google.api.http)": {
1681
+ "post": "/distanceMatrix/v2:computeRouteMatrix",
1682
+ "body": "*"
1683
+ }
1684
+ }
1685
+ ]
1686
+ }
1687
+ }
1688
+ },
1689
+ "ComputeRoutesRequest": {
1690
+ "fields": {
1691
+ "origin": {
1692
+ "type": "Waypoint",
1693
+ "id": 1,
1694
+ "options": {
1695
+ "(google.api.field_behavior)": "REQUIRED"
1696
+ }
1697
+ },
1698
+ "destination": {
1699
+ "type": "Waypoint",
1700
+ "id": 2,
1701
+ "options": {
1702
+ "(google.api.field_behavior)": "REQUIRED"
1703
+ }
1704
+ },
1705
+ "intermediates": {
1706
+ "rule": "repeated",
1707
+ "type": "Waypoint",
1708
+ "id": 3,
1709
+ "options": {
1710
+ "(google.api.field_behavior)": "OPTIONAL"
1711
+ }
1712
+ },
1713
+ "travelMode": {
1714
+ "type": "RouteTravelMode",
1715
+ "id": 4,
1716
+ "options": {
1717
+ "(google.api.field_behavior)": "OPTIONAL"
1718
+ }
1719
+ },
1720
+ "routingPreference": {
1721
+ "type": "RoutingPreference",
1722
+ "id": 5,
1723
+ "options": {
1724
+ "(google.api.field_behavior)": "OPTIONAL"
1725
+ }
1726
+ },
1727
+ "polylineQuality": {
1728
+ "type": "PolylineQuality",
1729
+ "id": 6,
1730
+ "options": {
1731
+ "(google.api.field_behavior)": "OPTIONAL"
1732
+ }
1733
+ },
1734
+ "polylineEncoding": {
1735
+ "type": "PolylineEncoding",
1736
+ "id": 12,
1737
+ "options": {
1738
+ "(google.api.field_behavior)": "OPTIONAL"
1739
+ }
1740
+ },
1741
+ "departureTime": {
1742
+ "type": "google.protobuf.Timestamp",
1743
+ "id": 7,
1744
+ "options": {
1745
+ "(google.api.field_behavior)": "OPTIONAL"
1746
+ }
1747
+ },
1748
+ "computeAlternativeRoutes": {
1749
+ "type": "bool",
1750
+ "id": 8,
1751
+ "options": {
1752
+ "(google.api.field_behavior)": "OPTIONAL"
1753
+ }
1754
+ },
1755
+ "routeModifiers": {
1756
+ "type": "RouteModifiers",
1757
+ "id": 9,
1758
+ "options": {
1759
+ "(google.api.field_behavior)": "OPTIONAL"
1760
+ }
1761
+ },
1762
+ "languageCode": {
1763
+ "type": "string",
1764
+ "id": 10,
1765
+ "options": {
1766
+ "(google.api.field_behavior)": "OPTIONAL"
1767
+ }
1768
+ },
1769
+ "units": {
1770
+ "type": "Units",
1771
+ "id": 11,
1772
+ "options": {
1773
+ "(google.api.field_behavior)": "OPTIONAL"
1774
+ }
1775
+ }
1776
+ }
1777
+ },
1778
+ "ComputeRoutesResponse": {
1779
+ "fields": {
1780
+ "routes": {
1781
+ "rule": "repeated",
1782
+ "type": "Route",
1783
+ "id": 1
1784
+ },
1785
+ "fallbackInfo": {
1786
+ "type": "FallbackInfo",
1787
+ "id": 2
1788
+ }
1789
+ }
1790
+ },
1791
+ "ComputeRouteMatrixRequest": {
1792
+ "fields": {
1793
+ "origins": {
1794
+ "rule": "repeated",
1795
+ "type": "RouteMatrixOrigin",
1796
+ "id": 1,
1797
+ "options": {
1798
+ "(google.api.field_behavior)": "REQUIRED"
1799
+ }
1800
+ },
1801
+ "destinations": {
1802
+ "rule": "repeated",
1803
+ "type": "RouteMatrixDestination",
1804
+ "id": 2,
1805
+ "options": {
1806
+ "(google.api.field_behavior)": "REQUIRED"
1807
+ }
1808
+ },
1809
+ "travelMode": {
1810
+ "type": "RouteTravelMode",
1811
+ "id": 3,
1812
+ "options": {
1813
+ "(google.api.field_behavior)": "OPTIONAL"
1814
+ }
1815
+ },
1816
+ "routingPreference": {
1817
+ "type": "RoutingPreference",
1818
+ "id": 4,
1819
+ "options": {
1820
+ "(google.api.field_behavior)": "OPTIONAL"
1821
+ }
1822
+ },
1823
+ "departureTime": {
1824
+ "type": "google.protobuf.Timestamp",
1825
+ "id": 5,
1826
+ "options": {
1827
+ "(google.api.field_behavior)": "OPTIONAL"
1828
+ }
1829
+ }
1830
+ }
1831
+ },
1832
+ "RouteMatrixOrigin": {
1833
+ "fields": {
1834
+ "waypoint": {
1835
+ "type": "Waypoint",
1836
+ "id": 1,
1837
+ "options": {
1838
+ "(google.api.field_behavior)": "REQUIRED"
1839
+ }
1840
+ },
1841
+ "routeModifiers": {
1842
+ "type": "RouteModifiers",
1843
+ "id": 2,
1844
+ "options": {
1845
+ "(google.api.field_behavior)": "OPTIONAL"
1846
+ }
1847
+ }
1848
+ }
1849
+ },
1850
+ "RouteMatrixDestination": {
1851
+ "fields": {
1852
+ "waypoint": {
1853
+ "type": "Waypoint",
1854
+ "id": 1,
1855
+ "options": {
1856
+ "(google.api.field_behavior)": "REQUIRED"
1857
+ }
1858
+ }
1859
+ }
1860
+ },
1861
+ "RouteMatrixElement": {
1862
+ "oneofs": {
1863
+ "_originIndex": {
1864
+ "oneof": [
1865
+ "originIndex"
1866
+ ]
1867
+ },
1868
+ "_destinationIndex": {
1869
+ "oneof": [
1870
+ "destinationIndex"
1871
+ ]
1872
+ }
1873
+ },
1874
+ "fields": {
1875
+ "originIndex": {
1876
+ "type": "int32",
1877
+ "id": 1,
1878
+ "options": {
1879
+ "proto3_optional": true
1880
+ }
1881
+ },
1882
+ "destinationIndex": {
1883
+ "type": "int32",
1884
+ "id": 2,
1885
+ "options": {
1886
+ "proto3_optional": true
1887
+ }
1888
+ },
1889
+ "status": {
1890
+ "type": "google.rpc.Status",
1891
+ "id": 3
1892
+ },
1893
+ "condition": {
1894
+ "type": "RouteMatrixElementCondition",
1895
+ "id": 9
1896
+ },
1897
+ "distanceMeters": {
1898
+ "type": "int32",
1899
+ "id": 4
1900
+ },
1901
+ "duration": {
1902
+ "type": "google.protobuf.Duration",
1903
+ "id": 5
1904
+ },
1905
+ "staticDuration": {
1906
+ "type": "google.protobuf.Duration",
1907
+ "id": 6
1908
+ },
1909
+ "travelAdvisory": {
1910
+ "type": "RouteTravelAdvisory",
1911
+ "id": 7
1912
+ },
1913
+ "fallbackInfo": {
1914
+ "type": "FallbackInfo",
1915
+ "id": 8
1916
+ }
1917
+ }
1918
+ },
1919
+ "RouteMatrixElementCondition": {
1920
+ "values": {
1921
+ "ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED": 0,
1922
+ "ROUTE_EXISTS": 1,
1923
+ "ROUTE_NOT_FOUND": 2
1924
+ }
1925
+ },
1926
+ "RoutingPreference": {
1927
+ "values": {
1928
+ "ROUTING_PREFERENCE_UNSPECIFIED": 0,
1929
+ "TRAFFIC_UNAWARE": 1,
1930
+ "TRAFFIC_AWARE": 2,
1931
+ "TRAFFIC_AWARE_OPTIMAL": 3
1932
+ }
1933
+ },
1934
+ "Units": {
1935
+ "values": {
1936
+ "UNITS_UNSPECIFIED": 0,
1937
+ "METRIC": 1,
1938
+ "IMPERIAL": 2
1939
+ }
1940
+ },
1941
+ "Waypoint": {
1942
+ "oneofs": {
1943
+ "locationType": {
1944
+ "oneof": [
1945
+ "location",
1946
+ "placeId"
1947
+ ]
1948
+ }
1949
+ },
1950
+ "fields": {
1951
+ "location": {
1952
+ "type": "Location",
1953
+ "id": 1
1954
+ },
1955
+ "placeId": {
1956
+ "type": "string",
1957
+ "id": 2
1958
+ },
1959
+ "via": {
1960
+ "type": "bool",
1961
+ "id": 3
1962
+ },
1963
+ "vehicleStopover": {
1964
+ "type": "bool",
1965
+ "id": 4
1966
+ },
1967
+ "sideOfRoad": {
1968
+ "type": "bool",
1969
+ "id": 5
1970
+ }
1971
+ }
1972
+ }
1973
+ }
1974
+ }
1975
+ }
1976
+ }
1977
+ }
1978
+ },
1979
+ "api": {
1980
+ "options": {
1981
+ "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations",
1982
+ "java_multiple_files": true,
1983
+ "java_outer_classname": "FieldBehaviorProto",
1984
+ "java_package": "com.google.api",
1985
+ "objc_class_prefix": "GAPI",
1986
+ "cc_enable_arenas": true
1987
+ },
1988
+ "nested": {
1989
+ "http": {
1990
+ "type": "HttpRule",
1991
+ "id": 72295728,
1992
+ "extend": "google.protobuf.MethodOptions"
1993
+ },
1994
+ "Http": {
1995
+ "fields": {
1996
+ "rules": {
1997
+ "rule": "repeated",
1998
+ "type": "HttpRule",
1999
+ "id": 1
2000
+ },
2001
+ "fullyDecodeReservedExpansion": {
2002
+ "type": "bool",
2003
+ "id": 2
2004
+ }
2005
+ }
2006
+ },
2007
+ "HttpRule": {
2008
+ "oneofs": {
2009
+ "pattern": {
2010
+ "oneof": [
2011
+ "get",
2012
+ "put",
2013
+ "post",
2014
+ "delete",
2015
+ "patch",
2016
+ "custom"
2017
+ ]
2018
+ }
2019
+ },
2020
+ "fields": {
2021
+ "selector": {
2022
+ "type": "string",
2023
+ "id": 1
2024
+ },
2025
+ "get": {
2026
+ "type": "string",
2027
+ "id": 2
2028
+ },
2029
+ "put": {
2030
+ "type": "string",
2031
+ "id": 3
2032
+ },
2033
+ "post": {
2034
+ "type": "string",
2035
+ "id": 4
2036
+ },
2037
+ "delete": {
2038
+ "type": "string",
2039
+ "id": 5
2040
+ },
2041
+ "patch": {
2042
+ "type": "string",
2043
+ "id": 6
2044
+ },
2045
+ "custom": {
2046
+ "type": "CustomHttpPattern",
2047
+ "id": 8
2048
+ },
2049
+ "body": {
2050
+ "type": "string",
2051
+ "id": 7
2052
+ },
2053
+ "responseBody": {
2054
+ "type": "string",
2055
+ "id": 12
2056
+ },
2057
+ "additionalBindings": {
2058
+ "rule": "repeated",
2059
+ "type": "HttpRule",
2060
+ "id": 11
2061
+ }
2062
+ }
2063
+ },
2064
+ "CustomHttpPattern": {
2065
+ "fields": {
2066
+ "kind": {
2067
+ "type": "string",
2068
+ "id": 1
2069
+ },
2070
+ "path": {
2071
+ "type": "string",
2072
+ "id": 2
2073
+ }
2074
+ }
2075
+ },
2076
+ "methodSignature": {
2077
+ "rule": "repeated",
2078
+ "type": "string",
2079
+ "id": 1051,
2080
+ "extend": "google.protobuf.MethodOptions"
2081
+ },
2082
+ "defaultHost": {
2083
+ "type": "string",
2084
+ "id": 1049,
2085
+ "extend": "google.protobuf.ServiceOptions"
2086
+ },
2087
+ "oauthScopes": {
2088
+ "type": "string",
2089
+ "id": 1050,
2090
+ "extend": "google.protobuf.ServiceOptions"
2091
+ },
2092
+ "fieldBehavior": {
2093
+ "rule": "repeated",
2094
+ "type": "google.api.FieldBehavior",
2095
+ "id": 1052,
2096
+ "extend": "google.protobuf.FieldOptions"
2097
+ },
2098
+ "FieldBehavior": {
2099
+ "values": {
2100
+ "FIELD_BEHAVIOR_UNSPECIFIED": 0,
2101
+ "OPTIONAL": 1,
2102
+ "REQUIRED": 2,
2103
+ "OUTPUT_ONLY": 3,
2104
+ "INPUT_ONLY": 4,
2105
+ "IMMUTABLE": 5,
2106
+ "UNORDERED_LIST": 6,
2107
+ "NON_EMPTY_DEFAULT": 7
2108
+ }
2109
+ }
2110
+ }
2111
+ },
2112
+ "rpc": {
2113
+ "options": {
2114
+ "cc_enable_arenas": true,
2115
+ "go_package": "google.golang.org/genproto/googleapis/rpc/status;status",
2116
+ "java_multiple_files": true,
2117
+ "java_outer_classname": "StatusProto",
2118
+ "java_package": "com.google.rpc",
2119
+ "objc_class_prefix": "RPC"
2120
+ },
2121
+ "nested": {
2122
+ "Status": {
2123
+ "fields": {
2124
+ "code": {
2125
+ "type": "int32",
2126
+ "id": 1
2127
+ },
2128
+ "message": {
2129
+ "type": "string",
2130
+ "id": 2
2131
+ },
2132
+ "details": {
2133
+ "rule": "repeated",
2134
+ "type": "google.protobuf.Any",
2135
+ "id": 3
2136
+ }
2137
+ }
2138
+ }
2139
+ }
2140
+ }
2141
+ }
2142
+ }
2143
+ }
2144
+ }