@zilliz/milvus2-sdk-node 2.6.9 → 2.6.11

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 (59) hide show
  1. package/README.md +24 -196
  2. package/dist/milvus/HttpClient.d.ts +39 -0
  3. package/dist/milvus/HttpClient.js +1 -1
  4. package/dist/milvus/HttpClient.js.map +1 -1
  5. package/dist/milvus/const/client.d.ts +3 -1
  6. package/dist/milvus/const/client.js +2 -0
  7. package/dist/milvus/const/client.js.map +1 -1
  8. package/dist/milvus/const/error.d.ts +2 -0
  9. package/dist/milvus/const/error.js +2 -0
  10. package/dist/milvus/const/error.js.map +1 -1
  11. package/dist/milvus/grpc/BaseClient.js +1 -1
  12. package/dist/milvus/grpc/Collection.d.ts +86 -1
  13. package/dist/milvus/grpc/Collection.js +138 -0
  14. package/dist/milvus/grpc/Collection.js.map +1 -1
  15. package/dist/milvus/grpc/Data.js +5 -2
  16. package/dist/milvus/grpc/Data.js.map +1 -1
  17. package/dist/milvus/grpc/GrpcClient.js +2 -0
  18. package/dist/milvus/grpc/GrpcClient.js.map +1 -1
  19. package/dist/milvus/http/Collection.d.ts +9 -1
  20. package/dist/milvus/http/Collection.js +48 -0
  21. package/dist/milvus/http/Collection.js.map +1 -1
  22. package/dist/milvus/http/Database.d.ts +42 -0
  23. package/dist/milvus/http/Database.js +71 -0
  24. package/dist/milvus/http/Database.js.map +1 -0
  25. package/dist/milvus/http/MilvusIndex.d.ts +3 -1
  26. package/dist/milvus/http/MilvusIndex.js +12 -0
  27. package/dist/milvus/http/MilvusIndex.js.map +1 -1
  28. package/dist/milvus/http/Vector.js +1 -1
  29. package/dist/milvus/http/Vector.js.map +1 -1
  30. package/dist/milvus/http/index.d.ts +1 -0
  31. package/dist/milvus/http/index.js +1 -0
  32. package/dist/milvus/http/index.js.map +1 -1
  33. package/dist/milvus/proto-json/milvus.base.d.ts +34 -514
  34. package/dist/milvus/proto-json/milvus.base.js +36 -522
  35. package/dist/milvus/proto-json/milvus.base.js.map +1 -1
  36. package/dist/milvus/proto-json/milvus.d.ts +90 -570
  37. package/dist/milvus/proto-json/milvus.js +92 -578
  38. package/dist/milvus/proto-json/milvus.js.map +1 -1
  39. package/dist/milvus/proto-json/schema.base.d.ts +6 -44
  40. package/dist/milvus/proto-json/schema.base.js +8 -46
  41. package/dist/milvus/proto-json/schema.base.js.map +1 -1
  42. package/dist/milvus/types/Collection.d.ts +16 -0
  43. package/dist/milvus/types/Common.d.ts +2 -0
  44. package/dist/milvus/types/Http.d.ts +99 -0
  45. package/dist/milvus/types/Search.d.ts +4 -2
  46. package/dist/milvus/utils/Function.d.ts +18 -4
  47. package/dist/milvus/utils/Function.js +56 -7
  48. package/dist/milvus/utils/Function.js.map +1 -1
  49. package/dist/milvus/utils/Grpc.d.ts +6 -0
  50. package/dist/milvus/utils/Grpc.js +29 -1
  51. package/dist/milvus/utils/Grpc.js.map +1 -1
  52. package/dist/milvus/utils/Schema.d.ts +12 -1
  53. package/dist/milvus/utils/Schema.js +21 -1
  54. package/dist/milvus/utils/Schema.js.map +1 -1
  55. package/dist/milvus/utils/Search.d.ts +16 -0
  56. package/dist/milvus/utils/Search.js +47 -3
  57. package/dist/milvus/utils/Search.js.map +1 -1
  58. package/dist/sdk.json +1 -1
  59. package/package.json +10 -5
@@ -482,6 +482,10 @@ exports.default = {
482
482
  "requestType": "UpdateReplicateConfigurationRequest",
483
483
  "responseType": "common.Status"
484
484
  },
