juno-network 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (272) hide show
  1. package/main/codegen/JunoSwap.client.js +1 -1
  2. package/main/codegen/cosmos/authz/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  3. package/main/codegen/cosmos/bank/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  4. package/main/codegen/cosmos/bundle.js +8 -8
  5. package/main/codegen/cosmos/distribution/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  6. package/main/codegen/cosmos/gov/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  7. package/main/codegen/cosmos/gov/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  8. package/main/codegen/cosmos/rpc.query.js +8 -8
  9. package/main/codegen/cosmos/staking/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  10. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +4 -4
  11. package/main/codegen/cosmos/tx/v1beta1/{service.rpc.svc.js → service.rpc.Service.js} +8 -8
  12. package/main/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  13. package/main/codegen/cosmwasm/bundle.js +1 -1
  14. package/main/codegen/cosmwasm/rpc.query.js +9 -9
  15. package/main/codegen/cosmwasm/wasm/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  16. package/main/codegen/google/protobuf/descriptor.js +18 -18
  17. package/main/codegen/helpers.js +29 -18
  18. package/main/codegen/ibc/applications/transfer/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  19. package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +1 -1
  20. package/main/codegen/ibc/bundle.js +4 -4
  21. package/main/codegen/ibc/core/channel/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  22. package/main/codegen/ibc/core/client/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  23. package/main/codegen/ibc/core/connection/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  24. package/main/codegen/ibc/rpc.query.js +12 -12
  25. package/main/codegen/juno/bundle.js +1 -1
  26. package/main/codegen/juno/mint/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  27. package/main/codegen/juno/rpc.query.js +9 -9
  28. package/module/codegen/JunoSwap.client.js +1 -1
  29. package/module/codegen/contracts.js +1 -1
  30. package/module/codegen/cosmos/authz/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  31. package/module/codegen/cosmos/bank/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  32. package/module/codegen/cosmos/bundle.js +8 -8
  33. package/module/codegen/cosmos/distribution/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  34. package/module/codegen/cosmos/gov/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  35. package/module/codegen/cosmos/gov/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  36. package/module/codegen/cosmos/rpc.query.js +8 -8
  37. package/module/codegen/cosmos/staking/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  38. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +4 -4
  39. package/module/codegen/cosmos/tx/v1beta1/{service.rpc.svc.js → service.rpc.Service.js} +2 -2
  40. package/module/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  41. package/module/codegen/cosmwasm/bundle.js +1 -1
  42. package/module/codegen/cosmwasm/rpc.query.js +9 -9
  43. package/module/codegen/cosmwasm/wasm/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  44. package/module/codegen/google/protobuf/descriptor.js +18 -18
  45. package/module/codegen/helpers.js +18 -10
  46. package/module/codegen/ibc/applications/transfer/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  47. package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +1 -1
  48. package/module/codegen/ibc/bundle.js +4 -4
  49. package/module/codegen/ibc/core/channel/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  50. package/module/codegen/ibc/core/client/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  51. package/module/codegen/ibc/core/connection/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  52. package/module/codegen/ibc/rpc.query.js +12 -12
  53. package/module/codegen/index.js +1 -1
  54. package/module/codegen/juno/bundle.js +1 -1
  55. package/module/codegen/juno/mint/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  56. package/module/codegen/juno/rpc.query.js +9 -9
  57. package/package.json +3 -3
  58. package/src/codegen/JunoSwap.client.ts +1 -1
  59. package/src/codegen/JunoSwap.types.ts +1 -1
  60. package/src/codegen/contracts.ts +1 -1
  61. package/src/codegen/cosmos/authz/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  62. package/src/codegen/cosmos/bank/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  63. package/src/codegen/cosmos/bundle.ts +8 -8
  64. package/src/codegen/cosmos/distribution/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  65. package/src/codegen/cosmos/gov/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  66. package/src/codegen/cosmos/gov/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  67. package/src/codegen/cosmos/rpc.query.ts +8 -8
  68. package/src/codegen/cosmos/staking/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  69. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +4 -4
  70. package/src/codegen/cosmos/tx/v1beta1/{service.rpc.svc.ts → service.rpc.Service.ts} +2 -2
  71. package/src/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  72. package/src/codegen/cosmwasm/bundle.ts +1 -1
  73. package/src/codegen/cosmwasm/rpc.query.ts +9 -9
  74. package/src/codegen/cosmwasm/wasm/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  75. package/src/codegen/google/protobuf/descriptor.ts +18 -18
  76. package/src/codegen/helpers.ts +24 -16
  77. package/src/codegen/ibc/applications/transfer/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  78. package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +1 -1
  79. package/src/codegen/ibc/bundle.ts +4 -4
  80. package/src/codegen/ibc/core/channel/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  81. package/src/codegen/ibc/core/client/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  82. package/src/codegen/ibc/core/connection/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  83. package/src/codegen/ibc/rpc.query.ts +12 -12
  84. package/src/codegen/index.ts +1 -1
  85. package/src/codegen/juno/bundle.ts +1 -1
  86. package/src/codegen/juno/mint/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  87. package/src/codegen/juno/rpc.query.ts +9 -9
  88. package/types/codegen/JunoSwap.client.d.ts +122 -0
  89. package/types/codegen/JunoSwap.types.d.ts +142 -0
  90. package/types/codegen/confio/proofs.d.ts +495 -0
  91. package/types/codegen/contracts.d.ts +12 -0
  92. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
  93. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
  94. package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
  95. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
  96. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
  97. package/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts +32 -0
  98. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
  99. package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +30 -0
  100. package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
  101. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
  102. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
  103. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
  104. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
  105. package/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts +57 -0
  106. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
  107. package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
  108. package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
  109. package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +15 -0
  110. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
  111. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
  112. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
  113. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
  114. package/types/codegen/cosmos/bundle.d.ts +6233 -0
  115. package/types/codegen/cosmos/client.d.ts +473 -0
  116. package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
  117. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
  118. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
  119. package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
  120. package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
  121. package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
  122. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
  123. package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
  124. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
  125. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
  126. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
  127. package/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +51 -0
  128. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
  129. package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
  130. package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
  131. package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +33 -0
  132. package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
  133. package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
  134. package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
  135. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
  136. package/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts +44 -0
  137. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
  138. package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
  139. package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
  140. package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +27 -0
  141. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
  142. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
  143. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
  144. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  145. package/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
  146. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
  147. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
  148. package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
  149. package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +25 -0
  150. package/types/codegen/cosmos/lcd.d.ts +28 -0
  151. package/types/codegen/cosmos/rpc.query.d.ts +97 -0
  152. package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
  153. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
  154. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
  155. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
  156. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
  157. package/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts +80 -0
  158. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
  159. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
  160. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
  161. package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
  162. package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +33 -0
  163. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
  164. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
  165. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
  166. package/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts +36 -0
  167. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
  168. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
  169. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
  170. package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +43 -0
  171. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
  172. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
  173. package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
  174. package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +24 -0
  175. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
  176. package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
  177. package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
  178. package/types/codegen/cosmwasm/bundle.d.ts +1109 -0
  179. package/types/codegen/cosmwasm/client.d.ts +120 -0
  180. package/types/codegen/cosmwasm/lcd.d.ts +33 -0
  181. package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
  182. package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
  183. package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
  184. package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
  185. package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
  186. package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
  187. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
  188. package/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts +48 -0
  189. package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
  190. package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
  191. package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
  192. package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +27 -0
  193. package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
  194. package/types/codegen/gogoproto/bundle.d.ts +1 -0
  195. package/types/codegen/gogoproto/gogo.d.ts +1 -0
  196. package/types/codegen/google/bundle.d.ts +1413 -0
  197. package/types/codegen/google/protobuf/any.d.ts +237 -0
  198. package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
  199. package/types/codegen/google/protobuf/duration.d.ts +161 -0
  200. package/types/codegen/google/protobuf/empty.d.ts +33 -0
  201. package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
  202. package/types/codegen/helpers.d.ts +82 -0
  203. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  204. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
  205. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  206. package/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts +24 -0
  207. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
  208. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  209. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
  210. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  211. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  212. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
  213. package/types/codegen/ibc/bundle.d.ts +3781 -0
  214. package/types/codegen/ibc/client.d.ts +559 -0
  215. package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
  216. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
  217. package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
  218. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  219. package/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts +88 -0
  220. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  221. package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
  222. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  223. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
  224. package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
  225. package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
  226. package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
  227. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  228. package/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts +50 -0
  229. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  230. package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
  231. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  232. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
  233. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  234. package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
  235. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
  236. package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
  237. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  238. package/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts +41 -0
  239. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  240. package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
  241. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  242. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
  243. package/types/codegen/ibc/lcd.d.ts +46 -0
  244. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
  245. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
  246. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
  247. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
  248. package/types/codegen/ibc/rpc.query.d.ts +148 -0
  249. package/types/codegen/ibc/rpc.tx.d.ts +44 -0
  250. package/types/codegen/ics23/bundle.d.ts +545 -0
  251. package/types/codegen/index.d.ts +18 -0
  252. package/types/codegen/juno/bundle.d.ts +226 -0
  253. package/types/codegen/juno/lcd.d.ts +31 -0
  254. package/types/codegen/juno/mint/genesis.d.ts +22 -0
  255. package/types/codegen/juno/mint/mint.d.ts +44 -0
  256. package/types/codegen/juno/mint/query.d.ts +99 -0
  257. package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
  258. package/types/codegen/juno/mint/query.rpc.Query.d.ts +24 -0
  259. package/types/codegen/juno/rpc.query.d.ts +104 -0
  260. package/types/codegen/tendermint/abci/types.d.ts +902 -0
  261. package/types/codegen/tendermint/bundle.d.ts +2065 -0
  262. package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
  263. package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
  264. package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
  265. package/types/codegen/tendermint/p2p/types.d.ts +87 -0
  266. package/types/codegen/tendermint/types/block.d.ts +21 -0
  267. package/types/codegen/tendermint/types/evidence.d.ts +70 -0
  268. package/types/codegen/tendermint/types/params.d.ts +181 -0
  269. package/types/codegen/tendermint/types/types.d.ts +326 -0
  270. package/types/codegen/tendermint/types/validator.d.ts +48 -0
  271. package/types/codegen/tendermint/version/types.d.ts +48 -0
  272. package/types/index.d.ts +1 -0
@@ -0,0 +1,1725 @@
1
+ import * as _m0 from "protobufjs/minimal";
2
+ import { DeepPartial, Long } from "../../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
+ };