@canton-network/core-ledger-proto 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 (218) hide show
  1. package/README.md +1 -0
  2. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +58 -0
  3. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +1 -0
  4. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +34 -0
  5. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +232 -0
  6. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +1 -0
  7. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +560 -0
  8. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +144 -0
  9. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +1 -0
  10. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +85 -0
  11. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +291 -0
  12. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +1 -0
  13. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +663 -0
  14. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +76 -0
  15. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +1 -0
  16. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +96 -0
  17. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +106 -0
  18. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +1 -0
  19. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +62 -0
  20. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +199 -0
  21. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +1 -0
  22. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +427 -0
  23. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +56 -0
  24. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +1 -0
  25. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +35 -0
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +81 -0
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +1 -0
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +135 -0
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +196 -0
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +1 -0
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +113 -0
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +413 -0
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +1 -0
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +867 -0
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +210 -0
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +1 -0
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +126 -0
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +758 -0
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +1 -0
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +1580 -0
  41. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +66 -0
  42. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +1 -0
  43. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +38 -0
  44. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +90 -0
  45. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +1 -0
  46. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +178 -0
  47. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +99 -0
  48. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +1 -0
  49. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +61 -0
  50. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +210 -0
  51. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +1 -0
  52. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +436 -0
  53. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +80 -0
  54. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +1 -0
  55. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +47 -0
  56. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +91 -0
  57. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +1 -0
  58. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +200 -0
  59. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +491 -0
  60. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +1 -0
  61. package/dist/_proto/com/daml/ledger/api/v2/commands.js +828 -0
  62. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +149 -0
  63. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +1 -0
  64. package/dist/_proto/com/daml/ledger/api/v2/completion.js +196 -0
  65. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +495 -0
  66. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +1 -0
  67. package/dist/_proto/com/daml/ledger/api/v2/event.js +723 -0
  68. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +52 -0
  69. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +1 -0
  70. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +31 -0
  71. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +150 -0
  72. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +1 -0
  73. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +291 -0
  74. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +96 -0
  75. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +1 -0
  76. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +225 -0
  77. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +43 -0
  78. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +1 -0
  79. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +85 -0
  80. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +100 -0
  81. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +1 -0
  82. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +59 -0
  83. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +877 -0
  84. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +1 -0
  85. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +1768 -0
  86. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +259 -0
  87. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +1 -0
  88. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +667 -0
  89. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +69 -0
  90. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +1 -0
  91. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +133 -0
  92. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +41 -0
  93. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +1 -0
  94. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +84 -0
  95. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +68 -0
  96. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +1 -0
  97. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +43 -0
  98. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +181 -0
  99. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +1 -0
  100. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +395 -0
  101. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +308 -0
  102. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +1 -0
  103. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +521 -0
  104. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +193 -0
  105. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +1 -0
  106. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +350 -0
  107. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +91 -0
  108. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +1 -0
  109. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +56 -0
  110. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +448 -0
  111. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +1 -0
  112. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +874 -0
  113. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +54 -0
  114. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +1 -0
  115. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +34 -0
  116. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +78 -0
  117. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +1 -0
  118. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +168 -0
  119. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +211 -0
  120. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +1 -0
  121. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +447 -0
  122. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +33 -0
  123. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +1 -0
  124. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +69 -0
  125. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +252 -0
  126. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +1 -0
  127. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +410 -0
  128. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +453 -0
  129. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +1 -0
  130. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +815 -0
  131. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +199 -0
  132. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +1 -0
  133. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +121 -0
  134. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +424 -0
  135. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +1 -0
  136. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +853 -0
  137. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +500 -0
  138. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +1 -0
  139. package/dist/_proto/com/daml/ledger/api/v2/value.js +937 -0
  140. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +40 -0
  141. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +1 -0
  142. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +25 -0
  143. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +190 -0
  144. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +1 -0
  145. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +400 -0
  146. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +1028 -0
  147. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +1 -0
  148. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +2110 -0
  149. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +30 -0
  150. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +1 -0
  151. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +62 -0
  152. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +168 -0
  153. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +1 -0
  154. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +395 -0
  155. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +1105 -0
  156. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +1 -0
  157. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +2294 -0
  158. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +278 -0
  159. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +1 -0
  160. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +654 -0
  161. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +166 -0
  162. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +1 -0
  163. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +379 -0
  164. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +199 -0
  165. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +1 -0
  166. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +136 -0
  167. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +1195 -0
  168. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +1 -0
  169. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +3342 -0
  170. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +119 -0
  171. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +1 -0
  172. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +76 -0
  173. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +607 -0
  174. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +1 -0
  175. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +1292 -0
  176. package/dist/_proto/google/protobuf/any.d.ts +177 -0
  177. package/dist/_proto/google/protobuf/any.d.ts.map +1 -0
  178. package/dist/_proto/google/protobuf/any.js +175 -0
  179. package/dist/_proto/google/protobuf/descriptor.d.ts +1638 -0
  180. package/dist/_proto/google/protobuf/descriptor.d.ts.map +1 -0
  181. package/dist/_proto/google/protobuf/descriptor.js +2999 -0
  182. package/dist/_proto/google/protobuf/duration.d.ts +114 -0
  183. package/dist/_proto/google/protobuf/duration.d.ts.map +1 -0
  184. package/dist/_proto/google/protobuf/duration.js +113 -0
  185. package/dist/_proto/google/protobuf/empty.d.ts +33 -0
  186. package/dist/_proto/google/protobuf/empty.d.ts.map +1 -0
  187. package/dist/_proto/google/protobuf/empty.js +41 -0
  188. package/dist/_proto/google/protobuf/field_mask.d.ts +240 -0
  189. package/dist/_proto/google/protobuf/field_mask.d.ts.map +1 -0
  190. package/dist/_proto/google/protobuf/field_mask.js +95 -0
  191. package/dist/_proto/google/protobuf/struct.d.ts +187 -0
  192. package/dist/_proto/google/protobuf/struct.d.ts.map +1 -0
  193. package/dist/_proto/google/protobuf/struct.js +417 -0
  194. package/dist/_proto/google/protobuf/timestamp.d.ts +159 -0
  195. package/dist/_proto/google/protobuf/timestamp.d.ts.map +1 -0
  196. package/dist/_proto/google/protobuf/timestamp.js +157 -0
  197. package/dist/_proto/google/rpc/code.d.ts +219 -0
  198. package/dist/_proto/google/rpc/code.d.ts.map +1 -0
  199. package/dist/_proto/google/rpc/code.js +237 -0
  200. package/dist/_proto/google/rpc/context/attribute_context.d.ts +594 -0
  201. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +1 -0
  202. package/dist/_proto/google/rpc/context/attribute_context.js +1007 -0
  203. package/dist/_proto/google/rpc/context/audit_context.d.ts +62 -0
  204. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +1 -0
  205. package/dist/_proto/google/rpc/context/audit_context.js +111 -0
  206. package/dist/_proto/google/rpc/error_details.d.ts +549 -0
  207. package/dist/_proto/google/rpc/error_details.d.ts.map +1 -0
  208. package/dist/_proto/google/rpc/error_details.js +918 -0
  209. package/dist/_proto/google/rpc/status.d.ts +55 -0
  210. package/dist/_proto/google/rpc/status.d.ts.map +1 -0
  211. package/dist/_proto/google/rpc/status.js +79 -0
  212. package/dist/_proto/scalapb/scalapb.d.ts +779 -0
  213. package/dist/_proto/scalapb/scalapb.d.ts.map +1 -0
  214. package/dist/_proto/scalapb/scalapb.js +1658 -0
  215. package/dist/index.d.ts +13 -0
  216. package/dist/index.d.ts.map +1 -0
  217. package/dist/index.js +12 -0
  218. package/package.json +29 -0
