koilib 9.0.0 → 9.1.1

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 (49) hide show
  1. package/dist/koinos.js +1002 -79
  2. package/dist/koinos.min.js +1 -1
  3. package/lib/Contract.d.ts +1 -1
  4. package/lib/Contract.js +1 -1
  5. package/lib/Contract.js.map +1 -1
  6. package/lib/Provider.d.ts +2 -8
  7. package/lib/Provider.js +3 -9
  8. package/lib/Provider.js.map +1 -1
  9. package/lib/Serializer.js +7 -1
  10. package/lib/Serializer.js.map +1 -1
  11. package/lib/abis/nicknamesAbi.d.ts +29 -0
  12. package/lib/abis/nicknamesAbi.js +916 -0
  13. package/lib/abis/nicknamesAbi.js.map +1 -0
  14. package/lib/browser/Contract.d.ts +1 -1
  15. package/lib/browser/Contract.js +1 -1
  16. package/lib/browser/Contract.js.map +1 -1
  17. package/lib/browser/Provider.d.ts +2 -8
  18. package/lib/browser/Provider.js +3 -9
  19. package/lib/browser/Provider.js.map +1 -1
  20. package/lib/browser/Serializer.js +7 -1
  21. package/lib/browser/Serializer.js.map +1 -1
  22. package/lib/browser/abis/nicknamesAbi.d.ts +29 -0
  23. package/lib/browser/abis/nicknamesAbi.js +916 -0
  24. package/lib/browser/abis/nicknamesAbi.js.map +1 -0
  25. package/lib/browser/interface.d.ts +2 -8
  26. package/lib/browser/protobuf/googleProtobufDescriptor.d.ts +834 -0
  27. package/lib/browser/protobuf/googleProtobufDescriptor.js +844 -0
  28. package/lib/browser/protobuf/googleProtobufDescriptor.js.map +1 -0
  29. package/lib/browser/utils.d.ts +1 -0
  30. package/lib/browser/utils.js +6 -0
  31. package/lib/browser/utils.js.map +1 -1
  32. package/lib/interface.d.ts +2 -8
  33. package/lib/protobuf/googleProtobufDescriptor.d.ts +834 -0
  34. package/lib/protobuf/googleProtobufDescriptor.js +844 -0
  35. package/lib/protobuf/googleProtobufDescriptor.js.map +1 -0
  36. package/lib/utils.d.ts +1 -0
  37. package/lib/utils.js +6 -0
  38. package/lib/utils.js.map +1 -1
  39. package/package.json +2 -2
  40. package/src/Contract.ts +2 -2
  41. package/src/Provider.ts +3 -9
  42. package/src/Serializer.ts +7 -1
  43. package/src/abis/nicknamesAbi.ts +922 -0
  44. package/src/interface.ts +2 -8
  45. package/src/protoModules/token-proto copy.json +1173 -0
  46. package/src/protoModules/token-proto.js +13382 -0
  47. package/src/protoModules/token-proto.json +1173 -0
  48. package/src/protobuf/googleProtobufDescriptor.ts +840 -0
  49. package/src/utils.ts +3 -0