485
+ "GetReplicateConfiguration": {
486
+ "requestType": "GetReplicateConfigurationRequest",
487
+ "responseType": "GetReplicateConfigurationResponse"
488
+ },
485
489
  "GetReplicateInfo": {
486
490
  "requestType": "GetReplicateInfoRequest",
487
491
  "responseType": "GetReplicateInfoResponse"
@@ -491,42 +495,6 @@ exports.default = {
491
495
  "requestStream": true,
492
496
  "responseType": "ReplicateResponse",
493
497
  "responseStream": true
494
- },
495
- "ComputePhraseMatchSlop": {
496
- "requestType": "ComputePhraseMatchSlopRequest",
497
- "responseType": "ComputePhraseMatchSlopResponse"
498
- },
499
- "CreateSnapshot": {
500
- "requestType": "CreateSnapshotRequest",
501
- "responseType": "common.Status"
502
- },
503
- "DropSnapshot": {
504
- "requestType": "DropSnapshotRequest",
505
- "responseType": "common.Status"
506
- },
507
- "ListSnapshots": {
508
- "requestType": "ListSnapshotsRequest",
509
- "responseType": "ListSnapshotsResponse"
510
- },
511
- "DescribeSnapshot": {
512
- "requestType": "DescribeSnapshotRequest",
513
- "responseType": "DescribeSnapshotResponse"
514
- },
515
- "RestoreSnapshot": {
516
- "requestType": "RestoreSnapshotRequest",
517
- "responseType": "RestoreSnapshotResponse"
518
- },
519
- "GetRestoreSnapshotState": {
520
- "requestType": "GetRestoreSnapshotStateRequest",
521
- "responseType": "GetRestoreSnapshotStateResponse"
522
- },
523
- "ListRestoreSnapshotJobs": {
524
- "requestType": "ListRestoreSnapshotJobsRequest",
525
- "responseType": "ListRestoreSnapshotJobsResponse"
526
- },
527
- "AlterCollectionSchema": {
528
- "requestType": "AlterCollectionSchemaRequest",
529
- "responseType": "AlterCollectionSchemaResponse"
530
498
  }
531
499
  }
532
500
  },
@@ -5435,6 +5403,30 @@ exports.default = {
5435
5403
  "replicate_configuration": {
5436
5404
  "type": "common.ReplicateConfiguration",
5437
5405
  "id": 1
5406
+ },
5407
+ "force_promote": {
5408
+ "type": "bool",
5409
+ "id": 2
5410
+ }
5411
+ }
5412
+ },
5413
+ "GetReplicateConfigurationRequest": {
5414
+ "options": {
5415
+ "(common.privilege_ext_obj).object_type": "Global",
5416
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeGetReplicateConfiguration",
5417
+ "(common.privilege_ext_obj).object_name_index": -1
5418
+ },
5419
+ "fields": {}
5420
+ },
5421
+ "GetReplicateConfigurationResponse": {
5422
+ "fields": {
5423
+ "status": {
5424
+ "type": "common.Status",
5425
+ "id": 1
5426
+ },
5427
+ "configuration": {
5428
+ "type": "common.ReplicateConfiguration",
5429
+ "id": 2
5438
5430
  }
5439
5431
  }
5440
5432
  },
@@ -5536,446 +5528,6 @@ exports.default = {
5536
5528
  "id": 1
5537
5529
  }
5538
5530
  }