@@ -0,0 +1,1638 @@
1
+ import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
2
+ import type { IBinaryWriter } from '@protobuf-ts/runtime';
3
+ import type { BinaryReadOptions } from '@protobuf-ts/runtime';
4
+ import type { IBinaryReader } from '@protobuf-ts/runtime';
5
+ import type { PartialMessage } from '@protobuf-ts/runtime';
6
+ import { MessageType } from '@protobuf-ts/runtime';
7
+ /**
8
+ * The protocol compiler can output a FileDescriptorSet containing the .proto
9
+ * files it parses.
10
+ *
11
+ * @generated from protobuf message google.protobuf.FileDescriptorSet
12
+ */
13
+ export interface FileDescriptorSet {
14
+ /**
15
+ * @generated from protobuf field: repeated google.protobuf.FileDescriptorProto file = 1
16
+ */
17
+ file: FileDescriptorProto[];
18
+ }
19
+ /**
20
+ * Describes a complete .proto file.
21
+ *
22
+ * @generated from protobuf message google.protobuf.FileDescriptorProto
23
+ */
24
+ export interface FileDescriptorProto {
25
+ /**
26
+ * @generated from protobuf field: optional string name = 1
27
+ */
28
+ name?: string;
29
+ /**
30
+ * @generated from protobuf field: optional string package = 2
31
+ */
32
+ package?: string;
33
+ /**
34
+ * Names of files imported by this file.
35
+ *
36
+ * @generated from protobuf field: repeated string dependency = 3
37
+ */
38
+ dependency: string[];
39
+ /**
40
+ * Indexes of the public imported files in the dependency list above.
41
+ *
42
+ * @generated from protobuf field: repeated int32 public_dependency = 10
43
+ */
44
+ publicDependency: number[];
45
+ /**
46
+ * Indexes of the weak imported files in the dependency list.
47
+ * For Google-internal migration only. Do not use.
48
+ *
49
+ * @generated from protobuf field: repeated int32 weak_dependency = 11
50
+ */
51
+ weakDependency: number[];
52
+ /**
53
+ * All top-level definitions in this file.
54
+ *
55
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto message_type = 4
56
+ */
57
+ messageType: DescriptorProto[];
58
+ /**
59
+ * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto enum_type = 5
60
+ */
61
+ enumType: EnumDescriptorProto[];
62
+ /**
63
+ * @generated from protobuf field: repeated google.protobuf.ServiceDescriptorProto service = 6
64
+ */
65
+ service: ServiceDescriptorProto[];
66
+ /**
67
+ * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto extension = 7
68
+ */
69
+ extension: FieldDescriptorProto[];
70
+ /**
71
+ * @generated from protobuf field: optional google.protobuf.FileOptions options = 8
72
+ */
73
+ options?: FileOptions;
74
+ /**
75
+ * This field contains optional information about the original source code.
76
+ * You may safely remove this entire field without harming runtime
77
+ * functionality of the descriptors -- the information is needed only by
78
+ * development tools.
79
+ *
80
+ * @generated from protobuf field: optional google.protobuf.SourceCodeInfo source_code_info = 9
81
+ */
82
+ sourceCodeInfo?: SourceCodeInfo;
83
+ /**
84
+ * The syntax of the proto file.
85
+ * The supported values are "proto2" and "proto3".
86
+ *
87
+ * @generated from protobuf field: optional string syntax = 12
88
+ */
89
+ syntax?: string;
90
+ }
91
+ /**
92
+ * Describes a message type.
93
+ *
94
+ * @generated from protobuf message google.protobuf.DescriptorProto
95
+ */
96
+ export interface DescriptorProto {
97
+ /**
98
+ * @generated from protobuf field: optional string name = 1
99
+ */
100
+ name?: string;
101
+ /**
102
+ * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto field = 2
103
+ */
104
+ field: FieldDescriptorProto[];
105
+ /**
106
+ * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto extension = 6
107
+ */
108
+ extension: FieldDescriptorProto[];
109
+ /**
110
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto nested_type = 3
111
+ */
112
+ nestedType: DescriptorProto[];
113
+ /**
114
+ * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto enum_type = 4
115
+ */
116
+ enumType: EnumDescriptorProto[];
117
+ /**
118
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5
119
+ */
120
+ extensionRange: DescriptorProto_ExtensionRange[];
121
+ /**
122
+ * @generated from protobuf field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8
123
+ */
124
+ oneofDecl: OneofDescriptorProto[];
125
+ /**
126
+ * @generated from protobuf field: optional google.protobuf.MessageOptions options = 7
127
+ */
128
+ options?: MessageOptions;
129
+ /**
130
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9
131
+ */
132
+ reservedRange: DescriptorProto_ReservedRange[];
133
+ /**
134
+ * Reserved field names, which may not be used by fields in the same message.
135
+ * A given name may only be reserved once.
136
+ *
137
+ * @generated from protobuf field: repeated string reserved_name = 10
138
+ */
139
+ reservedName: string[];
140
+ }
141
+ /**
142
+ * @generated from protobuf message google.protobuf.DescriptorProto.ExtensionRange
143
+ */
144
+ export interface DescriptorProto_ExtensionRange {
145
+ /**
146
+ * @generated from protobuf field: optional int32 start = 1
147
+ */
148
+ start?: number;
149
+ /**
150
+ * @generated from protobuf field: optional int32 end = 2
151
+ */
152
+ end?: number;
153
+ /**
154
+ * @generated from protobuf field: optional google.protobuf.ExtensionRangeOptions options = 3
155
+ */
156
+ options?: ExtensionRangeOptions;
157
+ }
158
+ /**
159
+ * Range of reserved tag numbers. Reserved tag numbers may not be used by
160
+ * fields or extension ranges in the same message. Reserved ranges may
161
+ * not overlap.
162
+ *
163
+ * @generated from protobuf message google.protobuf.DescriptorProto.ReservedRange
164
+ */
165
+ export interface DescriptorProto_ReservedRange {
166
+ /**
167
+ * @generated from protobuf field: optional int32 start = 1
168
+ */
169
+ start?: number;
170
+ /**
171
+ * @generated from protobuf field: optional int32 end = 2
172
+ */
173
+ end?: number;
174
+ }
175
+ /**
176
+ * @generated from protobuf message google.protobuf.ExtensionRangeOptions
177
+ */
178
+ export interface ExtensionRangeOptions {
179
+ /**
180
+ * The parser stores options it doesn't recognize here. See above.
181
+ *
182
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
183
+ */
184
+ uninterpretedOption: UninterpretedOption[];
185
+ }
186
+ /**
187
+ * Describes a field within a message.
188
+ *
189
+ * @generated from protobuf message google.protobuf.FieldDescriptorProto
190
+ */
191
+ export interface FieldDescriptorProto {
192
+ /**
193
+ * @generated from protobuf field: optional string name = 1
194
+ */
195
+ name?: string;
196
+ /**
197
+ * @generated from protobuf field: optional int32 number = 3
198
+ */
199
+ number?: number;
200
+ /**
201
+ * @generated from protobuf field: optional google.protobuf.FieldDescriptorProto.Label label = 4
202
+ */
203
+ label?: FieldDescriptorProto_Label;
204
+ /**
205
+ * If type_name is set, this need not be set. If both this and type_name
206
+ * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
207
+ *
208
+ * @generated from protobuf field: optional google.protobuf.FieldDescriptorProto.Type type = 5
209
+ */
210
+ type?: FieldDescriptorProto_Type;
211
+ /**
212
+ * For message and enum types, this is the name of the type. If the name
213
+ * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
214
+ * rules are used to find the type (i.e. first the nested types within this
215
+ * message are searched, then within the parent, on up to the root
216
+ * namespace).
217
+ *
218
+ * @generated from protobuf field: optional string type_name = 6
219
+ */
220
+ typeName?: string;
221
+ /**
222
+ * For extensions, this is the name of the type being extended. It is
223
+ * resolved in the same manner as type_name.
224
+ *
225
+ * @generated from protobuf field: optional string extendee = 2
226
+ */
227
+ extendee?: string;
228
+ /**
229
+ * For numeric types, contains the original text representation of the value.
230
+ * For booleans, "true" or "false".
231
+ * For strings, contains the default text contents (not escaped in any way).
232
+ * For bytes, contains the C escaped value. All bytes >= 128 are escaped.
233
+ * TODO(kenton): Base-64 encode?
234
+ *
235
+ * @generated from protobuf field: optional string default_value = 7
236
+ */
237
+ defaultValue?: string;
238
+ /**
239
+ * If set, gives the index of a oneof in the containing type's oneof_decl
240
+ * list. This field is a member of that oneof.
241
+ *
242
+ * @generated from protobuf field: optional int32 oneof_index = 9
243
+ */
244
+ oneofIndex?: number;
245
+ /**
246
+ * JSON name of this field. The value is set by protocol compiler. If the
247
+ * user has set a "json_name" option on this field, that option's value
248
+ * will be used. Otherwise, it's deduced from the field's name by converting
249
+ * it to camelCase.
250
+ *
251
+ * @generated from protobuf field: optional string json_name = 10
252
+ */
253
+ jsonName?: string;
254
+ /**
255
+ * @generated from protobuf field: optional google.protobuf.FieldOptions options = 8
256
+ */
257
+ options?: FieldOptions;
258
+ /**
259
+ * If true, this is a proto3 "optional". When a proto3 field is optional, it
260
+ * tracks presence regardless of field type.
261
+ *
262
+ * When proto3_optional is true, this field must be belong to a oneof to
263
+ * signal to old proto3 clients that presence is tracked for this field. This
264
+ * oneof is known as a "synthetic" oneof, and this field must be its sole
265
+ * member (each proto3 optional field gets its own synthetic oneof). Synthetic
266
+ * oneofs exist in the descriptor only, and do not generate any API. Synthetic
267
+ * oneofs must be ordered after all "real" oneofs.
268
+ *
269
+ * For message fields, proto3_optional doesn't create any semantic change,
270
+ * since non-repeated message fields always track presence. However it still
271
+ * indicates the semantic detail of whether the user wrote "optional" or not.
272
+ * This can be useful for round-tripping the .proto file. For consistency we
273
+ * give message fields a synthetic oneof also, even though it is not required
274
+ * to track presence. This is especially important because the parser can't
275
+ * tell if a field is a message or an enum, so it must always create a
276
+ * synthetic oneof.
277
+ *
278
+ * Proto2 optional fields do not set this flag, because they already indicate
279
+ * optional with `LABEL_OPTIONAL`.
280
+ *
281
+ * @generated from protobuf field: optional bool proto3_optional = 17
282
+ */
283
+ proto3Optional?: boolean;
284
+ }
285
+ /**
286
+ * @generated from protobuf enum google.protobuf.FieldDescriptorProto.Type
287
+ */
288
+ export declare enum FieldDescriptorProto_Type {
289
+ /**
290
+ * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
291
+ */
292
+ UNSPECIFIED$ = 0,
293
+ /**
294
+ * 0 is reserved for errors.
295
+ * Order is weird for historical reasons.
296
+ *
297
+ * @generated from protobuf enum value: TYPE_DOUBLE = 1;
298
+ */
299
+ DOUBLE = 1,
300
+ /**
301
+ * @generated from protobuf enum value: TYPE_FLOAT = 2;
302
+ */
303
+ FLOAT = 2,
304
+ /**
305
+ * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
306
+ * negative values are likely.
307
+ *
308
+ * @generated from protobuf enum value: TYPE_INT64 = 3;
309
+ */
310
+ INT64 = 3,
311
+ /**
312
+ * @generated from protobuf enum value: TYPE_UINT64 = 4;
313
+ */
314
+ UINT64 = 4,
315
+ /**
316
+ * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
317
+ * negative values are likely.
318
+ *
319
+ * @generated from protobuf enum value: TYPE_INT32 = 5;
320
+ */
321
+ INT32 = 5,
322
+ /**
323
+ * @generated from protobuf enum value: TYPE_FIXED64 = 6;
324
+ */
325
+ FIXED64 = 6,
326
+ /**
327
+ * @generated from protobuf enum value: TYPE_FIXED32 = 7;
328
+ */
329
+ FIXED32 = 7,
330
+ /**
331
+ * @generated from protobuf enum value: TYPE_BOOL = 8;
332
+ */
333
+ BOOL = 8,
334
+ /**
335
+ * @generated from protobuf enum value: TYPE_STRING = 9;
336
+ */
337
+ STRING = 9,
338
+ /**
339
+ * Tag-delimited aggregate.
340
+ * Group type is deprecated and not supported in proto3. However, Proto3
341
+ * implementations should still be able to parse the group wire format and
342
+ * treat group fields as unknown fields.
343
+ *
344
+ * @generated from protobuf enum value: TYPE_GROUP = 10;
345
+ */
346
+ GROUP = 10,
347
+ /**
348
+ * Length-delimited aggregate.
349
+ *
350
+ * @generated from protobuf enum value: TYPE_MESSAGE = 11;
351
+ */
352
+ MESSAGE = 11,
353
+ /**
354
+ * New in version 2.
355
+ *
356
+ * @generated from protobuf enum value: TYPE_BYTES = 12;
357
+ */
358
+ BYTES = 12,
359
+ /**
360
+ * @generated from protobuf enum value: TYPE_UINT32 = 13;
361
+ */
362
+ UINT32 = 13,
363
+ /**
364
+ * @generated from protobuf enum value: TYPE_ENUM = 14;
365
+ */
366
+ ENUM = 14,
367
+ /**
368
+ * @generated from protobuf enum value: TYPE_SFIXED32 = 15;
369
+ */
370
+ SFIXED32 = 15,
371
+ /**
372
+ * @generated from protobuf enum value: TYPE_SFIXED64 = 16;
373
+ */
374
+ SFIXED64 = 16,
375
+ /**
376
+ * Uses ZigZag encoding.
377
+ *
378
+ * @generated from protobuf enum value: TYPE_SINT32 = 17;
379
+ */
380
+ SINT32 = 17,
381
+ /**
382
+ * Uses ZigZag encoding.
383
+ *
384
+ * @generated from protobuf enum value: TYPE_SINT64 = 18;
385
+ */
386
+ SINT64 = 18
387
+ }
388
+ /**
389
+ * @generated from protobuf enum google.protobuf.FieldDescriptorProto.Label
390
+ */
391
+ export declare enum FieldDescriptorProto_Label {
392
+ /**
393
+ * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
394
+ */
395
+ UNSPECIFIED$ = 0,
396
+ /**
397
+ * 0 is reserved for errors
398
+ *
399
+ * @generated from protobuf enum value: LABEL_OPTIONAL = 1;
400
+ */
401
+ OPTIONAL = 1,
402
+ /**
403
+ * @generated from protobuf enum value: LABEL_REQUIRED = 2;
404
+ */
405
+ REQUIRED = 2,
406
+ /**
407
+ * @generated from protobuf enum value: LABEL_REPEATED = 3;
408
+ */
409
+ REPEATED = 3
410
+ }
411
+ /**
412
+ * Describes a oneof.
413
+ *
414
+ * @generated from protobuf message google.protobuf.OneofDescriptorProto
415
+ */
416
+ export interface OneofDescriptorProto {
417
+ /**
418
+ * @generated from protobuf field: optional string name = 1
419
+ */
420
+ name?: string;
421
+ /**
422
+ * @generated from protobuf field: optional google.protobuf.OneofOptions options = 2
423
+ */
424
+ options?: OneofOptions;
425
+ }
426
+ /**
427
+ * Describes an enum type.
428
+ *
429
+ * @generated from protobuf message google.protobuf.EnumDescriptorProto
430
+ */
431
+ export interface EnumDescriptorProto {
432
+ /**
433
+ * @generated from protobuf field: optional string name = 1
434
+ */
435
+ name?: string;
436
+ /**
437
+ * @generated from protobuf field: repeated google.protobuf.EnumValueDescriptorProto value = 2
438
+ */
439
+ value: EnumValueDescriptorProto[];
440
+ /**
441
+ * @generated from protobuf field: optional google.protobuf.EnumOptions options = 3
442
+ */
443
+ options?: EnumOptions;
444
+ /**
445
+ * Range of reserved numeric values. Reserved numeric values may not be used
446
+ * by enum values in the same enum declaration. Reserved ranges may not
447
+ * overlap.
448
+ *
449
+ * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4
450
+ */
451
+ reservedRange: EnumDescriptorProto_EnumReservedRange[];
452
+ /**
453
+ * Reserved enum value names, which may not be reused. A given name may only
454
+ * be reserved once.
455
+ *
456
+ * @generated from protobuf field: repeated string reserved_name = 5
457
+ */
458
+ reservedName: string[];
459
+ }
460
+ /**
461
+ * Range of reserved numeric values. Reserved values may not be used by
462
+ * entries in the same enum. Reserved ranges may not overlap.
463
+ *
464
+ * Note that this is distinct from DescriptorProto.ReservedRange in that it
465
+ * is inclusive such that it can appropriately represent the entire int32
466
+ * domain.
467
+ *
468
+ * @generated from protobuf message google.protobuf.EnumDescriptorProto.EnumReservedRange
469
+ */
470
+ export interface EnumDescriptorProto_EnumReservedRange {
471
+ /**
472
+ * @generated from protobuf field: optional int32 start = 1
473
+ */
474
+ start?: number;
475
+ /**
476
+ * @generated from protobuf field: optional int32 end = 2
477
+ */
478
+ end?: number;
479
+ }
480
+ /**
481
+ * Describes a value within an enum.
482
+ *
483
+ * @generated from protobuf message google.protobuf.EnumValueDescriptorProto
484
+ */
485
+ export interface EnumValueDescriptorProto {
486
+ /**
487
+ * @generated from protobuf field: optional string name = 1
488
+ */
489
+ name?: string;
490
+ /**
491
+ * @generated from protobuf field: optional int32 number = 2
492
+ */
493
+ number?: number;
494
+ /**
495
+ * @generated from protobuf field: optional google.protobuf.EnumValueOptions options = 3
496
+ */
497
+ options?: EnumValueOptions;
498
+ }
499
+ /**
500
+ * Describes a service.
501
+ *
502
+ * @generated from protobuf message google.protobuf.ServiceDescriptorProto
503
+ */
504
+ export interface ServiceDescriptorProto {
505
+ /**
506
+ * @generated from protobuf field: optional string name = 1
507
+ */
508
+ name?: string;
509
+ /**
510
+ * @generated from protobuf field: repeated google.protobuf.MethodDescriptorProto method = 2
511
+ */
512
+ method: MethodDescriptorProto[];
513
+ /**
514
+ * @generated from protobuf field: optional google.protobuf.ServiceOptions options = 3
515
+ */
516
+ options?: ServiceOptions;
517
+ }
518
+ /**
519
+ * Describes a method of a service.
520
+ *
521
+ * @generated from protobuf message google.protobuf.MethodDescriptorProto
522
+ */
523
+ export interface MethodDescriptorProto {
524
+ /**
525
+ * @generated from protobuf field: optional string name = 1
526
+ */
527
+ name?: string;
528
+ /**
529
+ * Input and output type names. These are resolved in the same way as
530
+ * FieldDescriptorProto.type_name, but must refer to a message type.
531
+ *
532
+ * @generated from protobuf field: optional string input_type = 2
533
+ */
534
+ inputType?: string;
535
+ /**
536
+ * @generated from protobuf field: optional string output_type = 3
537
+ */
538
+ outputType?: string;
539
+ /**
540
+ * @generated from protobuf field: optional google.protobuf.MethodOptions options = 4
541
+ */
542
+ options?: MethodOptions;
543
+ /**
544
+ * Identifies if client streams multiple client messages
545
+ *
546
+ * @generated from protobuf field: optional bool client_streaming = 5 [default = false]
547
+ */
548
+ clientStreaming?: boolean;
549
+ /**
550
+ * Identifies if server streams multiple server messages
551
+ *
552
+ * @generated from protobuf field: optional bool server_streaming = 6 [default = false]
553
+ */
554
+ serverStreaming?: boolean;
555
+ }
556
+ /**
557
+ * @generated from protobuf message google.protobuf.FileOptions
558
+ */
559
+ export interface FileOptions {
560
+ /**
561
+ * Sets the Java package where classes generated from this .proto will be
562
+ * placed. By default, the proto package is used, but this is often
563
+ * inappropriate because proto packages do not normally start with backwards
564
+ * domain names.
565
+ *
566
+ * @generated from protobuf field: optional string java_package = 1
567
+ */
568
+ javaPackage?: string;
569
+ /**
570
+ * Controls the name of the wrapper Java class generated for the .proto file.
571
+ * That class will always contain the .proto file's getDescriptor() method as
572
+ * well as any top-level extensions defined in the .proto file.
573
+ * If java_multiple_files is disabled, then all the other classes from the
574
+ * .proto file will be nested inside the single wrapper outer class.
575
+ *
576
+ * @generated from protobuf field: optional string java_outer_classname = 8
577
+ */
578
+ javaOuterClassname?: string;
579
+ /**
580
+ * If enabled, then the Java code generator will generate a separate .java
581
+ * file for each top-level message, enum, and service defined in the .proto
582
+ * file. Thus, these types will *not* be nested inside the wrapper class
583
+ * named by java_outer_classname. However, the wrapper class will still be
584
+ * generated to contain the file's getDescriptor() method as well as any
585
+ * top-level extensions defined in the file.
586
+ *
587
+ * @generated from protobuf field: optional bool java_multiple_files = 10 [default = false]
588
+ */
589
+ javaMultipleFiles?: boolean;
590
+ /**
591
+ * This option does nothing.
592
+ *
593
+ * @deprecated
594
+ * @generated from protobuf field: optional bool java_generate_equals_and_hash = 20 [deprecated = true]
595
+ */
596
+ javaGenerateEqualsAndHash?: boolean;
597
+ /**
598
+ * If set true, then the Java2 code generator will generate code that
599
+ * throws an exception whenever an attempt is made to assign a non-UTF-8
600
+ * byte sequence to a string field.
601
+ * Message reflection will do the same.
602
+ * However, an extension field still accepts non-UTF-8 byte sequences.
603
+ * This option has no effect on when used with the lite runtime.
604
+ *
605
+ * @generated from protobuf field: optional bool java_string_check_utf8 = 27 [default = false]
606
+ */
607
+ javaStringCheckUtf8?: boolean;
608
+ /**
609
+ * @generated from protobuf field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]
610
+ */
611
+ optimizeFor?: FileOptions_OptimizeMode;
612
+ /**
613
+ * Sets the Go package where structs generated from this .proto will be
614
+ * placed. If omitted, the Go package will be derived from the following:
615
+ * - The basename of the package import path, if provided.
616
+ * - Otherwise, the package statement in the .proto file, if present.
617
+ * - Otherwise, the basename of the .proto file, without extension.
618
+ *
619
+ * @generated from protobuf field: optional string go_package = 11
620
+ */
621
+ goPackage?: string;
622
+ /**
623
+ * Should generic services be generated in each language? "Generic" services
624
+ * are not specific to any particular RPC system. They are generated by the
625
+ * main code generators in each language (without additional plugins).
626
+ * Generic services were the only kind of service generation supported by
627
+ * early versions of google.protobuf.
628
+ *
629
+ * Generic services are now considered deprecated in favor of using plugins
630
+ * that generate code specific to your particular RPC system. Therefore,
631
+ * these default to false. Old code which depends on generic services should
632
+ * explicitly set them to true.
633
+ *
634
+ * @generated from protobuf field: optional bool cc_generic_services = 16 [default = false]
635
+ */
636
+ ccGenericServices?: boolean;
637
+ /**
638
+ * @generated from protobuf field: optional bool java_generic_services = 17 [default = false]
639
+ */
640
+ javaGenericServices?: boolean;
641
+ /**
642
+ * @generated from protobuf field: optional bool py_generic_services = 18 [default = false]
643
+ */
644
+ pyGenericServices?: boolean;
645
+ /**
646
+ * @generated from protobuf field: optional bool php_generic_services = 42 [default = false]
647
+ */
648
+ phpGenericServices?: boolean;
649
+ /**
650
+ * Is this file deprecated?
651
+ * Depending on the target platform, this can emit Deprecated annotations
652
+ * for everything in the file, or it will be completely ignored; in the very
653
+ * least, this is a formalization for deprecating files.
654
+ *
655
+ * @generated from protobuf field: optional bool deprecated = 23 [default = false]
656
+ */
657
+ deprecated?: boolean;
658
+ /**
659
+ * Enables the use of arenas for the proto messages in this file. This applies
660
+ * only to generated classes for C++.
661
+ *
662
+ * @generated from protobuf field: optional bool cc_enable_arenas = 31 [default = true]
663
+ */
664
+ ccEnableArenas?: boolean;
665
+ /**
666
+ * Sets the objective c class prefix which is prepended to all objective c
667
+ * generated classes from this .proto. There is no default.
668
+ *
669
+ * @generated from protobuf field: optional string objc_class_prefix = 36
670
+ */
671
+ objcClassPrefix?: string;
672
+ /**
673
+ * Namespace for generated classes; defaults to the package.
674
+ *
675
+ * @generated from protobuf field: optional string csharp_namespace = 37
676
+ */
677
+ csharpNamespace?: string;
678
+ /**
679
+ * By default Swift generators will take the proto package and CamelCase it
680
+ * replacing '.' with underscore and use that to prefix the types/symbols
681
+ * defined. When this options is provided, they will use this value instead
682
+ * to prefix the types/symbols defined.
683
+ *
684
+ * @generated from protobuf field: optional string swift_prefix = 39
685
+ */
686
+ swiftPrefix?: string;
687
+ /**
688
+ * Sets the php class prefix which is prepended to all php generated classes
689
+ * from this .proto. Default is empty.
690
+ *
691
+ * @generated from protobuf field: optional string php_class_prefix = 40
692
+ */
693
+ phpClassPrefix?: string;
694
+ /**
695
+ * Use this option to change the namespace of php generated classes. Default
696
+ * is empty. When this option is empty, the package name will be used for
697
+ * determining the namespace.
698
+ *
699
+ * @generated from protobuf field: optional string php_namespace = 41
700
+ */
701
+ phpNamespace?: string;
702
+ /**
703
+ * Use this option to change the namespace of php generated metadata classes.
704
+ * Default is empty. When this option is empty, the proto file name will be
705
+ * used for determining the namespace.
706
+ *
707
+ * @generated from protobuf field: optional string php_metadata_namespace = 44
708
+ */
709
+ phpMetadataNamespace?: string;
710
+ /**
711
+ * Use this option to change the package of ruby generated classes. Default
712
+ * is empty. When this option is not set, the package name will be used for
713
+ * determining the ruby package.
714
+ *
715
+ * @generated from protobuf field: optional string ruby_package = 45
716
+ */
717
+ rubyPackage?: string;
718
+ /**
719
+ * The parser stores options it doesn't recognize here.
720
+ * See the documentation for the "Options" section above.
721
+ *
722
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
723
+ */
724
+ uninterpretedOption: UninterpretedOption[];
725
+ }
726
+ /**
727
+ * Generated classes can be optimized for speed or code size.
728
+ *
729
+ * @generated from protobuf enum google.protobuf.FileOptions.OptimizeMode
730
+ */
731
+ export declare enum FileOptions_OptimizeMode {
732
+ /**
733
+ * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
734
+ */
735
+ UNSPECIFIED$ = 0,
736
+ /**
737
+ * Generate complete code for parsing, serialization,
738
+ *
739
+ * @generated from protobuf enum value: SPEED = 1;
740
+ */
741
+ SPEED = 1,
742
+ /**
743
+ * etc.
744
+ *
745
+ * Use ReflectionOps to implement these methods.
746
+ *
747
+ * @generated from protobuf enum value: CODE_SIZE = 2;
748
+ */
749
+ CODE_SIZE = 2,
750
+ /**
751
+ * Generate code using MessageLite and the lite runtime.
752
+ *
753
+ * @generated from protobuf enum value: LITE_RUNTIME = 3;
754
+ */
755
+ LITE_RUNTIME = 3
756
+ }
757
+ /**
758
+ * @generated from protobuf message google.protobuf.MessageOptions
759
+ */
760
+ export interface MessageOptions {
761
+ /**
762
+ * Set true to use the old proto1 MessageSet wire format for extensions.
763
+ * This is provided for backwards-compatibility with the MessageSet wire
764
+ * format. You should not use this for any other reason: It's less
765
+ * efficient, has fewer features, and is more complicated.
766
+ *
767
+ * The message must be defined exactly as follows:
768
+ * message Foo {
769
+ * option message_set_wire_format = true;
770
+ * extensions 4 to max;
771
+ * }
772
+ * Note that the message cannot have any defined fields; MessageSets only
773
+ * have extensions.
774
+ *
775
+ * All extensions of your type must be singular messages; e.g. they cannot
776
+ * be int32s, enums, or repeated messages.
777
+ *
778
+ * Because this is an option, the above two restrictions are not enforced by
779
+ * the protocol compiler.
780
+ *
781
+ * @generated from protobuf field: optional bool message_set_wire_format = 1 [default = false]
782
+ */
783
+ messageSetWireFormat?: boolean;
784
+ /**
785
+ * Disables the generation of the standard "descriptor()" accessor, which can
786
+ * conflict with a field of the same name. This is meant to make migration
787
+ * from proto1 easier; new code should avoid fields named "descriptor".
788
+ *
789
+ * @generated from protobuf field: optional bool no_standard_descriptor_accessor = 2 [default = false]
790
+ */
791
+ noStandardDescriptorAccessor?: boolean;
792
+ /**
793
+ * Is this message deprecated?
794
+ * Depending on the target platform, this can emit Deprecated annotations
795
+ * for the message, or it will be completely ignored; in the very least,
796
+ * this is a formalization for deprecating messages.
797
+ *
798
+ * @generated from protobuf field: optional bool deprecated = 3 [default = false]
799
+ */
800
+ deprecated?: boolean;
801
+ /**
802
+ * Whether the message is an automatically generated map entry type for the
803
+ * maps field.
804
+ *
805
+ * For maps fields:
806
+ * map<KeyType, ValueType> map_field = 1;
807
+ * The parsed descriptor looks like:
808
+ * message MapFieldEntry {
809
+ * option map_entry = true;
810
+ * optional KeyType key = 1;
811
+ * optional ValueType value = 2;
812
+ * }
813
+ * repeated MapFieldEntry map_field = 1;
814
+ *
815
+ * Implementations may choose not to generate the map_entry=true message, but
816
+ * use a native map in the target language to hold the keys and values.
817
+ * The reflection APIs in such implementations still need to work as
818
+ * if the field is a repeated message field.
819
+ *
820
+ * NOTE: Do not set the option in .proto files. Always use the maps syntax
821
+ * instead. The option should only be implicitly set by the proto compiler
822
+ * parser.
823
+ *
824
+ * @generated from protobuf field: optional bool map_entry = 7
825
+ */
826
+ mapEntry?: boolean;
827
+ /**
828
+ * The parser stores options it doesn't recognize here. See above.
829
+ *
830
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
831
+ */
832
+ uninterpretedOption: UninterpretedOption[];
833
+ }
834
+ /**
835
+ * @generated from protobuf message google.protobuf.FieldOptions
836
+ */
837
+ export interface FieldOptions {
838
+ /**
839
+ * The ctype option instructs the C++ code generator to use a different
840
+ * representation of the field than it normally would. See the specific
841
+ * options below. This option is not yet implemented in the open source
842
+ * release -- sorry, we'll try to include it in a future version!
843
+ *
844
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]
845
+ */
846
+ ctype?: FieldOptions_CType;
847
+ /**
848
+ * The packed option can be enabled for repeated primitive fields to enable
849
+ * a more efficient representation on the wire. Rather than repeatedly
850
+ * writing the tag and type for each element, the entire array is encoded as
851
+ * a single length-delimited blob. In proto3, only explicit setting it to
852
+ * false will avoid using packed encoding.
853
+ *
854
+ * @generated from protobuf field: optional bool packed = 2
855
+ */
856
+ packed?: boolean;
857
+ /**
858
+ * The jstype option determines the JavaScript type used for values of the
859
+ * field. The option is permitted only for 64 bit integral and fixed types
860
+ * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
861
+ * is represented as JavaScript string, which avoids loss of precision that
862
+ * can happen when a large value is converted to a floating point JavaScript.
863
+ * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
864
+ * use the JavaScript "number" type. The behavior of the default option
865
+ * JS_NORMAL is implementation dependent.
866
+ *
867
+ * This option is an enum to permit additional types to be added, e.g.
868
+ * goog.math.Integer.
869
+ *
870
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]
871
+ */
872
+ jstype?: FieldOptions_JSType;
873
+ /**
874
+ * Should this field be parsed lazily? Lazy applies only to message-type
875
+ * fields. It means that when the outer message is initially parsed, the
876
+ * inner message's contents will not be parsed but instead stored in encoded
877
+ * form. The inner message will actually be parsed when it is first accessed.
878
+ *
879
+ * This is only a hint. Implementations are free to choose whether to use
880
+ * eager or lazy parsing regardless of the value of this option. However,
881
+ * setting this option true suggests that the protocol author believes that
882
+ * using lazy parsing on this field is worth the additional bookkeeping
883
+ * overhead typically needed to implement it.
884
+ *
885
+ * This option does not affect the public interface of any generated code;
886
+ * all method signatures remain the same. Furthermore, thread-safety of the
887
+ * interface is not affected by this option; const methods remain safe to
888
+ * call from multiple threads concurrently, while non-const methods continue
889
+ * to require exclusive access.
890
+ *
891
+ *
892
+ * Note that implementations may choose not to check required fields within
893
+ * a lazy sub-message. That is, calling IsInitialized() on the outer message
894
+ * may return true even if the inner message has missing required fields.
895
+ * This is necessary because otherwise the inner message would have to be
896
+ * parsed in order to perform the check, defeating the purpose of lazy
897
+ * parsing. An implementation which chooses not to check required fields
898
+ * must be consistent about it. That is, for any particular sub-message, the
899
+ * implementation must either *always* check its required fields, or *never*
900
+ * check its required fields, regardless of whether or not the message has
901
+ * been parsed.
902
+ *
903
+ * @generated from protobuf field: optional bool lazy = 5 [default = false]
904
+ */
905
+ lazy?: boolean;
906
+ /**
907
+ * Is this field deprecated?
908
+ * Depending on the target platform, this can emit Deprecated annotations
909
+ * for accessors, or it will be completely ignored; in the very least, this
910
+ * is a formalization for deprecating fields.
911
+ *
912
+ * @generated from protobuf field: optional bool deprecated = 3 [default = false]
913
+ */
914
+ deprecated?: boolean;
915
+ /**
916
+ * For Google-internal migration only. Do not use.
917
+ *
918
+ * @generated from protobuf field: optional bool weak = 10 [default = false]
919
+ */
920
+ weak?: boolean;
921
+ /**
922
+ * The parser stores options it doesn't recognize here. See above.
923
+ *
924
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
925
+ */
926
+ uninterpretedOption: UninterpretedOption[];
927
+ }
928
+ /**
929
+ * @generated from protobuf enum google.protobuf.FieldOptions.CType
930
+ */
931
+ export declare enum FieldOptions_CType {
932
+ /**
933
+ * Default mode.
934
+ *
935
+ * @generated from protobuf enum value: STRING = 0;
936
+ */
937
+ STRING = 0,
938
+ /**
939
+ * @generated from protobuf enum value: CORD = 1;
940
+ */
941
+ CORD = 1,
942
+ /**
943
+ * @generated from protobuf enum value: STRING_PIECE = 2;
944
+ */
945
+ STRING_PIECE = 2
946
+ }
947
+ /**
948
+ * @generated from protobuf enum google.protobuf.FieldOptions.JSType
949
+ */
950
+ export declare enum FieldOptions_JSType {
951
+ /**
952
+ * Use the default type.
953
+ *
954
+ * @generated from protobuf enum value: JS_NORMAL = 0;
955
+ */
956
+ JS_NORMAL = 0,
957
+ /**
958
+ * Use JavaScript strings.
959
+ *
960
+ * @generated from protobuf enum value: JS_STRING = 1;
961
+ */
962
+ JS_STRING = 1,
963
+ /**
964
+ * Use JavaScript numbers.
965
+ *
966
+ * @generated from protobuf enum value: JS_NUMBER = 2;
967
+ */
968
+ JS_NUMBER = 2
969
+ }
970
+ /**
971
+ * @generated from protobuf message google.protobuf.OneofOptions
972
+ */
973
+ export interface OneofOptions {
974
+ /**
975
+ * The parser stores options it doesn't recognize here. See above.
976
+ *
977
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
978
+ */
979
+ uninterpretedOption: UninterpretedOption[];
980
+ }
981
+ /**
982
+ * @generated from protobuf message google.protobuf.EnumOptions
983
+ */
984
+ export interface EnumOptions {
985
+ /**
986
+ * Set this option to true to allow mapping different tag names to the same
987
+ * value.
988
+ *
989
+ * @generated from protobuf field: optional bool allow_alias = 2
990
+ */
991
+ allowAlias?: boolean;
992
+ /**
993
+ * Is this enum deprecated?
994
+ * Depending on the target platform, this can emit Deprecated annotations
995
+ * for the enum, or it will be completely ignored; in the very least, this
996
+ * is a formalization for deprecating enums.
997
+ *
998
+ * @generated from protobuf field: optional bool deprecated = 3 [default = false]
999
+ */
1000
+ deprecated?: boolean;
1001
+ /**
1002
+ * The parser stores options it doesn't recognize here. See above.
1003
+ *
1004
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
1005
+ */
1006
+ uninterpretedOption: UninterpretedOption[];
1007
+ }
1008
+ /**
1009
+ * @generated from protobuf message google.protobuf.EnumValueOptions
1010
+ */
1011
+ export interface EnumValueOptions {
1012
+ /**
1013
+ * Is this enum value deprecated?
1014
+ * Depending on the target platform, this can emit Deprecated annotations
1015
+ * for the enum value, or it will be completely ignored; in the very least,
1016
+ * this is a formalization for deprecating enum values.
1017
+ *
1018
+ * @generated from protobuf field: optional bool deprecated = 1 [default = false]
1019
+ */
1020
+ deprecated?: boolean;
1021
+ /**
1022
+ * The parser stores options it doesn't recognize here. See above.
1023
+ *
1024
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
1025
+ */
1026
+ uninterpretedOption: UninterpretedOption[];
1027
+ }
1028
+ /**
1029
+ * @generated from protobuf message google.protobuf.ServiceOptions
1030
+ */
1031
+ export interface ServiceOptions {
1032
+ /**
1033
+ * Is this service deprecated?
1034
+ * Depending on the target platform, this can emit Deprecated annotations
1035
+ * for the service, or it will be completely ignored; in the very least,
1036
+ * this is a formalization for deprecating services.
1037
+ *
1038
+ * @generated from protobuf field: optional bool deprecated = 33 [default = false]
1039
+ */
1040
+ deprecated?: boolean;
1041
+ /**
1042
+ * The parser stores options it doesn't recognize here. See above.
1043
+ *
1044
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
1045
+ */
1046
+ uninterpretedOption: UninterpretedOption[];
1047
+ }
1048
+ /**
1049
+ * @generated from protobuf message google.protobuf.MethodOptions
1050
+ */
1051
+ export interface MethodOptions {
1052
+ /**
1053
+ * Is this method deprecated?
1054
+ * Depending on the target platform, this can emit Deprecated annotations
1055
+ * for the method, or it will be completely ignored; in the very least,
1056
+ * this is a formalization for deprecating methods.
1057
+ *
1058
+ * @generated from protobuf field: optional bool deprecated = 33 [default = false]
1059
+ */
1060
+ deprecated?: boolean;
1061
+ /**
1062
+ * @generated from protobuf field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]
1063
+ */
1064
+ idempotencyLevel?: MethodOptions_IdempotencyLevel;
1065
+ /**
1066
+ * The parser stores options it doesn't recognize here. See above.
1067
+ *
1068
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
1069
+ */
1070
+ uninterpretedOption: UninterpretedOption[];
1071
+ }
1072
+ /**
1073
+ * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
1074
+ * or neither? HTTP based RPC implementation may choose GET verb for safe
1075
+ * methods, and PUT verb for idempotent methods instead of the default POST.
1076
+ *
1077
+ * @generated from protobuf enum google.protobuf.MethodOptions.IdempotencyLevel
1078
+ */
1079
+ export declare enum MethodOptions_IdempotencyLevel {
1080
+ /**
1081
+ * @generated from protobuf enum value: IDEMPOTENCY_UNKNOWN = 0;
1082
+ */
1083
+ IDEMPOTENCY_UNKNOWN = 0,
1084
+ /**
1085
+ * implies idempotent
1086
+ *
1087
+ * @generated from protobuf enum value: NO_SIDE_EFFECTS = 1;
1088
+ */
1089
+ NO_SIDE_EFFECTS = 1,
1090
+ /**
1091
+ * idempotent, but may have side effects
1092
+ *
1093
+ * @generated from protobuf enum value: IDEMPOTENT = 2;
1094
+ */
1095
+ IDEMPOTENT = 2
1096
+ }
1097
+ /**
1098
+ * A message representing a option the parser does not recognize. This only
1099
+ * appears in options protos created by the compiler::Parser class.
1100
+ * DescriptorPool resolves these when building Descriptor objects. Therefore,
1101
+ * options protos in descriptor objects (e.g. returned by Descriptor::options(),
1102
+ * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
1103
+ * in them.
1104
+ *
1105
+ * @generated from protobuf message google.protobuf.UninterpretedOption
1106
+ */
1107
+ export interface UninterpretedOption {
1108
+ /**
1109
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption.NamePart name = 2
1110
+ */
1111
+ name: UninterpretedOption_NamePart[];
1112
+ /**
1113
+ * The value of the uninterpreted option, in whatever type the tokenizer
1114
+ * identified it as during parsing. Exactly one of these should be set.
1115
+ *
1116
+ * @generated from protobuf field: optional string identifier_value = 3
1117
+ */
1118
+ identifierValue?: string;
1119
+ /**
1120
+ * @generated from protobuf field: optional uint64 positive_int_value = 4
1121
+ */
1122
+ positiveIntValue?: bigint;
1123
+ /**
1124
+ * @generated from protobuf field: optional int64 negative_int_value = 5
1125
+ */
1126
+ negativeIntValue?: bigint;
1127
+ /**
1128
+ * @generated from protobuf field: optional double double_value = 6
1129
+ */
1130
+ doubleValue?: number;
1131
+ /**
1132
+ * @generated from protobuf field: optional bytes string_value = 7
1133
+ */
1134
+ stringValue?: Uint8Array;
1135
+ /**
1136
+ * @generated from protobuf field: optional string aggregate_value = 8
1137
+ */
1138
+ aggregateValue?: string;
1139
+ }
1140
+ /**
1141
+ * The name of the uninterpreted option. Each string represents a segment in
1142
+ * a dot-separated name. is_extension is true iff a segment represents an
1143
+ * extension (denoted with parentheses in options specs in .proto files).
1144
+ * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents
1145
+ * "foo.(bar.baz).qux".
1146
+ *
1147
+ * @generated from protobuf message google.protobuf.UninterpretedOption.NamePart
1148
+ */
1149
+ export interface UninterpretedOption_NamePart {
1150
+ /**
1151
+ * @generated from protobuf field: required string name_part = 1
1152
+ */
1153
+ namePart: string;
1154
+ /**
1155
+ * @generated from protobuf field: required bool is_extension = 2
1156
+ */
1157
+ isExtension: boolean;
1158
+ }
1159
+ /**
1160
+ * Encapsulates information about the original source file from which a
1161
+ * FileDescriptorProto was generated.
1162
+ *
1163
+ * @generated from protobuf message google.protobuf.SourceCodeInfo
1164
+ */
1165
+ export interface SourceCodeInfo {
1166
+ /**
1167
+ * A Location identifies a piece of source code in a .proto file which
1168
+ * corresponds to a particular definition. This information is intended
1169
+ * to be useful to IDEs, code indexers, documentation generators, and similar
1170
+ * tools.
1171
+ *
1172
+ * For example, say we have a file like:
1173
+ * message Foo {
1174
+ * optional string foo = 1;
1175
+ * }
1176
+ * Let's look at just the field definition:
1177
+ * optional string foo = 1;
1178
+ * ^ ^^ ^^ ^ ^^^
1179
+ * a bc de f ghi
1180
+ * We have the following locations:
1181
+ * span path represents
1182
+ * [a,i) [ 4, 0, 2, 0 ] The whole field definition.
1183
+ * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
1184
+ * [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
1185
+ * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
1186
+ * [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
1187
+ *
1188
+ * Notes:
1189
+ * - A location may refer to a repeated field itself (i.e. not to any
1190
+ * particular index within it). This is used whenever a set of elements are
1191
+ * logically enclosed in a single code segment. For example, an entire
1192
+ * extend block (possibly containing multiple extension definitions) will
1193
+ * have an outer location whose path refers to the "extensions" repeated
1194
+ * field without an index.
1195
+ * - Multiple locations may have the same path. This happens when a single
1196
+ * logical declaration is spread out across multiple places. The most
1197
+ * obvious example is the "extend" block again -- there may be multiple
1198
+ * extend blocks in the same scope, each of which will have the same path.
1199
+ * - A location's span is not always a subset of its parent's span. For
1200
+ * example, the "extendee" of an extension declaration appears at the
1201
+ * beginning of the "extend" block and is shared by all extensions within
1202
+ * the block.
1203
+ * - Just because a location's span is a subset of some other location's span
1204
+ * does not mean that it is a descendant. For example, a "group" defines
1205
+ * both a type and a field in a single declaration. Thus, the locations
1206
+ * corresponding to the type and field and their components will overlap.
1207
+ * - Code which tries to interpret locations should probably be designed to
1208
+ * ignore those that it doesn't understand, as more types of locations could
1209
+ * be recorded in the future.
1210
+ *
1211
+ * @generated from protobuf field: repeated google.protobuf.SourceCodeInfo.Location location = 1
1212
+ */
1213
+ location: SourceCodeInfo_Location[];
1214
+ }
1215
+ /**
1216
+ * @generated from protobuf message google.protobuf.SourceCodeInfo.Location
1217
+ */
1218
+ export interface SourceCodeInfo_Location {
1219
+ /**
1220
+ * Identifies which part of the FileDescriptorProto was defined at this
1221
+ * location.
1222
+ *
1223
+ * Each element is a field number or an index. They form a path from
1224
+ * the root FileDescriptorProto to the place where the definition. For
1225
+ * example, this path:
1226
+ * [ 4, 3, 2, 7, 1 ]
1227
+ * refers to:
1228
+ * file.message_type(3) // 4, 3
1229
+ * .field(7) // 2, 7
1230
+ * .name() // 1
1231
+ * This is because FileDescriptorProto.message_type has field number 4:
1232
+ * repeated DescriptorProto message_type = 4;
1233
+ * and DescriptorProto.field has field number 2:
1234
+ * repeated FieldDescriptorProto field = 2;
1235
+ * and FieldDescriptorProto.name has field number 1:
1236
+ * optional string name = 1;
1237
+ *
1238
+ * Thus, the above path gives the location of a field name. If we removed
1239
+ * the last element:
1240
+ * [ 4, 3, 2, 7 ]
1241
+ * this path refers to the whole field declaration (from the beginning
1242
+ * of the label to the terminating semicolon).
1243
+ *
1244
+ * @generated from protobuf field: repeated int32 path = 1 [packed = true]
1245
+ */
1246
+ path: number[];
1247
+ /**
1248
+ * Always has exactly three or four elements: start line, start column,
1249
+ * end line (optional, otherwise assumed same as start line), end column.
1250
+ * These are packed into a single field for efficiency. Note that line
1251
+ * and column numbers are zero-based -- typically you will want to add
1252
+ * 1 to each before displaying to a user.
1253
+ *
1254
+ * @generated from protobuf field: repeated int32 span = 2 [packed = true]
1255
+ */
1256
+ span: number[];
1257
+ /**
1258
+ * If this SourceCodeInfo represents a complete declaration, these are any
1259
+ * comments appearing before and after the declaration which appear to be
1260
+ * attached to the declaration.
1261
+ *
1262
+ * A series of line comments appearing on consecutive lines, with no other
1263
+ * tokens appearing on those lines, will be treated as a single comment.
1264
+ *
1265
+ * leading_detached_comments will keep paragraphs of comments that appear
1266
+ * before (but not connected to) the current element. Each paragraph,
1267
+ * separated by empty lines, will be one comment element in the repeated
1268
+ * field.
1269
+ *
1270
+ * Only the comment content is provided; comment markers (e.g. //) are
1271
+ * stripped out. For block comments, leading whitespace and an asterisk
1272
+ * will be stripped from the beginning of each line other than the first.
1273
+ * Newlines are included in the output.
1274
+ *
1275
+ * Examples:
1276
+ *
1277
+ * optional int32 foo = 1; // Comment attached to foo.
1278
+ * // Comment attached to bar.
1279
+ * optional int32 bar = 2;
1280
+ *
1281
+ * optional string baz = 3;
1282
+ * // Comment attached to baz.
1283
+ * // Another line attached to baz.
1284
+ *
1285
+ * // Comment attached to qux.
1286
+ * //
1287
+ * // Another line attached to qux.
1288
+ * optional double qux = 4;
1289
+ *
1290
+ * // Detached comment for corge. This is not leading or trailing comments
1291
+ * // to qux or corge because there are blank lines separating it from
1292
+ * // both.
1293
+ *
1294
+ * // Detached comment for corge paragraph 2.
1295
+ *
1296
+ * optional string corge = 5;
1297
+ * /* Block comment attached
1298
+ * * to corge. Leading asterisks
1299
+ * * will be removed. *\/
1300
+ * /* Block comment attached to
1301
+ * * grault. *\/
1302
+ * optional int32 grault = 6;
1303
+ *
1304
+ * // ignored detached comments.
1305
+ *
1306
+ * @generated from protobuf field: optional string leading_comments = 3
1307
+ */
1308
+ leadingComments?: string;
1309
+ /**
1310
+ * @generated from protobuf field: optional string trailing_comments = 4
1311
+ */
1312
+ trailingComments?: string;
1313
+ /**
1314
+ * @generated from protobuf field: repeated string leading_detached_comments = 6
1315
+ */
1316
+ leadingDetachedComments: string[];
1317
+ }
1318
+ /**
1319
+ * Describes the relationship between generated code and its original source
1320
+ * file. A GeneratedCodeInfo message is associated with only one generated
1321
+ * source file, but may contain references to different source .proto files.
1322
+ *
1323
+ * @generated from protobuf message google.protobuf.GeneratedCodeInfo
1324
+ */
1325
+ export interface GeneratedCodeInfo {
1326
+ /**
1327
+ * An Annotation connects some span of text in generated code to an element
1328
+ * of its generating .proto file.
1329
+ *
1330
+ * @generated from protobuf field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1
1331
+ */
1332
+ annotation: GeneratedCodeInfo_Annotation[];
1333
+ }
1334
+ /**
1335
+ * @generated from protobuf message google.protobuf.GeneratedCodeInfo.Annotation
1336
+ */
1337
+ export interface GeneratedCodeInfo_Annotation {
1338
+ /**
1339
+ * Identifies the element in the original source .proto file. This field
1340
+ * is formatted the same as SourceCodeInfo.Location.path.
1341
+ *
1342
+ * @generated from protobuf field: repeated int32 path = 1 [packed = true]
1343
+ */
1344
+ path: number[];
1345
+ /**
1346
+ * Identifies the filesystem path to the original source .proto.
1347
+ *
1348
+ * @generated from protobuf field: optional string source_file = 2
1349
+ */
1350
+ sourceFile?: string;
1351
+ /**
1352
+ * Identifies the starting offset in bytes in the generated code
1353
+ * that relates to the identified object.
1354
+ *
1355
+ * @generated from protobuf field: optional int32 begin = 3
1356
+ */
1357
+ begin?: number;
1358
+ /**
1359
+ * Identifies the ending offset in bytes in the generated code that
1360
+ * relates to the identified offset. The end offset should be one past
1361
+ * the last relevant byte (so the length of the text = end - begin).
1362
+ *
1363
+ * @generated from protobuf field: optional int32 end = 4
1364
+ */
1365
+ end?: number;
1366
+ }
1367
+ declare class FileDescriptorSet$Type extends MessageType<FileDescriptorSet> {
1368
+ constructor();
1369
+ create(value?: PartialMessage<FileDescriptorSet>): FileDescriptorSet;
1370
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FileDescriptorSet): FileDescriptorSet;
1371
+ internalBinaryWrite(message: FileDescriptorSet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1372
+ }
1373
+ /**
1374
+ * @generated MessageType for protobuf message google.protobuf.FileDescriptorSet
1375
+ */
1376
+ export declare const FileDescriptorSet: FileDescriptorSet$Type;
1377
+ declare class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
1378
+ constructor();
1379
+ create(value?: PartialMessage<FileDescriptorProto>): FileDescriptorProto;
1380
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FileDescriptorProto): FileDescriptorProto;
1381
+ internalBinaryWrite(message: FileDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1382
+ }
1383
+ /**
1384
+ * @generated MessageType for protobuf message google.protobuf.FileDescriptorProto
1385
+ */
1386
+ export declare const FileDescriptorProto: FileDescriptorProto$Type;
1387
+ declare class DescriptorProto$Type extends MessageType<DescriptorProto> {
1388
+ constructor();
1389
+ create(value?: PartialMessage<DescriptorProto>): DescriptorProto;
1390
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DescriptorProto): DescriptorProto;
1391
+ internalBinaryWrite(message: DescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1392
+ }
1393
+ /**
1394
+ * @generated MessageType for protobuf message google.protobuf.DescriptorProto
1395
+ */
1396
+ export declare const DescriptorProto: DescriptorProto$Type;
1397
+ declare class DescriptorProto_ExtensionRange$Type extends MessageType<DescriptorProto_ExtensionRange> {
1398
+ constructor();
1399
+ create(value?: PartialMessage<DescriptorProto_ExtensionRange>): DescriptorProto_ExtensionRange;
1400
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRange;
1401
+ internalBinaryWrite(message: DescriptorProto_ExtensionRange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1402
+ }
1403
+ /**
1404
+ * @generated MessageType for protobuf message google.protobuf.DescriptorProto.ExtensionRange
1405
+ */
1406
+ export declare const DescriptorProto_ExtensionRange: DescriptorProto_ExtensionRange$Type;
1407
+ declare class DescriptorProto_ReservedRange$Type extends MessageType<DescriptorProto_ReservedRange> {
1408
+ constructor();
1409
+ create(value?: PartialMessage<DescriptorProto_ReservedRange>): DescriptorProto_ReservedRange;
1410
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DescriptorProto_ReservedRange): DescriptorProto_ReservedRange;
1411
+ internalBinaryWrite(message: DescriptorProto_ReservedRange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1412
+ }
1413
+ /**
1414
+ * @generated MessageType for protobuf message google.protobuf.DescriptorProto.ReservedRange
1415
+ */
1416
+ export declare const DescriptorProto_ReservedRange: DescriptorProto_ReservedRange$Type;
1417
+ declare class ExtensionRangeOptions$Type extends MessageType<ExtensionRangeOptions> {
1418
+ constructor();
1419
+ create(value?: PartialMessage<ExtensionRangeOptions>): ExtensionRangeOptions;
1420
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtensionRangeOptions): ExtensionRangeOptions;
1421
+ internalBinaryWrite(message: ExtensionRangeOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1422
+ }
1423
+ /**
1424
+ * @generated MessageType for protobuf message google.protobuf.ExtensionRangeOptions
1425
+ */
1426
+ export declare const ExtensionRangeOptions: ExtensionRangeOptions$Type;
1427
+ declare class FieldDescriptorProto$Type extends MessageType<FieldDescriptorProto> {
1428
+ constructor();
1429
+ create(value?: PartialMessage<FieldDescriptorProto>): FieldDescriptorProto;
1430
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldDescriptorProto): FieldDescriptorProto;
1431
+ internalBinaryWrite(message: FieldDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1432
+ }
1433
+ /**
1434
+ * @generated MessageType for protobuf message google.protobuf.FieldDescriptorProto
1435
+ */
1436
+ export declare const FieldDescriptorProto: FieldDescriptorProto$Type;
1437
+ declare class OneofDescriptorProto$Type extends MessageType<OneofDescriptorProto> {
1438
+ constructor();
1439
+ create(value?: PartialMessage<OneofDescriptorProto>): OneofDescriptorProto;
1440
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OneofDescriptorProto): OneofDescriptorProto;
1441
+ internalBinaryWrite(message: OneofDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1442
+ }
1443
+ /**
1444
+ * @generated MessageType for protobuf message google.protobuf.OneofDescriptorProto
1445
+ */
1446
+ export declare const OneofDescriptorProto: OneofDescriptorProto$Type;
1447
+ declare class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
1448
+ constructor();
1449
+ create(value?: PartialMessage<EnumDescriptorProto>): EnumDescriptorProto;
1450
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumDescriptorProto): EnumDescriptorProto;
1451
+ internalBinaryWrite(message: EnumDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1452
+ }
1453
+ /**
1454
+ * @generated MessageType for protobuf message google.protobuf.EnumDescriptorProto
1455
+ */
1456
+ export declare const EnumDescriptorProto: EnumDescriptorProto$Type;
1457
+ declare class EnumDescriptorProto_EnumReservedRange$Type extends MessageType<EnumDescriptorProto_EnumReservedRange> {
1458
+ constructor();
1459
+ create(value?: PartialMessage<EnumDescriptorProto_EnumReservedRange>): EnumDescriptorProto_EnumReservedRange;
1460
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRange;
1461
+ internalBinaryWrite(message: EnumDescriptorProto_EnumReservedRange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1462
+ }
1463
+ /**
1464
+ * @generated MessageType for protobuf message google.protobuf.EnumDescriptorProto.EnumReservedRange
1465
+ */
1466
+ export declare const EnumDescriptorProto_EnumReservedRange: EnumDescriptorProto_EnumReservedRange$Type;
1467
+ declare class EnumValueDescriptorProto$Type extends MessageType<EnumValueDescriptorProto> {
1468
+ constructor();
1469
+ create(value?: PartialMessage<EnumValueDescriptorProto>): EnumValueDescriptorProto;
1470
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumValueDescriptorProto): EnumValueDescriptorProto;
1471
+ internalBinaryWrite(message: EnumValueDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1472
+ }
1473
+ /**
1474
+ * @generated MessageType for protobuf message google.protobuf.EnumValueDescriptorProto
1475
+ */
1476
+ export declare const EnumValueDescriptorProto: EnumValueDescriptorProto$Type;
1477
+ declare class ServiceDescriptorProto$Type extends MessageType<ServiceDescriptorProto> {
1478
+ constructor();
1479
+ create(value?: PartialMessage<ServiceDescriptorProto>): ServiceDescriptorProto;
1480
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServiceDescriptorProto): ServiceDescriptorProto;
1481
+ internalBinaryWrite(message: ServiceDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1482
+ }
1483
+ /**
1484
+ * @generated MessageType for protobuf message google.protobuf.ServiceDescriptorProto
1485
+ */
1486
+ export declare const ServiceDescriptorProto: ServiceDescriptorProto$Type;
1487
+ declare class MethodDescriptorProto$Type extends MessageType<MethodDescriptorProto> {
1488
+ constructor();
1489
+ create(value?: PartialMessage<MethodDescriptorProto>): MethodDescriptorProto;
1490
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MethodDescriptorProto): MethodDescriptorProto;
1491
+ internalBinaryWrite(message: MethodDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1492
+ }
1493
+ /**
1494
+ * @generated MessageType for protobuf message google.protobuf.MethodDescriptorProto
1495
+ */
1496
+ export declare const MethodDescriptorProto: MethodDescriptorProto$Type;
1497
+ declare class FileOptions$Type extends MessageType<FileOptions> {
1498
+ constructor();
1499
+ create(value?: PartialMessage<FileOptions>): FileOptions;
1500
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FileOptions): FileOptions;
1501
+ internalBinaryWrite(message: FileOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1502
+ }
1503
+ /**
1504
+ * @generated MessageType for protobuf message google.protobuf.FileOptions
1505
+ */
1506
+ export declare const FileOptions: FileOptions$Type;
1507
+ declare class MessageOptions$Type extends MessageType<MessageOptions> {
1508
+ constructor();
1509
+ create(value?: PartialMessage<MessageOptions>): MessageOptions;
1510
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MessageOptions): MessageOptions;
1511
+ internalBinaryWrite(message: MessageOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1512
+ }
1513
+ /**
1514
+ * @generated MessageType for protobuf message google.protobuf.MessageOptions
1515
+ */
1516
+ export declare const MessageOptions: MessageOptions$Type;
1517
+ declare class FieldOptions$Type extends MessageType<FieldOptions> {
1518
+ constructor();
1519
+ create(value?: PartialMessage<FieldOptions>): FieldOptions;
1520
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldOptions): FieldOptions;
1521
+ internalBinaryWrite(message: FieldOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1522
+ }
1523
+ /**
1524
+ * @generated MessageType for protobuf message google.protobuf.FieldOptions
1525
+ */
1526
+ export declare const FieldOptions: FieldOptions$Type;
1527
+ declare class OneofOptions$Type extends MessageType<OneofOptions> {
1528
+ constructor();
1529
+ create(value?: PartialMessage<OneofOptions>): OneofOptions;
1530
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OneofOptions): OneofOptions;
1531
+ internalBinaryWrite(message: OneofOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1532
+ }
1533
+ /**
1534
+ * @generated MessageType for protobuf message google.protobuf.OneofOptions
1535
+ */
1536
+ export declare const OneofOptions: OneofOptions$Type;
1537
+ declare class EnumOptions$Type extends MessageType<EnumOptions> {
1538
+ constructor();
1539
+ create(value?: PartialMessage<EnumOptions>): EnumOptions;
1540
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumOptions): EnumOptions;
1541
+ internalBinaryWrite(message: EnumOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1542
+ }
1543
+ /**
1544
+ * @generated MessageType for protobuf message google.protobuf.EnumOptions
1545
+ */
1546
+ export declare const EnumOptions: EnumOptions$Type;
1547
+ declare class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
1548
+ constructor();
1549
+ create(value?: PartialMessage<EnumValueOptions>): EnumValueOptions;
1550
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumValueOptions): EnumValueOptions;
1551
+ internalBinaryWrite(message: EnumValueOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1552
+ }
1553
+ /**
1554
+ * @generated MessageType for protobuf message google.protobuf.EnumValueOptions
1555
+ */
1556
+ export declare const EnumValueOptions: EnumValueOptions$Type;
1557
+ declare class ServiceOptions$Type extends MessageType<ServiceOptions> {
1558
+ constructor();
1559
+ create(value?: PartialMessage<ServiceOptions>): ServiceOptions;
1560
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServiceOptions): ServiceOptions;
1561
+ internalBinaryWrite(message: ServiceOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1562
+ }
1563
+ /**
1564
+ * @generated MessageType for protobuf message google.protobuf.ServiceOptions
1565
+ */
1566
+ export declare const ServiceOptions: ServiceOptions$Type;
1567
+ declare class MethodOptions$Type extends MessageType<MethodOptions> {
1568
+ constructor();
1569
+ create(value?: PartialMessage<MethodOptions>): MethodOptions;
1570
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MethodOptions): MethodOptions;
1571
+ internalBinaryWrite(message: MethodOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1572
+ }
1573
+ /**
1574
+ * @generated MessageType for protobuf message google.protobuf.MethodOptions
1575
+ */
1576
+ export declare const MethodOptions: MethodOptions$Type;
1577
+ declare class UninterpretedOption$Type extends MessageType<UninterpretedOption> {
1578
+ constructor();
1579
+ create(value?: PartialMessage<UninterpretedOption>): UninterpretedOption;
1580
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UninterpretedOption): UninterpretedOption;
1581
+ internalBinaryWrite(message: UninterpretedOption, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1582
+ }
1583
+ /**
1584
+ * @generated MessageType for protobuf message google.protobuf.UninterpretedOption
1585
+ */
1586
+ export declare const UninterpretedOption: UninterpretedOption$Type;
1587
+ declare class UninterpretedOption_NamePart$Type extends MessageType<UninterpretedOption_NamePart> {
1588
+ constructor();
1589
+ create(value?: PartialMessage<UninterpretedOption_NamePart>): UninterpretedOption_NamePart;
1590
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UninterpretedOption_NamePart): UninterpretedOption_NamePart;
1591
+ internalBinaryWrite(message: UninterpretedOption_NamePart, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1592
+ }
1593
+ /**
1594
+ * @generated MessageType for protobuf message google.protobuf.UninterpretedOption.NamePart
1595
+ */
1596
+ export declare const UninterpretedOption_NamePart: UninterpretedOption_NamePart$Type;
1597
+ declare class SourceCodeInfo$Type extends MessageType<SourceCodeInfo> {
1598
+ constructor();
1599
+ create(value?: PartialMessage<SourceCodeInfo>): SourceCodeInfo;
1600
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SourceCodeInfo): SourceCodeInfo;
1601
+ internalBinaryWrite(message: SourceCodeInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1602
+ }
1603
+ /**
1604
+ * @generated MessageType for protobuf message google.protobuf.SourceCodeInfo
1605
+ */
1606
+ export declare const SourceCodeInfo: SourceCodeInfo$Type;
1607
+ declare class SourceCodeInfo_Location$Type extends MessageType<SourceCodeInfo_Location> {
1608
+ constructor();
1609
+ create(value?: PartialMessage<SourceCodeInfo_Location>): SourceCodeInfo_Location;
1610
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SourceCodeInfo_Location): SourceCodeInfo_Location;
1611
+ internalBinaryWrite(message: SourceCodeInfo_Location, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1612
+ }
1613
+ /**
1614
+ * @generated MessageType for protobuf message google.protobuf.SourceCodeInfo.Location
1615
+ */
1616
+ export declare const SourceCodeInfo_Location: SourceCodeInfo_Location$Type;
1617
+ declare class GeneratedCodeInfo$Type extends MessageType<GeneratedCodeInfo> {
1618
+ constructor();
1619
+ create(value?: PartialMessage<GeneratedCodeInfo>): GeneratedCodeInfo;
1620
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GeneratedCodeInfo): GeneratedCodeInfo;
1621
+ internalBinaryWrite(message: GeneratedCodeInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1622
+ }
1623
+ /**
1624
+ * @generated MessageType for protobuf message google.protobuf.GeneratedCodeInfo
1625
+ */
1626
+ export declare const GeneratedCodeInfo: GeneratedCodeInfo$Type;
1627
+ declare class GeneratedCodeInfo_Annotation$Type extends MessageType<GeneratedCodeInfo_Annotation> {
1628
+ constructor();
1629
+ create(value?: PartialMessage<GeneratedCodeInfo_Annotation>): GeneratedCodeInfo_Annotation;
1630
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_Annotation;
1631
+ internalBinaryWrite(message: GeneratedCodeInfo_Annotation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1632
+ }
1633
+ /**
1634
+ * @generated MessageType for protobuf message google.protobuf.GeneratedCodeInfo.Annotation
1635
+ */
1636
+ export declare const GeneratedCodeInfo_Annotation: GeneratedCodeInfo_Annotation$Type;
1637
+ export {};
1638
+ //# sourceMappingURL=descriptor.d.ts.map