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