5539
- },
5540
- "ComputePhraseMatchSlopRequest": {
5541
- "fields": {
5542
- "base": {
5543
- "type": "common.MsgBase",
5544
- "id": 1
5545
- },
5546
- "analyzer_params": {
5547
- "type": "string",
5548
- "id": 2
5549
- },
5550
- "query_text": {
5551
- "type": "string",
5552
- "id": 3
5553
- },
5554
- "data_texts": {
5555
- "rule": "repeated",
5556
- "type": "string",
5557
- "id": 4
5558
- }
5559
- }
5560
- },
5561
- "ComputePhraseMatchSlopResponse": {
5562
- "fields": {
5563
- "status": {
5564
- "type": "common.Status",
5565
- "id": 1
5566
- },
5567
- "is_match": {
5568
- "rule": "repeated",
5569
- "type": "bool",
5570
- "id": 2
5571
- },
5572
- "slops": {
5573
- "rule": "repeated",
5574
- "type": "int64",
5575
- "id": 3
5576
- }
5577
- }
5578
- },
5579
- "CreateSnapshotRequest": {
5580
- "options": {
5581
- "(common.privilege_ext_obj).object_type": "Global",
5582
- "(common.privilege_ext_obj).object_privilege": "PrivilegeCreateSnapshot",
5583
- "(common.privilege_ext_obj).object_name_index": -1
5584
- },
5585
- "fields": {
5586
- "base": {
5587
- "type": "common.MsgBase",
5588
- "id": 1
5589
- },
5590
- "name": {
5591
- "type": "string",
5592
- "id": 2
5593
- },
5594
- "description": {
5595
- "type": "string",
5596
- "id": 3
5597
- },
5598
- "db_name": {
5599
- "type": "string",
5600
- "id": 4
5601
- },
5602
- "collection_name": {
5603
- "type": "string",
5604
- "id": 5
5605
- }
5606
- }
5607
- },
5608
- "DropSnapshotRequest": {
5609
- "options": {
5610
- "(common.privilege_ext_obj).object_type": "Global",
5611
- "(common.privilege_ext_obj).object_privilege": "PrivilegeDropSnapshot",
5612
- "(common.privilege_ext_obj).object_name_index": -1
5613
- },
5614
- "fields": {
5615
- "base": {
5616
- "type": "common.MsgBase",
5617
- "id": 1
5618
- },
5619
- "name": {
5620
- "type": "string",
5621
- "id": 2
5622
- }
5623
- }
5624
- },
5625
- "ListSnapshotsRequest": {
5626
- "options": {
5627
- "(common.privilege_ext_obj).object_type": "Global",
5628
- "(common.privilege_ext_obj).object_privilege": "PrivilegeListSnapshots",
5629
- "(common.privilege_ext_obj).object_name_index": -1
5630
- },
5631
- "fields": {
5632
- "base": {
5633
- "type": "common.MsgBase",
5634
- "id": 1
5635
- },
5636
- "db_name": {
5637
- "type": "string",
5638
- "id": 2
5639
- },
5640
- "collection_name": {
5641
- "type": "string",
5642
- "id": 3
5643
- }
5644
- }
5645
- },
5646
- "ListSnapshotsResponse": {
5647
- "fields": {
5648
- "status": {
5649
- "type": "common.Status",
5650
- "id": 1
5651
- },
5652
- "snapshots": {
5653
- "rule": "repeated",
5654
- "type": "string",
5655
- "id": 2
5656
- }
5657
- }
5658
- },
5659
- "DescribeSnapshotRequest": {
5660
- "options": {
5661
- "(common.privilege_ext_obj).object_type": "Global",
5662
- "(common.privilege_ext_obj).object_privilege": "PrivilegeDescribeSnapshot",
5663
- "(common.privilege_ext_obj).object_name_index": -1
5664
- },
5665
- "fields": {
5666
- "base": {
5667
- "type": "common.MsgBase",
5668
- "id": 1
5669
- },
5670
- "name": {
5671
- "type": "string",
5672
- "id": 2
5673
- }
5674
- }
5675
- },
5676
- "DescribeSnapshotResponse": {
5677
- "fields": {
5678
- "status": {
5679
- "type": "common.Status",
5680
- "id": 1
5681
- },
5682
- "name": {
5683
- "type": "string",
5684
- "id": 2
5685
- },
5686
- "description": {
5687
- "type": "string",
5688
- "id": 3
5689
- },
5690
- "collection_name": {
5691
- "type": "string",
5692
- "id": 4
5693
- },
5694
- "partition_names": {
5695
- "rule": "repeated",
5696
- "type": "string",
5697
- "id": 5
5698
- },
5699
- "create_ts": {
5700
- "type": "int64",
5701
- "id": 6
5702
- },
5703
- "s3_location": {
5704
- "type": "string",
5705
- "id": 7
5706
- }
5707
- }
5708
- },
5709
- "RestoreSnapshotRequest": {
5710
- "options": {
5711
- "(common.privilege_ext_obj).object_type": "Global",
5712
- "(common.privilege_ext_obj).object_privilege": "PrivilegeRestoreSnapshot",
5713
- "(common.privilege_ext_obj).object_name_index": -1
5714
- },
5715
- "fields": {
5716
- "base": {
5717
- "type": "common.MsgBase",
5718
- "id": 1
5719
- },
5720
- "name": {
5721
- "type": "string",
5722
- "id": 2
5723
- },
5724
- "db_name": {
5725
- "type": "string",
5726
- "id": 3
5727
- },
5728
- "collection_name": {
5729
- "type": "string",
5730
- "id": 4
5731
- },
5732
- "rewrite_data": {
5733
- "type": "bool",
5734
- "id": 5
5735
- }
5736
- }
5737
- },
5738
- "RestoreSnapshotResponse": {
5739
- "fields": {
5740
- "status": {
5741
- "type": "common.Status",
5742
- "id": 1
5743
- },
5744
- "job_id": {
5745
- "type": "int64",
5746
- "id": 2
5747
- }
5748
- }
5749
- },
5750
- "RestoreSnapshotState": {
5751
- "values": {
5752
- "RestoreSnapshotNone": 0,
5753
- "RestoreSnapshotPending": 1,
5754
- "RestoreSnapshotExecuting": 2,
5755
- "RestoreSnapshotCompleted": 3,
5756
- "RestoreSnapshotFailed": 4
5757
- }
5758
- },
5759
- "RestoreSnapshotInfo": {
5760
- "fields": {
5761
- "job_id": {
5762
- "type": "int64",
5763
- "id": 1
5764
- },
5765
- "snapshot_name": {
5766
- "type": "string",
5767
- "id": 2
5768
- },
5769
- "db_name": {
5770
- "type": "string",
5771
- "id": 3
5772
- },
5773
- "collection_name": {
5774
- "type": "string",
5775
- "id": 4
5776
- },
5777
- "state": {
5778
- "type": "RestoreSnapshotState",
5779
- "id": 5
5780
- },
5781
- "progress": {
5782
- "type": "int32",
5783
- "id": 6
5784
- },
5785
- "reason": {
5786
- "type": "string",
5787
- "id": 7
5788
- },
5789
- "start_time": {
5790
- "type": "uint64",
5791
- "id": 8
5792
- },
5793
- "time_cost": {
5794
- "type": "uint64",
5795
- "id": 9
5796
- }
5797
- }
5798
- },
5799
- "GetRestoreSnapshotStateRequest": {
5800
- "options": {
5801
- "(common.privilege_ext_obj).object_type": "Global",
5802
- "(common.privilege_ext_obj).object_privilege": "PrivilegeRestoreSnapshot",
5803
- "(common.privilege_ext_obj).object_name_index": -1
5804
- },
5805
- "fields": {
5806
- "base": {
5807
- "type": "common.MsgBase",
5808
- "id": 1
5809
- },
5810
- "job_id": {
5811
- "type": "int64",
5812
- "id": 2
5813
- }
5814
- }
5815
- },
5816
- "GetRestoreSnapshotStateResponse": {
5817
- "fields": {
5818
- "status": {
5819
- "type": "common.Status",
5820
- "id": 1
5821
- },
5822
- "info": {
5823
- "type": "RestoreSnapshotInfo",
5824
- "id": 2
5825
- }
5826
- }
5827
- },
5828
- "ListRestoreSnapshotJobsRequest": {
5829
- "options": {
5830
- "(common.privilege_ext_obj).object_type": "Global",
5831
- "(common.privilege_ext_obj).object_privilege": "PrivilegeRestoreSnapshot",
5832
- "(common.privilege_ext_obj).object_name_index": -1
5833
- },
5834
- "fields": {
5835
- "base": {
5836
- "type": "common.MsgBase",
5837
- "id": 1
5838
- },
5839
- "db_name": {
5840
- "type": "string",
5841
- "id": 2
5842
- },
5843
- "collection_name": {
5844
- "type": "string",
5845
- "id": 3
5846
- }
5847
- }
5848
- },
5849
- "ListRestoreSnapshotJobsResponse": {
5850
- "fields": {
5851
- "status": {
5852
- "type": "common.Status",
5853
- "id": 1
5854
- },
5855
- "jobs": {
5856
- "rule": "repeated",
5857
- "type": "RestoreSnapshotInfo",
5858
- "id": 2
5859
- }
5860
- }
5861
- },
5862
- "AlterCollectionSchemaRequest": {
5863
- "options": {
5864
- "(common.privilege_ext_obj).object_type": "Collection",
5865
- "(common.privilege_ext_obj).object_privilege": "PrivilegeAlterCollectionSchema",
5866
- "(common.privilege_ext_obj).object_name_index": 3
5867
- },
5868
- "fields": {
5869
- "base": {
5870
- "type": "common.MsgBase",
5871
- "id": 1
5872
- },
5873
- "db_name": {
5874
- "type": "string",
5875
- "id": 2
5876
- },
5877
- "collection_name": {
5878
- "type": "string",
5879
- "id": 3
5880
- },
5881
- "collectionID": {
5882
- "type": "int64",
5883
- "id": 4
5884
- },
5885
- "action": {
5886
- "type": "Action",
5887
- "id": 5
5888
- }
5889
- },
5890
- "nested": {
5891
- "FieldInfo": {
5892
- "fields": {
5893
- "field_schema": {
5894
- "type": "schema.FieldSchema",
5895
- "id": 1
5896
- },
5897
- "index_name": {
5898
- "type": "string",
5899
- "id": 2
5900
- },
5901
- "extra_params": {
5902
- "rule": "repeated",
5903
- "type": "common.KeyValuePair",
5904
- "id": 3
5905
- }
5906
- }
5907
- },
5908
- "AddRequest": {
5909
- "fields": {
5910
- "field_infos": {
5911
- "rule": "repeated",
5912
- "type": "FieldInfo",
5913
- "id": 1
5914
- },
5915
- "func_schema": {
5916
- "rule": "repeated",
5917
- "type": "schema.FunctionSchema",
5918
- "id": 2
5919
- },
5920
- "do_physical_backfill": {
5921
- "type": "bool",
5922
- "id": 3
5923
- }
5924
- }
5925
- },
5926
- "DropRequest": {
5927
- "oneofs": {
5928
- "field_identifier": {
5929
- "oneof": [
5930
- "field_name",
5931
- "field_id"
5932
- ]
5933
- }
5934
- },
5935
- "fields": {
5936
- "field_name": {
5937
- "type": "string",
5938
- "id": 1
5939
- },
5940
- "field_id": {
5941
- "type": "int64",
5942
- "id": 2
5943
- }
5944
- }
5945
- },
5946
- "Action": {
5947
- "oneofs": {
5948
- "op": {
5949
- "oneof": [
5950
- "add_request",
5951
- "drop_request"
5952
- ]
5953
- }
5954
- },
5955
- "fields": {
5956
- "add_request": {
5957
- "type": "AddRequest",
5958
- "id": 1
5959
- },
5960
- "drop_request": {
5961
- "type": "DropRequest",
5962
- "id": 2
5963
- }
5964
- }
5965
- }
5966
- }
5967
- },
5968
- "AlterCollectionSchemaResponse": {
5969
- "fields": {
5970
- "alter_status": {
5971
- "type": "common.Status",
5972
- "id": 1
5973
- },
5974
- "index_status": {
5975
- "type": "common.Status",
5976
- "id": 2
5977
- }
5978
- }
5979
5531
  }