@@ -0,0 +1,1173 @@
1
+ {
2
+ "options": {
3
+ "syntax": "proto2"
4
+ },
5
+ "nested": {
6
+ "koinos": {
7
+ "options": {
8
+ "go_package": "github.com/koinos/koinos-proto-golang/v2/koinos"
9
+ },
10
+ "nested": {
11
+ "contracts": {
12
+ "nested": {
13
+ "token": {
14
+ "options": {
15
+ "go_package": "github.com/koinos/koinos-proto-golang/v2/koinos/contracts/token"
16
+ },
17
+ "nested": {
18
+ "name_arguments": {
19
+ "fields": {}
20
+ },
21
+ "name_result": {
22
+ "fields": {
23
+ "value": {
24
+ "type": "string",
25
+ "id": 1
26
+ }
27
+ }
28
+ },
29
+ "symbol_arguments": {
30
+ "fields": {}
31
+ },
32
+ "symbol_result": {
33
+ "fields": {
34
+ "value": {
35
+ "type": "string",
36
+ "id": 1
37
+ }
38
+ }
39
+ },
40
+ "decimals_arguments": {
41
+ "fields": {}
42
+ },
43
+ "decimals_result": {
44
+ "fields": {
45
+ "value": {
46
+ "type": "uint32",
47
+ "id": 1
48
+ }
49
+ }
50
+ },
51
+ "total_supply_arguments": {
52
+ "fields": {}
53
+ },
54
+ "total_supply_result": {
55
+ "fields": {
56
+ "value": {
57
+ "type": "uint64",
58
+ "id": 1,
59
+ "options": {
60
+ "jstype": "JS_STRING"
61
+ }
62
+ }
63
+ }
64
+ },
65
+ "balance_of_arguments": {
66
+ "fields": {
67
+ "owner": {
68
+ "type": "bytes",
69
+ "id": 1,
70
+ "options": {
71
+ "(btype)": "ADDRESS"
72
+ }
73
+ }
74
+ }
75
+ },
76
+ "balance_of_result": {
77
+ "fields": {
78
+ "value": {
79
+ "type": "uint64",
80
+ "id": 1,
81
+ "options": {
82
+ "jstype": "JS_STRING"
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "transfer_arguments": {
88
+ "fields": {
89
+ "from": {
90
+ "type": "bytes",
91
+ "id": 1,
92
+ "options": {
93
+ "(btype)": "ADDRESS"
94
+ }
95
+ },
96
+ "to": {
97
+ "type": "bytes",
98
+ "id": 2,
99
+ "options": {
100
+ "(btype)": "ADDRESS"
101
+ }
102
+ },
103
+ "value": {
104
+ "type": "uint64",
105
+ "id": 3,
106
+ "options": {
107
+ "jstype": "JS_STRING"
108
+ }
109
+ }
110
+ }
111
+ },
112
+ "transfer_result": {
113
+ "fields": {}
114
+ },
115
+ "mint_arguments": {
116
+ "fields": {
117
+ "to": {
118
+ "type": "bytes",
119
+ "id": 1,
120
+ "options": {
121
+ "(btype)": "ADDRESS"
122
+ }
123
+ },
124
+ "value": {
125
+ "type": "uint64",
126
+ "id": 2,
127
+ "options": {
128
+ "jstype": "JS_STRING"
129
+ }
130
+ }
131
+ }
132
+ },
133
+ "mint_result": {
134
+ "fields": {}
135
+ },
136
+ "burn_arguments": {
137
+ "fields": {
138
+ "from": {
139
+ "type": "bytes",
140
+ "id": 1,
141
+ "options": {
142
+ "(btype)": "ADDRESS"
143
+ }
144
+ },
145
+ "value": {
146
+ "type": "uint64",
147
+ "id": 2,
148
+ "options": {
149
+ "jstype": "JS_STRING"
150
+ }
151
+ }
152
+ }
153
+ },
154
+ "burn_result": {
155
+ "fields": {}
156
+ },
157
+ "balance_object": {
158
+ "fields": {
159
+ "value": {
160
+ "type": "uint64",
161
+ "id": 1,
162
+ "options": {
163
+ "jstype": "JS_STRING"
164
+ }
165
+ }
166
+ }
167
+ },
168
+ "burn_event": {
169
+ "fields": {
170
+ "from": {
171
+ "type": "bytes",
172
+ "id": 1,
173
+ "options": {
174
+ "(btype)": "ADDRESS"
175
+ }
176
+ },
177
+ "value": {
178
+ "type": "uint64",
179
+ "id": 2,
180
+ "options": {
181
+ "jstype": "JS_STRING"
182
+ }
183
+ }
184
+ }
185
+ },
186
+ "mint_event": {
187
+ "fields": {
188
+ "to": {
189
+ "type": "bytes",
190
+ "id": 1,
191
+ "options": {
192
+ "(btype)": "ADDRESS"
193
+ }
194
+ },
195
+ "value": {
196
+ "type": "uint64",
197
+ "id": 2,
198
+ "options": {
199
+ "jstype": "JS_STRING"
200
+ }
201
+ }
202
+ }
203
+ },
204
+ "transfer_event": {
205
+ "fields": {
206
+ "from": {
207
+ "type": "bytes",
208
+ "id": 1,
209
+ "options": {
210
+ "(btype)": "ADDRESS"
211
+ }
212
+ },
213
+ "to": {
214
+ "type": "bytes",
215
+ "id": 2,
216
+ "options": {
217
+ "(btype)": "ADDRESS"
218
+ }
219
+ },
220
+ "value": {
221
+ "type": "uint64",
222
+ "id": 3,
223
+ "options": {
224
+ "jstype": "JS_STRING"
225
+ }
226
+ }
227
+ }
228
+ }
229
+ }
230
+ }
231
+ }
232
+ },
233
+ "bytes_type": {
234
+ "values": {
235
+ "BASE64": 0,
236
+ "BASE58": 1,
237
+ "HEX": 2,
238
+ "BLOCK_ID": 3,
239
+ "TRANSACTION_ID": 4,
240
+ "CONTRACT_ID": 5,
241
+ "ADDRESS": 6
242
+ }
243
+ },
244
+ "_btype": {
245
+ "oneof": [
246
+ "btype"
247
+ ]
248
+ },
249
+ "btype": {
250
+ "type": "bytes_type",
251
+ "id": 50000,
252
+ "extend": "google.protobuf.FieldOptions",
253
+ "options": {
254
+ "proto3_optional": true
255
+ }
256
+ }
257
+ }
258
+ },
259
+ "google": {
260
+ "nested": {
261
+ "protobuf": {
262
+ "options": {
263
+ "go_package": "google.golang.org/protobuf/types/descriptorpb",
264
+ "java_package": "com.google.protobuf",
265
+ "java_outer_classname": "DescriptorProtos",
266
+ "csharp_namespace": "Google.Protobuf.Reflection",
267
+ "objc_class_prefix": "GPB",
268
+ "cc_enable_arenas": true,
269
+ "optimize_for": "SPEED"
270
+ },
271
+ "nested": {
272
+ "FileDescriptorSet": {
273
+ "fields": {
274
+ "file": {
275
+ "rule": "repeated",
276
+ "type": "FileDescriptorProto",
277
+ "id": 1
278
+ }
279
+ }
280
+ },
281
+ "FileDescriptorProto": {
282
+ "fields": {
283
+ "name": {
284
+ "type": "string",
285
+ "id": 1
286
+ },
287
+ "package": {
288
+ "type": "string",
289
+ "id": 2
290
+ },
291
+ "dependency": {
292
+ "rule": "repeated",
293
+ "type": "string",
294
+ "id": 3
295
+ },
296
+ "public_dependency": {
297
+ "rule": "repeated",
298
+ "type": "int32",
299
+ "id": 10,
300
+ "options": {
301
+ "packed": false
302
+ }
303
+ },
304
+ "weak_dependency": {
305
+ "rule": "repeated",
306
+ "type": "int32",
307
+ "id": 11,
308
+ "options": {
309
+ "packed": false
310
+ }
311
+ },
312
+ "message_type": {
313
+ "rule": "repeated",
314
+ "type": "DescriptorProto",
315
+ "id": 4
316
+ },
317
+ "enum_type": {
318
+ "rule": "repeated",
319
+ "type": "EnumDescriptorProto",
320
+ "id": 5
321
+ },
322
+ "service": {
323
+ "rule": "repeated",
324
+ "type": "ServiceDescriptorProto",
325
+ "id": 6
326
+ },
327
+ "extension": {
328
+ "rule": "repeated",
329
+ "type": "FieldDescriptorProto",
330
+ "id": 7
331
+ },
332
+ "options": {
333
+ "type": "FileOptions",
334
+ "id": 8
335
+ },
336
+ "source_code_info": {
337
+ "type": "SourceCodeInfo",
338
+ "id": 9
339
+ },
340
+ "syntax": {
341
+ "type": "string",
342
+ "id": 12
343
+ }
344
+ }
345
+ },
346
+ "DescriptorProto": {
347
+ "fields": {
348
+ "name": {
349
+ "type": "string",
350
+ "id": 1
351
+ },
352
+ "field": {
353
+ "rule": "repeated",
354
+ "type": "FieldDescriptorProto",
355
+ "id": 2
356
+ },
357
+ "extension": {
358
+ "rule": "repeated",
359
+ "type": "FieldDescriptorProto",
360
+ "id": 6
361
+ },
362
+ "nested_type": {
363
+ "rule": "repeated",
364
+ "type": "DescriptorProto",
365
+ "id": 3
366
+ },
367
+ "enum_type": {
368
+ "rule": "repeated",
369
+ "type": "EnumDescriptorProto",
370
+ "id": 4
371
+ },
372
+ "extension_range": {
373
+ "rule": "repeated",
374
+ "type": "ExtensionRange",
375
+ "id": 5
376
+ },
377
+ "oneof_decl": {
378
+ "rule": "repeated",
379
+ "type": "OneofDescriptorProto",
380
+ "id": 8
381
+ },
382
+ "options": {
383
+ "type": "MessageOptions",
384
+ "id": 7
385
+ },
386
+ "reserved_range": {
387
+ "rule": "repeated",
388
+ "type": "ReservedRange",
389
+ "id": 9
390
+ },
391
+ "reserved_name": {
392
+ "rule": "repeated",
393
+ "type": "string",
394
+ "id": 10
395
+ }
396
+ },
397
+ "nested": {
398
+ "ExtensionRange": {
399
+ "fields": {
400
+ "start": {
401
+ "type": "int32",
402
+ "id": 1
403
+ },
404
+ "end": {
405
+ "type": "int32",
406
+ "id": 2
407
+ },
408
+ "options": {
409
+ "type": "ExtensionRangeOptions",
410
+ "id": 3
411
+ }
412
+ }
413
+ },
414
+ "ReservedRange": {
415
+ "fields": {
416
+ "start": {
417
+ "type": "int32",
418
+ "id": 1
419
+ },
420
+ "end": {
421
+ "type": "int32",
422
+ "id": 2
423
+ }
424
+ }
425
+ }
426
+ }
427
+ },
428
+ "ExtensionRangeOptions": {
429
+ "fields": {
430
+ "uninterpreted_option": {
431
+ "rule": "repeated",
432
+ "type": "UninterpretedOption",
433
+ "id": 999
434
+ }
435
+ },
436
+ "extensions": [
437
+ [
438
+ 1000,
439
+ 536870911
440
+ ]
441
+ ]
442
+ },
443
+ "FieldDescriptorProto": {
444
+ "fields": {
445
+ "name": {
446
+ "type": "string",
447
+ "id": 1
448
+ },
449
+ "number": {
450
+ "type": "int32",
451
+ "id": 3
452
+ },
453
+ "label": {
454
+ "type": "Label",
455
+ "id": 4
456
+ },
457
+ "type": {
458
+ "type": "Type",
459
+ "id": 5
460
+ },
461
+ "type_name": {
462
+ "type": "string",
463
+ "id": 6
464
+ },
465
+ "extendee": {
466
+ "type": "string",
467
+ "id": 2
468
+ },
469
+ "default_value": {
470
+ "type": "string",
471
+ "id": 7
472
+ },
473
+ "oneof_index": {
474
+ "type": "int32",
475
+ "id": 9
476
+ },
477
+ "json_name": {
478
+ "type": "string",
479
+ "id": 10
480
+ },
481
+ "options": {
482
+ "type": "FieldOptions",
483
+ "id": 8
484
+ },
485
+ "proto3_optional": {
486
+ "type": "bool",
487
+ "id": 17
488
+ }
489
+ },
490
+ "nested": {
491
+ "Type": {
492
+ "values": {
493
+ "TYPE_DOUBLE": 1,
494
+ "TYPE_FLOAT": 2,
495
+ "TYPE_INT64": 3,
496
+ "TYPE_UINT64": 4,
497
+ "TYPE_INT32": 5,
498
+ "TYPE_FIXED64": 6,
499
+ "TYPE_FIXED32": 7,
500
+ "TYPE_BOOL": 8,
501
+ "TYPE_STRING": 9,
502
+ "TYPE_GROUP": 10,
503
+ "TYPE_MESSAGE": 11,
504
+ "TYPE_BYTES": 12,
505
+ "TYPE_UINT32": 13,
506
+ "TYPE_ENUM": 14,
507
+ "TYPE_SFIXED32": 15,
508
+ "TYPE_SFIXED64": 16,
509
+ "TYPE_SINT32": 17,
510
+ "TYPE_SINT64": 18
511
+ }
512
+ },
513
+ "Label": {
514
+ "values": {
515
+ "LABEL_OPTIONAL": 1,
516
+ "LABEL_REQUIRED": 2,
517
+ "LABEL_REPEATED": 3
518
+ }
519
+ }
520
+ }
521
+ },
522
+ "OneofDescriptorProto": {
523
+ "fields": {
524
+ "name": {
525
+ "type": "string",
526
+ "id": 1
527
+ },
528
+ "options": {
529
+ "type": "OneofOptions",
530
+ "id": 2
531
+ }
532
+ }
533
+ },
534
+ "EnumDescriptorProto": {
535
+ "fields": {
536
+ "name": {
537
+ "type": "string",
538
+ "id": 1
539
+ },
540
+ "value": {
541
+ "rule": "repeated",
542
+ "type": "EnumValueDescriptorProto",
543
+ "id": 2
544
+ },
545
+ "options": {
546
+ "type": "EnumOptions",
547
+ "id": 3
548
+ },
549
+ "reserved_range": {
550
+ "rule": "repeated",
551
+ "type": "EnumReservedRange",
552
+ "id": 4
553
+ },
554
+ "reserved_name": {
555
+ "rule": "repeated",
556
+ "type": "string",
557
+ "id": 5
558
+ }
559
+ },
560
+ "nested": {
561
+ "EnumReservedRange": {
562
+ "fields": {
563
+ "start": {
564
+ "type": "int32",
565
+ "id": 1
566
+ },
567
+ "end": {
568
+ "type": "int32",
569
+ "id": 2
570
+ }
571
+ }
572
+ }
573
+ }
574
+ },
575
+ "EnumValueDescriptorProto": {
576
+ "fields": {
577
+ "name": {
578
+ "type": "string",
579
+ "id": 1
580
+ },
581
+ "number": {
582
+ "type": "int32",
583
+ "id": 2
584
+ },
585
+ "options": {
586
+ "type": "EnumValueOptions",
587
+ "id": 3
588
+ }
589
+ }
590
+ },
591
+ "ServiceDescriptorProto": {
592
+ "fields": {
593
+ "name": {
594
+ "type": "string",
595
+ "id": 1
596
+ },
597
+ "method": {
598
+ "rule": "repeated",
599
+ "type": "MethodDescriptorProto",
600
+ "id": 2
601
+ },
602
+ "options": {
603
+ "type": "ServiceOptions",
604
+ "id": 3
605
+ }
606
+ }
607
+ },
608
+ "MethodDescriptorProto": {
609
+ "fields": {
610
+ "name": {
611
+ "type": "string",
612
+ "id": 1
613
+ },
614
+ "input_type": {
615
+ "type": "string",
616
+ "id": 2
617
+ },
618
+ "output_type": {
619
+ "type": "string",
620
+ "id": 3
621
+ },
622
+ "options": {
623
+ "type": "MethodOptions",
624
+ "id": 4
625
+ },
626
+ "client_streaming": {
627
+ "type": "bool",
628
+ "id": 5,
629
+ "options": {
630
+ "default": false
631
+ }
632
+ },
633
+ "server_streaming": {
634
+ "type": "bool",
635
+ "id": 6,
636
+ "options": {
637
+ "default": false
638
+ }
639
+ }
640
+ }
641
+ },
642
+ "FileOptions": {
643
+ "fields": {
644
+ "java_package": {
645
+ "type": "string",
646
+ "id": 1
647
+ },
648
+ "java_outer_classname": {
649
+ "type": "string",
650
+ "id": 8
651
+ },
652
+ "java_multiple_files": {
653
+ "type": "bool",
654
+ "id": 10,
655
+ "options": {
656
+ "default": false
657
+ }
658
+ },
659
+ "java_generate_equals_and_hash": {
660
+ "type": "bool",
661
+ "id": 20,
662
+ "options": {
663
+ "deprecated": true
664
+ }
665
+ },
666
+ "java_string_check_utf8": {
667
+ "type": "bool",
668
+ "id": 27,
669
+ "options": {
670
+ "default": false
671
+ }
672
+ },
673
+ "optimize_for": {
674
+ "type": "OptimizeMode",
675
+ "id": 9,
676
+ "options": {
677
+ "default": "SPEED"
678
+ }
679
+ },
680
+ "go_package": {
681
+ "type": "string",
682
+ "id": 11
683
+ },
684
+ "cc_generic_services": {
685
+ "type": "bool",
686
+ "id": 16,
687
+ "options": {
688
+ "default": false
689
+ }
690
+ },
691
+ "java_generic_services": {
692
+ "type": "bool",
693
+ "id": 17,
694
+ "options": {
695
+ "default": false
696
+ }
697
+ },
698
+ "py_generic_services": {
699
+ "type": "bool",
700
+ "id": 18,
701
+ "options": {
702
+ "default": false
703
+ }
704
+ },
705
+ "php_generic_services": {
706
+ "type": "bool",
707
+ "id": 42,
708
+ "options": {
709
+ "default": false
710
+ }
711
+ },
712
+ "deprecated": {
713
+ "type": "bool",
714
+ "id": 23,
715
+ "options": {
716
+ "default": false
717
+ }
718
+ },
719
+ "cc_enable_arenas": {
720
+ "type": "bool",
721
+ "id": 31,
722
+ "options": {
723
+ "default": true
724
+ }
725
+ },
726
+ "objc_class_prefix": {
727
+ "type": "string",
728
+ "id": 36
729
+ },
730
+ "csharp_namespace": {
731
+ "type": "string",
732
+ "id": 37
733
+ },
734
+ "swift_prefix": {
735
+ "type": "string",
736
+ "id": 39
737
+ },
738
+ "php_class_prefix": {
739
+ "type": "string",
740
+ "id": 40
741
+ },
742
+ "php_namespace": {
743
+ "type": "string",
744
+ "id": 41
745
+ },
746
+ "php_metadata_namespace": {
747
+ "type": "string",
748
+ "id": 44
749
+ },
750
+ "ruby_package": {
751
+ "type": "string",
752
+ "id": 45
753
+ },
754
+ "uninterpreted_option": {
755
+ "rule": "repeated",
756
+ "type": "UninterpretedOption",
757
+ "id": 999
758
+ }
759
+ },
760
+ "extensions": [
761
+ [
762
+ 1000,
763
+ 536870911
764
+ ]
765
+ ],
766
+ "reserved": [
767
+ [
768
+ 38,
769
+ 38
770
+ ]
771
+ ],
772
+ "nested": {
773
+ "OptimizeMode": {
774
+ "values": {
775
+ "SPEED": 1,
776
+ "CODE_SIZE": 2,
777
+ "LITE_RUNTIME": 3
778
+ }
779
+ }
780
+ }
781
+ },
782
+ "MessageOptions": {
783
+ "fields": {
784
+ "message_set_wire_format": {
785
+ "type": "bool",
786
+ "id": 1,
787
+ "options": {
788
+ "default": false
789
+ }
790
+ },
791
+ "no_standard_descriptor_accessor": {
792
+ "type": "bool",
793
+ "id": 2,
794
+ "options": {
795
+ "default": false
796
+ }
797
+ },
798
+ "deprecated": {
799
+ "type": "bool",
800
+ "id": 3,
801
+ "options": {
802
+ "default": false
803
+ }
804
+ },
805
+ "map_entry": {
806
+ "type": "bool",
807
+ "id": 7
808
+ },
809
+ "uninterpreted_option": {
810
+ "rule": "repeated",
811
+ "type": "UninterpretedOption",
812
+ "id": 999
813
+ }
814
+ },
815
+ "extensions": [
816
+ [
817
+ 1000,
818
+ 536870911
819
+ ]
820
+ ],
821
+ "reserved": [
822
+ [
823
+ 4,
824
+ 4
825
+ ],
826
+ [
827
+ 5,
828
+ 5
829
+ ],
830
+ [
831
+ 6,
832
+ 6
833
+ ],
834
+ [
835
+ 8,
836
+ 8
837
+ ],
838
+ [
839
+ 9,
840
+ 9
841
+ ]
842
+ ]
843
+ },
844
+ "FieldOptions": {
845
+ "fields": {
846
+ "ctype": {
847
+ "type": "CType",
848
+ "id": 1,
849
+ "options": {
850
+ "default": "STRING"
851
+ }
852
+ },
853
+ "packed": {
854
+ "type": "bool",
855
+ "id": 2
856
+ },
857
+ "jstype": {
858
+ "type": "JSType",
859
+ "id": 6,
860
+ "options": {
861
+ "default": "JS_NORMAL"
862
+ }
863
+ },
864
+ "lazy": {
865
+ "type": "bool",
866
+ "id": 5,
867
+ "options": {
868
+ "default": false
869
+ }
870
+ },
871
+ "deprecated": {
872
+ "type": "bool",
873
+ "id": 3,
874
+ "options": {
875
+ "default": false
876
+ }
877
+ },
878
+ "weak": {
879
+ "type": "bool",
880
+ "id": 10,
881
+ "options": {
882
+ "default": false
883
+ }
884
+ },
885
+ "uninterpreted_option": {
886
+ "rule": "repeated",
887
+ "type": "UninterpretedOption",
888
+ "id": 999
889
+ }
890
+ },
891
+ "extensions": [
892
+ [
893
+ 1000,
894
+ 536870911
895
+ ]
896
+ ],
897
+ "reserved": [
898
+ [
899
+ 4,
900
+ 4
901
+ ]
902
+ ],
903
+ "nested": {
904
+ "CType": {
905
+ "values": {
906
+ "STRING": 0,
907
+ "CORD": 1,
908
+ "STRING_PIECE": 2
909
+ }
910
+ },
911
+ "JSType": {
912
+ "values": {
913
+ "JS_NORMAL": 0,
914
+ "JS_STRING": 1,
915
+ "JS_NUMBER": 2
916
+ }
917
+ }
918
+ }
919
+ },
920
+ "OneofOptions": {
921
+ "fields": {
922
+ "uninterpreted_option": {
923
+ "rule": "repeated",
924
+ "type": "UninterpretedOption",
925
+ "id": 999
926
+ }
927
+ },
928
+ "extensions": [
929
+ [
930
+ 1000,
931
+ 536870911
932
+ ]
933
+ ]
934
+ },
935
+ "EnumOptions": {
936
+ "fields": {
937
+ "allow_alias": {
938
+ "type": "bool",
939
+ "id": 2
940
+ },
941
+ "deprecated": {
942
+ "type": "bool",
943
+ "id": 3,
944
+ "options": {
945
+ "default": false
946
+ }
947
+ },
948
+ "uninterpreted_option": {
949
+ "rule": "repeated",
950
+ "type": "UninterpretedOption",
951
+ "id": 999
952
+ }
953
+ },
954
+ "extensions": [
955
+ [
956
+ 1000,
957
+ 536870911
958
+ ]
959
+ ],
960
+ "reserved": [
961
+ [
962
+ 5,
963
+ 5
964
+ ]
965
+ ]
966
+ },
967
+ "EnumValueOptions": {
968
+ "fields": {
969
+ "deprecated": {
970
+ "type": "bool",
971
+ "id": 1,
972
+ "options": {
973
+ "default": false
974
+ }
975
+ },
976
+ "uninterpreted_option": {
977
+ "rule": "repeated",
978
+ "type": "UninterpretedOption",
979
+ "id": 999
980
+ }
981
+ },
982
+ "extensions": [
983
+ [
984
+ 1000,
985
+ 536870911
986
+ ]
987
+ ]
988
+ },
989
+ "ServiceOptions": {
990
+ "fields": {
991
+ "deprecated": {
992
+ "type": "bool",
993
+ "id": 33,
994
+ "options": {
995
+ "default": false
996
+ }
997
+ },
998
+ "uninterpreted_option": {
999
+ "rule": "repeated",
1000
+ "type": "UninterpretedOption",
1001
+ "id": 999
1002
+ }
1003
+ },
1004
+ "extensions": [
1005
+ [
1006
+ 1000,
1007
+ 536870911
1008
+ ]
1009
+ ]
1010
+ },
1011
+ "MethodOptions": {
1012
+ "fields": {
1013
+ "deprecated": {
1014
+ "type": "bool",
1015
+ "id": 33,
1016
+ "options": {
1017
+ "default": false
1018
+ }
1019
+ },
1020
+ "idempotency_level": {
1021
+ "type": "IdempotencyLevel",
1022
+ "id": 34,
1023
+ "options": {
1024
+ "default": "IDEMPOTENCY_UNKNOWN"
1025
+ }
1026
+ },
1027
+ "uninterpreted_option": {
1028
+ "rule": "repeated",
1029
+ "type": "UninterpretedOption",
1030
+ "id": 999
1031
+ }
1032
+ },
1033
+ "extensions": [
1034
+ [
1035
+ 1000,
1036
+ 536870911
1037
+ ]
1038
+ ],
1039
+ "nested": {
1040
+ "IdempotencyLevel": {
1041
+ "values": {
1042
+ "IDEMPOTENCY_UNKNOWN": 0,
1043
+ "NO_SIDE_EFFECTS": 1,
1044
+ "IDEMPOTENT": 2
1045
+ }
1046
+ }
1047
+ }
1048
+ },
1049
+ "UninterpretedOption": {
1050
+ "fields": {
1051
+ "name": {
1052
+ "rule": "repeated",
1053
+ "type": "NamePart",
1054
+ "id": 2
1055
+ },
1056
+ "identifier_value": {
1057
+ "type": "string",
1058
+ "id": 3
1059
+ },
1060
+ "positive_int_value": {
1061
+ "type": "uint64",
1062
+ "id": 4
1063
+ },
1064
+ "negative_int_value": {
1065
+ "type": "int64",
1066
+ "id": 5
1067
+ },
1068
+ "double_value": {
1069
+ "type": "double",
1070
+ "id": 6
1071
+ },
1072
+ "string_value": {
1073
+ "type": "bytes",
1074
+ "id": 7
1075
+ },
1076
+ "aggregate_value": {
1077
+ "type": "string",
1078
+ "id": 8
1079
+ }
1080
+ },
1081
+ "nested": {
1082
+ "NamePart": {
1083
+ "fields": {
1084
+ "name_part": {
1085
+ "rule": "required",
1086
+ "type": "string",
1087
+ "id": 1
1088
+ },
1089
+ "is_extension": {
1090
+ "rule": "required",
1091
+ "type": "bool",
1092
+ "id": 2
1093
+ }
1094
+ }
1095
+ }
1096
+ }
1097
+ },
1098
+ "SourceCodeInfo": {
1099
+ "fields": {
1100
+ "location": {
1101
+ "rule": "repeated",
1102
+ "type": "Location",
1103
+ "id": 1
1104
+ }
1105
+ },
1106
+ "nested": {
1107
+ "Location": {
1108
+ "fields": {
1109
+ "path": {
1110
+ "rule": "repeated",
1111
+ "type": "int32",
1112
+ "id": 1
1113
+ },
1114
+ "span": {
1115
+ "rule": "repeated",
1116
+ "type": "int32",
1117
+ "id": 2
1118
+ },
1119
+ "leading_comments": {
1120
+ "type": "string",
1121
+ "id": 3
1122
+ },
1123
+ "trailing_comments": {
1124
+ "type": "string",
1125
+ "id": 4
1126
+ },
1127
+ "leading_detached_comments": {
1128
+ "rule": "repeated",
1129
+ "type": "string",
1130
+ "id": 6
1131
+ }
1132
+ }
1133
+ }
1134
+ }
1135
+ },
1136
+ "GeneratedCodeInfo": {
1137
+ "fields": {
1138
+ "annotation": {
1139
+ "rule": "repeated",
1140
+ "type": "Annotation",
1141
+ "id": 1
1142
+ }
1143
+ },
1144
+ "nested": {
1145
+ "Annotation": {
1146
+ "fields": {
1147
+ "path": {
1148
+ "rule": "repeated",
1149
+ "type": "int32",
1150
+ "id": 1
1151
+ },
1152
+ "source_file": {
1153
+ "type": "string",
1154
+ "id": 2
1155
+ },
1156
+ "begin": {
1157
+ "type": "int32",
1158
+ "id": 3
1159
+ },
1160
+ "end": {
1161
+ "type": "int32",
1162
+ "id": 4
1163
+ }
1164
+ }
1165
+ }
1166
+ }
1167
+ }
1168
+ }
1169
+ }
1170
+ }
1171
+ }
1172
+ }
1173
+ }