5980
5532
  }
5981
5533
  },
@@ -6187,10 +5739,6 @@ exports.default = {
6187
5739
  "rule": "repeated",
6188
5740
  "type": "bytes",
6189
5741
  "id": 3
6190
- },
6191
- "element_level": {
6192
- "type": "bool",
6193
- "id": 4
6194
5742
  }
6195
5743
  }
6196
5744
  },
@@ -6339,15 +5887,7 @@ exports.default = {
6339
5887
  "AlterDatabase": 1804,
6340
5888
  "DescribeDatabase": 1805,
6341
5889
  "AddCollectionField": 1900,
6342
- "AlterWAL": 2000,
6343
- "CreateSnapshot": 2100,
6344
- "DropSnapshot": 2101,
6345
- "ListSnapshots": 2102,
6346
- "DescribeSnapshot": 2103,
6347
- "RestoreSnapshot": 2104,
6348
- "GetRestoreSnapshotState": 2105,
6349
- "ListRestoreSnapshotJobs": 2106,
6350
- "AlterCollectionSchema": 2200
5890
+ "AlterWAL": 2000
6351
5891
  }
6352
5892
  },
6353
5893
  "MsgBase": {
@@ -6537,12 +6077,7 @@ exports.default = {
6537
6077
  "PrivilegeRemoveFileResource": 73,
6538
6078
  "PrivilegeListFileResources": 74,
6539
6079
  "PrivilegeUpdateReplicateConfiguration": 78,
6540
- "PrivilegeCreateSnapshot": 79,
6541
- "PrivilegeDropSnapshot": 80,
6542
- "PrivilegeDescribeSnapshot": 81,
6543
- "PrivilegeListSnapshots": 82,
6544
- "PrivilegeRestoreSnapshot": 83,
6545
- "PrivilegeAlterCollectionSchema": 84
6080
+ "PrivilegeGetReplicateConfiguration": 85
6546
6081
  }
6547
6082
  },
6548
6083
  "PrivilegeExt": {
@@ -6799,6 +6334,11 @@ exports.default = {
6799
6334
  "rule": "repeated",
6800
6335
  "type": "string",
6801
6336
  "id": 1
6337
+ },
6338
+ "scores": {
6339
+ "rule": "repeated",
6340
+ "type": "float",
6341
+ "id": 2
6802
6342
  }
6803
6343
  }
6804
6344
  },
@@ -6942,8 +6482,7 @@ exports.default = {
6942
6482
  "Unknown": 0,
6943
6483
  "BM25": 1,
6944
6484
  "TextEmbedding": 2,
6945
- "Rerank": 3,
6946
- "MinHash": 4
6485
+ "Rerank": 3
6947
6486
  }
6948
6487
  },
6949
6488
  "FieldState": {
@@ -7021,10 +6560,6 @@ exports.default = {
7021
6560
  "is_function_output": {
7022
6561
  "type": "bool",
7023
6562
  "id": 16
7024
- },
7025
- "external_field": {
7026
- "type": "string",
7027
- "id": 17
7028
6563
  }
7029
6564
  }
7030
6565
  },
@@ -7136,23 +6671,6 @@ exports.default = {
7136
6671
  "type": "int32",
7137
6672
  "id": 10
7138
6673
  },
7139
- "external_source": {
7140
- "type": "string",
7141
- "id": 11
7142
- },
7143
- "external_spec": {
7144
- "type": "string",
7145
- "id": 12
7146
- },
7147
- "do_physical_backfill": {
7148
- "type": "bool",
7149
- "id": 13
7150
- },
7151
- "file_resource_ids": {
7152
- "rule": "repeated",
7153
- "type": "int64",
7154
- "id": 14
7155
- },
7156
6674
  "enable_namespace": {
7157
6675
  "type": "bool",
7158
6676
  "id": 15
@@ -7657,10 +7175,6 @@ exports.default = {
7657
7175
  "rule": "repeated",
7658
7176
  "type": "common.HighlightResult",
7659
7177
  "id": 14
7660
- },
7661
- "element_indices": {
7662
- "type": "LongArray",
7663
- "id": 15
7664
7178
  }
7665
7179
  }
7666
7180
  },
@@ -8355,7 +7869,7 @@ exports.default = {
8355
7869
  "type": "string",
8356
7870
  "id": 3
8357
7871
  },
8358
- "publicDependency": {
7872
+ "public_dependency": {
8359
7873
  "rule": "repeated",
8360
7874
  "type": "int32",
8361
7875
  "id": 10,
@@ -8363,7 +7877,7 @@ exports.default = {
8363
7877
  "packed": false
8364
7878
  }
8365
7879
  },
8366
- "weakDependency": {
7880
+ "weak_dependency": {
8367
7881
  "rule": "repeated",
8368
7882
  "type": "int32",
8369
7883
  "id": 11,
@@ -8371,12 +7885,12 @@ exports.default = {
8371
7885
  "packed": false
8372
7886
  }
8373
7887
  },
8374
- "messageType": {
7888
+ "message_type": {
8375
7889
  "rule": "repeated",
8376
7890
  "type": "DescriptorProto",
8377
7891
  "id": 4
8378
7892
  },
8379
- "enumType": {
7893
+ "enum_type": {
8380
7894
  "rule": "repeated",
8381
7895
  "type": "EnumDescriptorProto",
8382
7896
  "id": 5
@@ -8395,7 +7909,7 @@ exports.default = {
8395
7909
  "type": "FileOptions",
8396
7910
  "id": 8
8397
7911
  },
8398
- "sourceCodeInfo": {
7912
+ "source_code_info": {
8399
7913
  "type": "SourceCodeInfo",
8400
7914
  "id": 9
8401
7915
  },
@@ -8421,22 +7935,22 @@ exports.default = {
8421
7935
  "type": "FieldDescriptorProto",
8422
7936
  "id": 6
8423
7937
  },
8424
- "nestedType": {
7938
+ "nested_type": {
8425
7939
  "rule": "repeated",
8426
7940
  "type": "DescriptorProto",
8427
7941
  "id": 3
8428
7942
  },
8429
- "enumType": {
7943
+ "enum_type": {
8430
7944
  "rule": "repeated",
8431
7945
  "type": "EnumDescriptorProto",
8432
7946
  "id": 4
8433
7947
  },
8434
- "extensionRange": {
7948
+ "extension_range": {
8435
7949
  "rule": "repeated",
8436
7950
  "type": "ExtensionRange",
8437
7951
  "id": 5
8438
7952
  },
8439
- "oneofDecl": {
7953
+ "oneof_decl": {
8440
7954
  "rule": "repeated",
8441
7955
  "type": "OneofDescriptorProto",
8442
7956
  "id": 8
@@ -8445,12 +7959,12 @@ exports.default = {
8445
7959
  "type": "MessageOptions",
8446
7960
  "id": 7
8447
7961
  },
8448
- "reservedRange": {
7962
+ "reserved_range": {
8449
7963
  "rule": "repeated",
8450
7964
  "type": "ReservedRange",
8451
7965
  "id": 9
8452
7966
  },
8453
- "reservedName": {
7967
+ "reserved_name": {
8454
7968
  "rule": "repeated",
8455
7969
  "type": "string",
8456
7970
  "id": 10
@@ -8501,7 +8015,7 @@ exports.default = {
8501
8015
  "type": "Type",
8502
8016
  "id": 5
8503
8017
  },
8504
- "typeName": {
8018
+ "type_name": {
8505
8019
  "type": "string",
8506
8020
  "id": 6
8507
8021
  },
@@ -8509,15 +8023,15 @@ exports.default = {
8509
8023
  "type": "string",
8510
8024
  "id": 2
8511
8025
  },
8512
- "defaultValue": {
8026
+ "default_value": {
8513
8027
  "type": "string",
8514
8028
  "id": 7
8515
8029
  },
8516
- "oneofIndex": {
8030
+ "oneof_index": {
8517
8031
  "type": "int32",
8518
8032
  "id": 9
8519
8033
  },
8520
- "jsonName": {
8034
+ "json_name": {
8521
8035
  "type": "string",
8522
8036
  "id": 10
8523
8037
  },
@@ -8626,11 +8140,11 @@ exports.default = {
8626
8140
  "type": "string",
8627
8141
  "id": 1
8628
8142
  },
8629
- "inputType": {
8143
+ "input_type": {
8630
8144
  "type": "string",
8631
8145
  "id": 2
8632
8146
  },
8633
- "outputType": {
8147
+ "output_type": {
8634
8148
  "type": "string",
8635
8149
  "id": 3
8636
8150
  },
@@ -8638,11 +8152,11 @@ exports.default = {
8638
8152
  "type": "MethodOptions",
8639
8153
  "id": 4
8640
8154
  },
8641
- "clientStreaming": {
8155
+ "client_streaming": {
8642
8156
  "type": "bool",
8643
8157
  "id": 5
8644
8158
  },
8645
- "serverStreaming": {
8159
+ "server_streaming": {
8646
8160
  "type": "bool",
8647
8161
  "id": 6
8648
8162
  }
@@ -8650,49 +8164,49 @@ exports.default = {
8650
8164
  },
8651
8165
  "FileOptions": {
8652
8166
  "fields": {
8653
- "javaPackage": {
8167
+ "java_package": {
8654
8168
  "type": "string",
8655
8169
  "id": 1
8656
8170
  },
8657
- "javaOuterClassname": {
8171
+ "java_outer_classname": {
8658
8172
  "type": "string",
8659
8173
  "id": 8
8660
8174
  },
8661
- "javaMultipleFiles": {
8175
+ "java_multiple_files": {
8662
8176
  "type": "bool",
8663
8177
  "id": 10
8664
8178
  },
8665
- "javaGenerateEqualsAndHash": {
8179
+ "java_generate_equals_and_hash": {
8666
8180
  "type": "bool",
8667
8181
  "id": 20,
8668
8182
  "options": {
8669
8183
  "deprecated": true
8670
8184
  }
8671
8185
  },
8672
- "javaStringCheckUtf8": {
8186
+ "java_string_check_utf8": {
8673
8187
  "type": "bool",
8674
8188
  "id": 27
8675
8189
  },
8676
- "optimizeFor": {
8190
+ "optimize_for": {
8677
8191
  "type": "OptimizeMode",
8678
8192
  "id": 9,
8679
8193
  "options": {
8680
8194
  "default": "SPEED"
8681
8195
  }
8682
8196
  },
8683
- "goPackage": {
8197
+ "go_package": {
8684
8198
  "type": "string",
8685
8199
  "id": 11
8686
8200
  },
8687
- "ccGenericServices": {
8201
+ "cc_generic_services": {
8688
8202
  "type": "bool",
8689
8203
  "id": 16
8690
8204
  },
8691
- "javaGenericServices": {
8205
+ "java_generic_services": {
8692
8206
  "type": "bool",
8693
8207
  "id": 17
8694
8208
  },
8695
- "pyGenericServices": {
8209
+ "py_generic_services": {
8696
8210
  "type": "bool",
8697
8211
  "id": 18
8698
8212
  },
@@ -8700,19 +8214,19 @@ exports.default = {
8700
8214
  "type": "bool",
8701
8215
  "id": 23
8702
8216
  },
8703
- "ccEnableArenas": {
8217
+ "cc_enable_arenas": {
8704
8218
  "type": "bool",
8705
8219
  "id": 31
8706
8220
  },
8707
- "objcClassPrefix": {
8221
+ "objc_class_prefix": {
8708
8222
  "type": "string",
8709
8223
  "id": 36
8710
8224
  },
8711
- "csharpNamespace": {
8225
+ "csharp_namespace": {
8712
8226
  "type": "string",
8713
8227
  "id": 37
8714
8228
  },
8715
- "uninterpretedOption": {
8229
+ "uninterpreted_option": {
8716
8230
  "rule": "repeated",
8717
8231
  "type": "UninterpretedOption",
8718
8232
  "id": 999
@@ -8742,11 +8256,11 @@ exports.default = {
8742
8256
  },
8743
8257
  "MessageOptions": {
8744
8258
  "fields": {
8745
- "messageSetWireFormat": {
8259
+ "message_set_wire_format": {
8746
8260
  "type": "bool",
8747
8261
  "id": 1
8748
8262
  },
8749
- "noStandardDescriptorAccessor": {
8263
+ "no_standard_descriptor_accessor": {
8750
8264
  "type": "bool",
8751
8265
  "id": 2
8752
8266
  },
@@ -8754,11 +8268,11 @@ exports.default = {
8754
8268
  "type": "bool",
8755
8269
  "id": 3
8756
8270
  },
8757
- "mapEntry": {
8271
+ "map_entry": {
8758
8272
  "type": "bool",
8759
8273
  "id": 7
8760
8274
  },
8761
- "uninterpretedOption": {
8275
+ "uninterpreted_option": {
8762
8276
  "rule": "repeated",
8763
8277
  "type": "UninterpretedOption",
8764
8278
  "id": 999
@@ -8809,7 +8323,7 @@ exports.default = {
8809
8323
  "type": "bool",
8810
8324
  "id": 10
8811
8325
  },
8812
- "uninterpretedOption": {
8326
+ "uninterpreted_option": {
8813
8327
  "rule": "repeated",
8814
8328
  "type": "UninterpretedOption",
8815
8329
  "id": 999
@@ -8846,7 +8360,7 @@ exports.default = {
8846
8360
  },
8847
8361
  "OneofOptions": {
8848
8362
  "fields": {
8849
- "uninterpretedOption": {
8363
+ "uninterpreted_option": {
8850
8364
  "rule": "repeated",
8851
8365
  "type": "UninterpretedOption",
8852
8366
  "id": 999
@@ -8861,7 +8375,7 @@ exports.default = {
8861
8375
  },
8862
8376
  "EnumOptions": {
8863
8377
  "fields": {
8864
- "allowAlias": {
8378
+ "allow_alias": {
8865
8379
  "type": "bool",
8866
8380
  "id": 2
8867
8381
  },
@@ -8869,7 +8383,7 @@ exports.default = {
8869
8383
  "type": "bool",
8870
8384
  "id": 3
8871
8385
  },
8872
- "uninterpretedOption": {
8386
+ "uninterpreted_option": {
8873
8387
  "rule": "repeated",
8874
8388
  "type": "UninterpretedOption",
8875
8389
  "id": 999
@@ -8888,7 +8402,7 @@ exports.default = {
8888
8402
  "type": "bool",
8889
8403
  "id": 1
8890
8404
  },
8891
- "uninterpretedOption": {
8405
+ "uninterpreted_option": {
8892
8406
  "rule": "repeated",
8893
8407
  "type": "UninterpretedOption",
8894
8408
  "id": 999
@@ -8907,7 +8421,7 @@ exports.default = {
8907
8421
  "type": "bool",
8908
8422
  "id": 33
8909
8423
  },
8910
- "uninterpretedOption": {
8424
+ "uninterpreted_option": {
8911
8425
  "rule": "repeated",
8912
8426
  "type": "UninterpretedOption",
8913
8427
  "id": 999
@@ -8926,7 +8440,7 @@ exports.default = {
8926
8440
  "type": "bool",
8927
8441
  "id": 33
8928
8442
  },
8929
- "uninterpretedOption": {
8443
+ "uninterpreted_option": {
8930
8444
  "rule": "repeated",
8931
8445
  "type": "UninterpretedOption",
8932
8446
  "id": 999
@@ -8946,27 +8460,27 @@ exports.default = {
8946
8460
  "type": "NamePart",
8947
8461
  "id": 2
8948
8462
  },
8949
- "identifierValue": {
8463
+ "identifier_value": {
8950
8464
  "type": "string",
8951
8465
  "id": 3
8952
8466
  },
8953
- "positiveIntValue": {
8467
+ "positive_int_value": {
8954
8468
  "type": "uint64",
8955
8469
  "id": 4
8956
8470
  },
8957
- "negativeIntValue": {
8471
+ "negative_int_value": {
8958
8472
  "type": "int64",
8959
8473
  "id": 5
8960
8474
  },
8961
- "doubleValue": {
8475
+ "double_value": {
8962
8476
  "type": "double",
8963
8477
  "id": 6
8964
8478
  },
8965
- "stringValue": {
8479
+ "string_value": {
8966
8480
  "type": "bytes",
8967
8481
  "id": 7
8968
8482
  },
8969
- "aggregateValue": {
8483
+ "aggregate_value": {
8970
8484
  "type": "string",
8971
8485
  "id": 8
8972
8486
  }
@@ -8974,12 +8488,12 @@ exports.default = {
8974
8488
  "nested": {
8975
8489
  "NamePart": {
8976
8490
  "fields": {
8977
- "namePart": {
8491
+ "name_part": {
8978
8492
  "rule": "required",
8979
8493
  "type": "string",
8980
8494
  "id": 1
8981
8495
  },
8982
- "isExtension": {
8496
+ "is_extension": {
8983
8497
  "rule": "required",
8984
8498
  "type": "bool",
8985
8499
  "id": 2
@@ -9009,15 +8523,15 @@ exports.default = {
9009
8523
  "type": "int32",
9010
8524
  "id": 2
9011
8525
  },
9012
- "leadingComments": {
8526
+ "leading_comments": {
9013
8527
  "type": "string",
9014
8528
  "id": 3
9015
8529
  },
9016
- "trailingComments": {
8530
+ "trailing_comments": {
9017
8531
  "type": "string",
9018
8532
  "id": 4
9019
8533
  },
9020
- "leadingDetachedComments": {
8534
+ "leading_detached_comments": {
9021
8535
  "rule": "repeated",
9022
8536
  "type": "string",
9023
8537
  "id": 6
@@ -9042,7 +8556,7 @@ exports.default = {
9042
8556
  "type": "int32",
9043
8557
  "id": 1
9044
8558
  },
9045
- "sourceFile": {
8559
+ "source_file": {
9046
8560
  "type": "string",
9047
8561
  "id": 2
9048
8562
  },