@gitopia/gitopiajs 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/package.json +3 -3
  2. package/dist/LICENSE +0 -21
  3. package/dist/amino/amino.d.ts +0 -1
  4. package/dist/amino/amino.js +0 -2
  5. package/dist/amino/bundle.d.ts +0 -1
  6. package/dist/amino/bundle.js +0 -41
  7. package/dist/binary.d.ts +0 -130
  8. package/dist/binary.js +0 -371
  9. package/dist/cosmos/bank/v1beta1/bank.d.ts +0 -407
  10. package/dist/cosmos/bank/v1beta1/bank.js +0 -664
  11. package/dist/cosmos/bank/v1beta1/query.d.ts +0 -1062
  12. package/dist/cosmos/bank/v1beta1/query.js +0 -1759
  13. package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +0 -19
  14. package/dist/cosmos/bank/v1beta1/query.lcd.js +0 -173
  15. package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +0 -106
  16. package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +0 -123
  17. package/dist/cosmos/base/query/v1beta1/pagination.d.ts +0 -190
  18. package/dist/cosmos/base/query/v1beta1/pagination.js +0 -204
  19. package/dist/cosmos/base/v1beta1/coin.d.ts +0 -193
  20. package/dist/cosmos/base/v1beta1/coin.js +0 -306
  21. package/dist/cosmos/bundle.d.ts +0 -2311
  22. package/dist/cosmos/bundle.js +0 -134
  23. package/dist/cosmos/client.d.ts +0 -84
  24. package/dist/cosmos/client.js +0 -65
  25. package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -245
  26. package/dist/cosmos/feegrant/v1beta1/feegrant.js +0 -456
  27. package/dist/cosmos/feegrant/v1beta1/query.d.ts +0 -258
  28. package/dist/cosmos/feegrant/v1beta1/query.js +0 -487
  29. package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +0 -11
  30. package/dist/cosmos/feegrant/v1beta1/query.lcd.js +0 -44
  31. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +0 -28
  32. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -47
  33. package/dist/cosmos/gov/v1beta1/gov.d.ts +0 -571
  34. package/dist/cosmos/gov/v1beta1/gov.js +0 -1122
  35. package/dist/cosmos/gov/v1beta1/query.d.ts +0 -636
  36. package/dist/cosmos/gov/v1beta1/query.js +0 -1264
  37. package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +0 -16
  38. package/dist/cosmos/gov/v1beta1/query.lcd.js +0 -87
  39. package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +0 -44
  40. package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +0 -92
  41. package/dist/cosmos/group/v1/query.d.ts +0 -1097
  42. package/dist/cosmos/group/v1/query.js +0 -2182
  43. package/dist/cosmos/group/v1/query.lcd.d.ts +0 -22
  44. package/dist/cosmos/group/v1/query.lcd.js +0 -158
  45. package/dist/cosmos/group/v1/query.rpc.Query.d.ts +0 -78
  46. package/dist/cosmos/group/v1/query.rpc.Query.js +0 -148
  47. package/dist/cosmos/group/v1/tx.amino.d.ts +0 -73
  48. package/dist/cosmos/group/v1/tx.amino.js +0 -77
  49. package/dist/cosmos/group/v1/tx.d.ts +0 -1198
  50. package/dist/cosmos/group/v1/tx.js +0 -2362
  51. package/dist/cosmos/group/v1/tx.registry.d.ts +0 -180
  52. package/dist/cosmos/group/v1/tx.registry.js +0 -271
  53. package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +0 -51
  54. package/dist/cosmos/group/v1/tx.rpc.msg.js +0 -96
  55. package/dist/cosmos/group/v1/types.d.ts +0 -873
  56. package/dist/cosmos/group/v1/types.js +0 -1495
  57. package/dist/cosmos/msg/v1/msg.d.ts +0 -1
  58. package/dist/cosmos/msg/v1/msg.js +0 -2
  59. package/dist/cosmos/query/v1/query.d.ts +0 -1
  60. package/dist/cosmos/query/v1/query.js +0 -2
  61. package/dist/cosmos/rpc.query.d.ts +0 -59
  62. package/dist/cosmos/rpc.query.js +0 -60
  63. package/dist/cosmos/rpc.tx.d.ts +0 -10
  64. package/dist/cosmos/rpc.tx.js +0 -44
  65. package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -278
  66. package/dist/cosmos/upgrade/v1beta1/upgrade.js +0 -382
  67. package/dist/cosmos_proto/bundle.d.ts +0 -32
  68. package/dist/cosmos_proto/bundle.js +0 -41
  69. package/dist/cosmos_proto/cosmos.d.ts +0 -171
  70. package/dist/cosmos_proto/cosmos.js +0 -221
  71. package/dist/esm/amino/amino.js +0 -1
  72. package/dist/esm/amino/bundle.js +0 -5
  73. package/dist/esm/binary.js +0 -366
  74. package/dist/esm/cosmos/bank/v1beta1/bank.js +0 -661
  75. package/dist/esm/cosmos/bank/v1beta1/query.js +0 -1756
  76. package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +0 -169
  77. package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +0 -118
  78. package/dist/esm/cosmos/base/query/v1beta1/pagination.js +0 -201
  79. package/dist/esm/cosmos/base/v1beta1/coin.js +0 -303
  80. package/dist/esm/cosmos/bundle.js +0 -98
  81. package/dist/esm/cosmos/client.js +0 -27
  82. package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +0 -450
  83. package/dist/esm/cosmos/feegrant/v1beta1/query.js +0 -484
  84. package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +0 -40
  85. package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -42
  86. package/dist/esm/cosmos/gov/v1beta1/gov.js +0 -1112
  87. package/dist/esm/cosmos/gov/v1beta1/query.js +0 -1261
  88. package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +0 -83
  89. package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +0 -87
  90. package/dist/esm/cosmos/group/v1/query.js +0 -2179
  91. package/dist/esm/cosmos/group/v1/query.lcd.js +0 -154
  92. package/dist/esm/cosmos/group/v1/query.rpc.Query.js +0 -143
  93. package/dist/esm/cosmos/group/v1/tx.amino.js +0 -74
  94. package/dist/esm/cosmos/group/v1/tx.js +0 -2354
  95. package/dist/esm/cosmos/group/v1/tx.registry.js +0 -267
  96. package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +0 -92
  97. package/dist/esm/cosmos/group/v1/types.js +0 -1483
  98. package/dist/esm/cosmos/msg/v1/msg.js +0 -1
  99. package/dist/esm/cosmos/query/v1/query.js +0 -1
  100. package/dist/esm/cosmos/rpc.query.js +0 -23
  101. package/dist/esm/cosmos/rpc.tx.js +0 -7
  102. package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +0 -379
  103. package/dist/esm/cosmos_proto/bundle.js +0 -5
  104. package/dist/esm/cosmos_proto/cosmos.js +0 -216
  105. package/dist/esm/gitopia/bundle.js +0 -95
  106. package/dist/esm/gitopia/client.js +0 -32
  107. package/dist/esm/gitopia/custom-lcd-client.js +0 -50
  108. package/dist/esm/gitopia/gitopia/gitopia/attachment.js +0 -101
  109. package/dist/esm/gitopia/gitopia/gitopia/bounty.js +0 -255
  110. package/dist/esm/gitopia/gitopia/gitopia/branch.js +0 -137
  111. package/dist/esm/gitopia/gitopia/gitopia/comment.js +0 -488
  112. package/dist/esm/gitopia/gitopia/gitopia/dao.js +0 -451
  113. package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +0 -78
  114. package/dist/esm/gitopia/gitopia/gitopia/genesis.js +0 -460
  115. package/dist/esm/gitopia/gitopia/gitopia/issue.js +0 -323
  116. package/dist/esm/gitopia/gitopia/gitopia/params.js +0 -293
  117. package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +0 -565
  118. package/dist/esm/gitopia/gitopia/gitopia/query.js +0 -7351
  119. package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +0 -452
  120. package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -453
  121. package/dist/esm/gitopia/gitopia/gitopia/reaction.js +0 -123
  122. package/dist/esm/gitopia/gitopia/gitopia/release.js +0 -225
  123. package/dist/esm/gitopia/gitopia/gitopia/repository.js +0 -1200
  124. package/dist/esm/gitopia/gitopia/gitopia/tag.js +0 -125
  125. package/dist/esm/gitopia/gitopia/gitopia/task.js +0 -197
  126. package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +0 -464
  127. package/dist/esm/gitopia/gitopia/gitopia/tx.js +0 -14679
  128. package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +0 -1671
  129. package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -560
  130. package/dist/esm/gitopia/gitopia/gitopia/user.js +0 -340
  131. package/dist/esm/gitopia/gitopia/gitopia/whois.js +0 -146
  132. package/dist/esm/gitopia/gitopia/offchain/offchain.js +0 -144
  133. package/dist/esm/gitopia/gitopia/rewards/genesis.js +0 -82
  134. package/dist/esm/gitopia/gitopia/rewards/params.js +0 -81
  135. package/dist/esm/gitopia/gitopia/rewards/pool.js +0 -191
  136. package/dist/esm/gitopia/gitopia/rewards/query.js +0 -654
  137. package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +0 -40
  138. package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +0 -53
  139. package/dist/esm/gitopia/gitopia/rewards/rewards.js +0 -191
  140. package/dist/esm/gitopia/gitopia/rewards/task.js +0 -176
  141. package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +0 -19
  142. package/dist/esm/gitopia/gitopia/rewards/tx.js +0 -525
  143. package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +0 -69
  144. package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -26
  145. package/dist/esm/gitopia/rpc.query.js +0 -29
  146. package/dist/esm/gitopia/rpc.tx.js +0 -13
  147. package/dist/esm/gogoproto/bundle.js +0 -5
  148. package/dist/esm/gogoproto/gogo.js +0 -1
  149. package/dist/esm/google/api/annotations.js +0 -1
  150. package/dist/esm/google/api/http.js +0 -329
  151. package/dist/esm/google/bundle.js +0 -14
  152. package/dist/esm/google/protobuf/any.js +0 -74
  153. package/dist/esm/google/protobuf/descriptor.js +0 -4848
  154. package/dist/esm/google/protobuf/duration.js +0 -71
  155. package/dist/esm/google/protobuf/timestamp.js +0 -68
  156. package/dist/esm/helpers.js +0 -129
  157. package/dist/esm/ibc/applications/transfer/v1/query.js +0 -847
  158. package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +0 -70
  159. package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +0 -71
  160. package/dist/esm/ibc/applications/transfer/v1/transfer.js +0 -164
  161. package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +0 -9
  162. package/dist/esm/ibc/applications/transfer/v1/tx.js +0 -226
  163. package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +0 -33
  164. package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -14
  165. package/dist/esm/ibc/bundle.js +0 -44
  166. package/dist/esm/ibc/client.js +0 -29
  167. package/dist/esm/ibc/core/client/v1/client.js +0 -611
  168. package/dist/esm/ibc/rpc.query.js +0 -30
  169. package/dist/esm/ibc/rpc.tx.js +0 -14
  170. package/dist/esm/index.js +0 -19
  171. package/dist/esm/utf8.js +0 -137
  172. package/dist/esm/varint.js +0 -408
  173. package/dist/gitopia/bundle.d.ts +0 -6123
  174. package/dist/gitopia/bundle.js +0 -131
  175. package/dist/gitopia/client.d.ts +0 -492
  176. package/dist/gitopia/client.js +0 -70
  177. package/dist/gitopia/custom-lcd-client.d.ts +0 -31
  178. package/dist/gitopia/custom-lcd-client.js +0 -87
  179. package/dist/gitopia/gitopia/gitopia/attachment.d.ts +0 -39
  180. package/dist/gitopia/gitopia/gitopia/attachment.js +0 -104
  181. package/dist/gitopia/gitopia/gitopia/bounty.d.ts +0 -79
  182. package/dist/gitopia/gitopia/gitopia/bounty.js +0 -262
  183. package/dist/gitopia/gitopia/gitopia/branch.d.ts +0 -48
  184. package/dist/gitopia/gitopia/gitopia/branch.js +0 -140
  185. package/dist/gitopia/gitopia/gitopia/comment.d.ts +0 -125
  186. package/dist/gitopia/gitopia/gitopia/comment.js +0 -495
  187. package/dist/gitopia/gitopia/gitopia/dao.d.ts +0 -160
  188. package/dist/gitopia/gitopia/gitopia/dao.js +0 -454
  189. package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +0 -34
  190. package/dist/gitopia/gitopia/gitopia/exercised_amount.js +0 -81
  191. package/dist/gitopia/gitopia/gitopia/genesis.d.ts +0 -143
  192. package/dist/gitopia/gitopia/gitopia/genesis.js +0 -463
  193. package/dist/gitopia/gitopia/gitopia/issue.d.ts +0 -88
  194. package/dist/gitopia/gitopia/gitopia/issue.js +0 -328
  195. package/dist/gitopia/gitopia/gitopia/params.d.ts +0 -115
  196. package/dist/gitopia/gitopia/gitopia/params.js +0 -296
  197. package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +0 -177
  198. package/dist/gitopia/gitopia/gitopia/pullRequest.js +0 -570
  199. package/dist/gitopia/gitopia/gitopia/query.d.ts +0 -3130
  200. package/dist/gitopia/gitopia/gitopia/query.js +0 -7355
  201. package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +0 -54
  202. package/dist/gitopia/gitopia/gitopia/query.lcd.js +0 -456
  203. package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +0 -188
  204. package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -458
  205. package/dist/gitopia/gitopia/gitopia/reaction.d.ts +0 -42
  206. package/dist/gitopia/gitopia/gitopia/reaction.js +0 -128
  207. package/dist/gitopia/gitopia/gitopia/release.d.ts +0 -70
  208. package/dist/gitopia/gitopia/gitopia/release.js +0 -228
  209. package/dist/gitopia/gitopia/gitopia/repository.d.ts +0 -424
  210. package/dist/gitopia/gitopia/gitopia/repository.js +0 -1207
  211. package/dist/gitopia/gitopia/gitopia/tag.d.ts +0 -45
  212. package/dist/gitopia/gitopia/gitopia/tag.js +0 -128
  213. package/dist/gitopia/gitopia/gitopia/task.d.ts +0 -64
  214. package/dist/gitopia/gitopia/gitopia/task.js +0 -204
  215. package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +0 -463
  216. package/dist/gitopia/gitopia/gitopia/tx.amino.js +0 -467
  217. package/dist/gitopia/gitopia/gitopia/tx.d.ts +0 -6246
  218. package/dist/gitopia/gitopia/gitopia/tx.js +0 -14687
  219. package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +0 -1116
  220. package/dist/gitopia/gitopia/gitopia/tx.registry.js +0 -1675
  221. package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +0 -200
  222. package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -564
  223. package/dist/gitopia/gitopia/gitopia/user.d.ts +0 -104
  224. package/dist/gitopia/gitopia/gitopia/user.js +0 -343
  225. package/dist/gitopia/gitopia/gitopia/whois.d.ts +0 -51
  226. package/dist/gitopia/gitopia/gitopia/whois.js +0 -151
  227. package/dist/gitopia/gitopia/offchain/offchain.d.ts +0 -74
  228. package/dist/gitopia/gitopia/offchain/offchain.js +0 -147
  229. package/dist/gitopia/gitopia/rewards/genesis.d.ts +0 -40
  230. package/dist/gitopia/gitopia/rewards/genesis.js +0 -85
  231. package/dist/gitopia/gitopia/rewards/params.d.ts +0 -37
  232. package/dist/gitopia/gitopia/rewards/params.js +0 -84
  233. package/dist/gitopia/gitopia/rewards/pool.d.ts +0 -59
  234. package/dist/gitopia/gitopia/rewards/pool.js +0 -196
  235. package/dist/gitopia/gitopia/rewards/query.d.ts +0 -294
  236. package/dist/gitopia/gitopia/rewards/query.js +0 -657
  237. package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +0 -12
  238. package/dist/gitopia/gitopia/rewards/query.lcd.js +0 -44
  239. package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +0 -28
  240. package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +0 -58
  241. package/dist/gitopia/gitopia/rewards/rewards.d.ts +0 -79
  242. package/dist/gitopia/gitopia/rewards/rewards.js +0 -194
  243. package/dist/gitopia/gitopia/rewards/task.d.ts +0 -54
  244. package/dist/gitopia/gitopia/rewards/task.js +0 -181
  245. package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +0 -18
  246. package/dist/gitopia/gitopia/rewards/tx.amino.js +0 -22
  247. package/dist/gitopia/gitopia/rewards/tx.d.ts +0 -242
  248. package/dist/gitopia/gitopia/rewards/tx.js +0 -528
  249. package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +0 -48
  250. package/dist/gitopia/gitopia/rewards/tx.registry.js +0 -73
  251. package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +0 -19
  252. package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -30
  253. package/dist/gitopia/rpc.query.d.ts +0 -117
  254. package/dist/gitopia/rpc.query.js +0 -66
  255. package/dist/gitopia/rpc.tx.d.ts +0 -16
  256. package/dist/gitopia/rpc.tx.js +0 -50
  257. package/dist/gogoproto/bundle.d.ts +0 -1
  258. package/dist/gogoproto/bundle.js +0 -41
  259. package/dist/gogoproto/gogo.d.ts +0 -1
  260. package/dist/gogoproto/gogo.js +0 -2
  261. package/dist/google/api/annotations.d.ts +0 -1
  262. package/dist/google/api/annotations.js +0 -2
  263. package/dist/google/api/http.d.ts +0 -1049
  264. package/dist/google/api/http.js +0 -332
  265. package/dist/google/bundle.d.ts +0 -525
  266. package/dist/google/bundle.js +0 -50
  267. package/dist/google/protobuf/any.d.ts +0 -358
  268. package/dist/google/protobuf/any.js +0 -77
  269. package/dist/google/protobuf/descriptor.d.ts +0 -3178
  270. package/dist/google/protobuf/descriptor.js +0 -4886
  271. package/dist/google/protobuf/duration.d.ts +0 -223
  272. package/dist/google/protobuf/duration.js +0 -74
  273. package/dist/google/protobuf/timestamp.d.ts +0 -314
  274. package/dist/google/protobuf/timestamp.js +0 -71
  275. package/dist/helpers.d.ts +0 -82
  276. package/dist/helpers.js +0 -144
  277. package/dist/ibc/applications/transfer/v1/query.d.ts +0 -479
  278. package/dist/ibc/applications/transfer/v1/query.js +0 -850
  279. package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +0 -14
  280. package/dist/ibc/applications/transfer/v1/query.lcd.js +0 -74
  281. package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +0 -36
  282. package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +0 -76
  283. package/dist/ibc/applications/transfer/v1/transfer.d.ts +0 -123
  284. package/dist/ibc/applications/transfer/v1/transfer.js +0 -167
  285. package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +0 -8
  286. package/dist/ibc/applications/transfer/v1/tx.amino.js +0 -12
  287. package/dist/ibc/applications/transfer/v1/tx.d.ts +0 -132
  288. package/dist/ibc/applications/transfer/v1/tx.js +0 -229
  289. package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +0 -24
  290. package/dist/ibc/applications/transfer/v1/tx.registry.js +0 -37
  291. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +0 -12
  292. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -18
  293. package/dist/ibc/bundle.d.ts +0 -450
  294. package/dist/ibc/bundle.js +0 -80
  295. package/dist/ibc/client.d.ts +0 -22
  296. package/dist/ibc/client.js +0 -67
  297. package/dist/ibc/core/client/v1/client.d.ts +0 -408
  298. package/dist/ibc/core/client/v1/client.js +0 -614
  299. package/dist/ibc/rpc.query.d.ts +0 -73
  300. package/dist/ibc/rpc.query.js +0 -67
  301. package/dist/ibc/rpc.tx.d.ts +0 -17
  302. package/dist/ibc/rpc.tx.js +0 -51
  303. package/dist/index.d.ts +0 -18
  304. package/dist/index.js +0 -35
  305. package/dist/package.json +0 -46
  306. package/dist/utf8.d.ts +0 -27
  307. package/dist/utf8.js +0 -141
  308. package/dist/varint.d.ts +0 -105
  309. package/dist/varint.js +0 -426
@@ -1,3178 +0,0 @@
1
- import { BinaryReader, BinaryWriter } from "../../binary";
2
- /** The full set of known editions. */
3
- export declare enum Edition {
4
- /** EDITION_UNKNOWN - A placeholder for an unknown edition value. */
5
- EDITION_UNKNOWN = 0,
6
- /**
7
- * EDITION_LEGACY - A placeholder edition for specifying default behaviors *before* a feature
8
- * was first introduced. This is effectively an "infinite past".
9
- */
10
- EDITION_LEGACY = 900,
11
- /**
12
- * EDITION_PROTO2 - Legacy syntax "editions". These pre-date editions, but behave much like
13
- * distinct editions. These can't be used to specify the edition of proto
14
- * files, but feature definitions must supply proto2/proto3 defaults for
15
- * backwards compatibility.
16
- */
17
- EDITION_PROTO2 = 998,
18
- EDITION_PROTO3 = 999,
19
- /**
20
- * EDITION_2023 - Editions that have been released. The specific values are arbitrary and
21
- * should not be depended on, but they will always be time-ordered for easy
22
- * comparison.
23
- */
24
- EDITION_2023 = 1000,
25
- EDITION_2024 = 1001,
26
- /**
27
- * EDITION_1_TEST_ONLY - Placeholder editions for testing feature resolution. These should not be
28
- * used or relied on outside of tests.
29
- */
30
- EDITION_1_TEST_ONLY = 1,
31
- EDITION_2_TEST_ONLY = 2,
32
- EDITION_99997_TEST_ONLY = 99997,
33
- EDITION_99998_TEST_ONLY = 99998,
34
- EDITION_99999_TEST_ONLY = 99999,
35
- /**
36
- * EDITION_MAX - Placeholder for specifying unbounded edition support. This should only
37
- * ever be used by plugins that can expect to never require any changes to
38
- * support a new edition.
39
- */
40
- EDITION_MAX = 2147483647,
41
- UNRECOGNIZED = -1
42
- }
43
- export declare const EditionSDKType: typeof Edition;
44
- export declare const EditionAmino: typeof Edition;
45
- export declare function editionFromJSON(object: any): Edition;
46
- export declare function editionToJSON(object: Edition): string;
47
- /** The verification state of the extension range. */
48
- export declare enum ExtensionRangeOptions_VerificationState {
49
- /** DECLARATION - All the extensions of the range must be declared. */
50
- DECLARATION = 0,
51
- UNVERIFIED = 1,
52
- UNRECOGNIZED = -1
53
- }
54
- export declare const ExtensionRangeOptions_VerificationStateSDKType: typeof ExtensionRangeOptions_VerificationState;
55
- export declare const ExtensionRangeOptions_VerificationStateAmino: typeof ExtensionRangeOptions_VerificationState;
56
- export declare function extensionRangeOptions_VerificationStateFromJSON(object: any): ExtensionRangeOptions_VerificationState;
57
- export declare function extensionRangeOptions_VerificationStateToJSON(object: ExtensionRangeOptions_VerificationState): string;
58
- export declare enum FieldDescriptorProto_Type {
59
- /**
60
- * TYPE_DOUBLE - 0 is reserved for errors.
61
- * Order is weird for historical reasons.
62
- */
63
- TYPE_DOUBLE = 1,
64
- TYPE_FLOAT = 2,
65
- /**
66
- * TYPE_INT64 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
67
- * negative values are likely.
68
- */
69
- TYPE_INT64 = 3,
70
- TYPE_UINT64 = 4,
71
- /**
72
- * TYPE_INT32 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
73
- * negative values are likely.
74
- */
75
- TYPE_INT32 = 5,
76
- TYPE_FIXED64 = 6,
77
- TYPE_FIXED32 = 7,
78
- TYPE_BOOL = 8,
79
- TYPE_STRING = 9,
80
- /**
81
- * TYPE_GROUP - Tag-delimited aggregate.
82
- * Group type is deprecated and not supported after google.protobuf. However, Proto3
83
- * implementations should still be able to parse the group wire format and
84
- * treat group fields as unknown fields. In Editions, the group wire format
85
- * can be enabled via the `message_encoding` feature.
86
- */
87
- TYPE_GROUP = 10,
88
- /** TYPE_MESSAGE - Length-delimited aggregate. */
89
- TYPE_MESSAGE = 11,
90
- /** TYPE_BYTES - New in version 2. */
91
- TYPE_BYTES = 12,
92
- TYPE_UINT32 = 13,
93
- TYPE_ENUM = 14,
94
- TYPE_SFIXED32 = 15,
95
- TYPE_SFIXED64 = 16,
96
- /** TYPE_SINT32 - Uses ZigZag encoding. */
97
- TYPE_SINT32 = 17,
98
- /** TYPE_SINT64 - Uses ZigZag encoding. */
99
- TYPE_SINT64 = 18,
100
- UNRECOGNIZED = -1
101
- }
102
- export declare const FieldDescriptorProto_TypeSDKType: typeof FieldDescriptorProto_Type;
103
- export declare const FieldDescriptorProto_TypeAmino: typeof FieldDescriptorProto_Type;
104
- export declare function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type;
105
- export declare function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string;
106
- export declare enum FieldDescriptorProto_Label {
107
- /** LABEL_OPTIONAL - 0 is reserved for errors */
108
- LABEL_OPTIONAL = 1,
109
- LABEL_REPEATED = 3,
110
- /**
111
- * LABEL_REQUIRED - The required label is only allowed in google.protobuf. In proto3 and Editions
112
- * it's explicitly prohibited. In Editions, the `field_presence` feature
113
- * can be used to get this behavior.
114
- */
115
- LABEL_REQUIRED = 2,
116
- UNRECOGNIZED = -1
117
- }
118
- export declare const FieldDescriptorProto_LabelSDKType: typeof FieldDescriptorProto_Label;
119
- export declare const FieldDescriptorProto_LabelAmino: typeof FieldDescriptorProto_Label;
120
- export declare function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label;
121
- export declare function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string;
122
- /** Generated classes can be optimized for speed or code size. */
123
- export declare enum FileOptions_OptimizeMode {
124
- /** SPEED - Generate complete code for parsing, serialization, */
125
- SPEED = 1,
126
- /** CODE_SIZE - etc. */
127
- CODE_SIZE = 2,
128
- /** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */
129
- LITE_RUNTIME = 3,
130
- UNRECOGNIZED = -1
131
- }
132
- export declare const FileOptions_OptimizeModeSDKType: typeof FileOptions_OptimizeMode;
133
- export declare const FileOptions_OptimizeModeAmino: typeof FileOptions_OptimizeMode;
134
- export declare function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode;
135
- export declare function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string;
136
- export declare enum FieldOptions_CType {
137
- /** STRING - Default mode. */
138
- STRING = 0,
139
- /**
140
- * CORD - The option [ctype=CORD] may be applied to a non-repeated field of type
141
- * "bytes". It indicates that in C++, the data should be stored in a Cord
142
- * instead of a string. For very large strings, this may reduce memory
143
- * fragmentation. It may also allow better performance when parsing from a
144
- * Cord, or when parsing with aliasing enabled, as the parsed Cord may then
145
- * alias the original buffer.
146
- */
147
- CORD = 1,
148
- STRING_PIECE = 2,
149
- UNRECOGNIZED = -1
150
- }
151
- export declare const FieldOptions_CTypeSDKType: typeof FieldOptions_CType;
152
- export declare const FieldOptions_CTypeAmino: typeof FieldOptions_CType;
153
- export declare function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType;
154
- export declare function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string;
155
- export declare enum FieldOptions_JSType {
156
- /** JS_NORMAL - Use the default type. */
157
- JS_NORMAL = 0,
158
- /** JS_STRING - Use JavaScript strings. */
159
- JS_STRING = 1,
160
- /** JS_NUMBER - Use JavaScript numbers. */
161
- JS_NUMBER = 2,
162
- UNRECOGNIZED = -1
163
- }
164
- export declare const FieldOptions_JSTypeSDKType: typeof FieldOptions_JSType;
165
- export declare const FieldOptions_JSTypeAmino: typeof FieldOptions_JSType;
166
- export declare function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType;
167
- export declare function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string;
168
- /** If set to RETENTION_SOURCE, the option will be omitted from the binary. */
169
- export declare enum FieldOptions_OptionRetention {
170
- RETENTION_UNKNOWN = 0,
171
- RETENTION_RUNTIME = 1,
172
- RETENTION_SOURCE = 2,
173
- UNRECOGNIZED = -1
174
- }
175
- export declare const FieldOptions_OptionRetentionSDKType: typeof FieldOptions_OptionRetention;
176
- export declare const FieldOptions_OptionRetentionAmino: typeof FieldOptions_OptionRetention;
177
- export declare function fieldOptions_OptionRetentionFromJSON(object: any): FieldOptions_OptionRetention;
178
- export declare function fieldOptions_OptionRetentionToJSON(object: FieldOptions_OptionRetention): string;
179
- /**
180
- * This indicates the types of entities that the field may apply to when used
181
- * as an option. If it is unset, then the field may be freely used as an
182
- * option on any kind of entity.
183
- */
184
- export declare enum FieldOptions_OptionTargetType {
185
- TARGET_TYPE_UNKNOWN = 0,
186
- TARGET_TYPE_FILE = 1,
187
- TARGET_TYPE_EXTENSION_RANGE = 2,
188
- TARGET_TYPE_MESSAGE = 3,
189
- TARGET_TYPE_FIELD = 4,
190
- TARGET_TYPE_ONEOF = 5,
191
- TARGET_TYPE_ENUM = 6,
192
- TARGET_TYPE_ENUM_ENTRY = 7,
193
- TARGET_TYPE_SERVICE = 8,
194
- TARGET_TYPE_METHOD = 9,
195
- UNRECOGNIZED = -1
196
- }
197
- export declare const FieldOptions_OptionTargetTypeSDKType: typeof FieldOptions_OptionTargetType;
198
- export declare const FieldOptions_OptionTargetTypeAmino: typeof FieldOptions_OptionTargetType;
199
- export declare function fieldOptions_OptionTargetTypeFromJSON(object: any): FieldOptions_OptionTargetType;
200
- export declare function fieldOptions_OptionTargetTypeToJSON(object: FieldOptions_OptionTargetType): string;
201
- /**
202
- * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
203
- * or neither? HTTP based RPC implementation may choose GET verb for safe
204
- * methods, and PUT verb for idempotent methods instead of the default POST.
205
- */
206
- export declare enum MethodOptions_IdempotencyLevel {
207
- IDEMPOTENCY_UNKNOWN = 0,
208
- /** NO_SIDE_EFFECTS - implies idempotent */
209
- NO_SIDE_EFFECTS = 1,
210
- /** IDEMPOTENT - idempotent, but may have side effects */
211
- IDEMPOTENT = 2,
212
- UNRECOGNIZED = -1
213
- }
214
- export declare const MethodOptions_IdempotencyLevelSDKType: typeof MethodOptions_IdempotencyLevel;
215
- export declare const MethodOptions_IdempotencyLevelAmino: typeof MethodOptions_IdempotencyLevel;
216
- export declare function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel;
217
- export declare function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string;
218
- export declare enum FeatureSet_FieldPresence {
219
- FIELD_PRESENCE_UNKNOWN = 0,
220
- EXPLICIT = 1,
221
- IMPLICIT = 2,
222
- LEGACY_REQUIRED = 3,
223
- UNRECOGNIZED = -1
224
- }
225
- export declare const FeatureSet_FieldPresenceSDKType: typeof FeatureSet_FieldPresence;
226
- export declare const FeatureSet_FieldPresenceAmino: typeof FeatureSet_FieldPresence;
227
- export declare function featureSet_FieldPresenceFromJSON(object: any): FeatureSet_FieldPresence;
228
- export declare function featureSet_FieldPresenceToJSON(object: FeatureSet_FieldPresence): string;
229
- export declare enum FeatureSet_EnumType {
230
- ENUM_TYPE_UNKNOWN = 0,
231
- OPEN = 1,
232
- CLOSED = 2,
233
- UNRECOGNIZED = -1
234
- }
235
- export declare const FeatureSet_EnumTypeSDKType: typeof FeatureSet_EnumType;
236
- export declare const FeatureSet_EnumTypeAmino: typeof FeatureSet_EnumType;
237
- export declare function featureSet_EnumTypeFromJSON(object: any): FeatureSet_EnumType;
238
- export declare function featureSet_EnumTypeToJSON(object: FeatureSet_EnumType): string;
239
- export declare enum FeatureSet_RepeatedFieldEncoding {
240
- REPEATED_FIELD_ENCODING_UNKNOWN = 0,
241
- PACKED = 1,
242
- EXPANDED = 2,
243
- UNRECOGNIZED = -1
244
- }
245
- export declare const FeatureSet_RepeatedFieldEncodingSDKType: typeof FeatureSet_RepeatedFieldEncoding;
246
- export declare const FeatureSet_RepeatedFieldEncodingAmino: typeof FeatureSet_RepeatedFieldEncoding;
247
- export declare function featureSet_RepeatedFieldEncodingFromJSON(object: any): FeatureSet_RepeatedFieldEncoding;
248
- export declare function featureSet_RepeatedFieldEncodingToJSON(object: FeatureSet_RepeatedFieldEncoding): string;
249
- export declare enum FeatureSet_Utf8Validation {
250
- UTF8_VALIDATION_UNKNOWN = 0,
251
- VERIFY = 2,
252
- NONE = 3,
253
- UNRECOGNIZED = -1
254
- }
255
- export declare const FeatureSet_Utf8ValidationSDKType: typeof FeatureSet_Utf8Validation;
256
- export declare const FeatureSet_Utf8ValidationAmino: typeof FeatureSet_Utf8Validation;
257
- export declare function featureSet_Utf8ValidationFromJSON(object: any): FeatureSet_Utf8Validation;
258
- export declare function featureSet_Utf8ValidationToJSON(object: FeatureSet_Utf8Validation): string;
259
- export declare enum FeatureSet_MessageEncoding {
260
- MESSAGE_ENCODING_UNKNOWN = 0,
261
- LENGTH_PREFIXED = 1,
262
- DELIMITED = 2,
263
- UNRECOGNIZED = -1
264
- }
265
- export declare const FeatureSet_MessageEncodingSDKType: typeof FeatureSet_MessageEncoding;
266
- export declare const FeatureSet_MessageEncodingAmino: typeof FeatureSet_MessageEncoding;
267
- export declare function featureSet_MessageEncodingFromJSON(object: any): FeatureSet_MessageEncoding;
268
- export declare function featureSet_MessageEncodingToJSON(object: FeatureSet_MessageEncoding): string;
269
- export declare enum FeatureSet_JsonFormat {
270
- JSON_FORMAT_UNKNOWN = 0,
271
- ALLOW = 1,
272
- LEGACY_BEST_EFFORT = 2,
273
- UNRECOGNIZED = -1
274
- }
275
- export declare const FeatureSet_JsonFormatSDKType: typeof FeatureSet_JsonFormat;
276
- export declare const FeatureSet_JsonFormatAmino: typeof FeatureSet_JsonFormat;
277
- export declare function featureSet_JsonFormatFromJSON(object: any): FeatureSet_JsonFormat;
278
- export declare function featureSet_JsonFormatToJSON(object: FeatureSet_JsonFormat): string;
279
- /**
280
- * Represents the identified object's effect on the element in the original
281
- * .proto file.
282
- */
283
- export declare enum GeneratedCodeInfo_Annotation_Semantic {
284
- /** NONE - There is no effect or the effect is indescribable. */
285
- NONE = 0,
286
- /** SET - The element is set or otherwise mutated. */
287
- SET = 1,
288
- /** ALIAS - An alias to the element is returned. */
289
- ALIAS = 2,
290
- UNRECOGNIZED = -1
291
- }
292
- export declare const GeneratedCodeInfo_Annotation_SemanticSDKType: typeof GeneratedCodeInfo_Annotation_Semantic;
293
- export declare const GeneratedCodeInfo_Annotation_SemanticAmino: typeof GeneratedCodeInfo_Annotation_Semantic;
294
- export declare function generatedCodeInfo_Annotation_SemanticFromJSON(object: any): GeneratedCodeInfo_Annotation_Semantic;
295
- export declare function generatedCodeInfo_Annotation_SemanticToJSON(object: GeneratedCodeInfo_Annotation_Semantic): string;
296
- /**
297
- * The protocol compiler can output a FileDescriptorSet containing the .proto
298
- * files it parses.
299
- */
300
- export interface FileDescriptorSet {
301
- file: FileDescriptorProto[];
302
- }
303
- export interface FileDescriptorSetProtoMsg {
304
- typeUrl: "/google.protobuf.FileDescriptorSet";
305
- value: Uint8Array;
306
- }
307
- /**
308
- * The protocol compiler can output a FileDescriptorSet containing the .proto
309
- * files it parses.
310
- */
311
- export interface FileDescriptorSetAmino {
312
- file?: FileDescriptorProtoAmino[];
313
- }
314
- export interface FileDescriptorSetAminoMsg {
315
- type: "/google.protobuf.FileDescriptorSet";
316
- value: FileDescriptorSetAmino;
317
- }
318
- /**
319
- * The protocol compiler can output a FileDescriptorSet containing the .proto
320
- * files it parses.
321
- */
322
- export interface FileDescriptorSetSDKType {
323
- file: FileDescriptorProtoSDKType[];
324
- }
325
- /** Describes a complete .proto file. */
326
- export interface FileDescriptorProto {
327
- /** file name, relative to root of source tree */
328
- name: string;
329
- /** e.g. "foo", "foo.bar", etc. */
330
- package: string;
331
- /** Names of files imported by this file. */
332
- dependency: string[];
333
- /** Indexes of the public imported files in the dependency list above. */
334
- publicDependency: number[];
335
- /**
336
- * Indexes of the weak imported files in the dependency list.
337
- * For Google-internal migration only. Do not use.
338
- */
339
- weakDependency: number[];
340
- /** All top-level definitions in this file. */
341
- messageType: DescriptorProto[];
342
- enumType: EnumDescriptorProto[];
343
- service: ServiceDescriptorProto[];
344
- extension: FieldDescriptorProto[];
345
- options?: FileOptions;
346
- /**
347
- * This field contains optional information about the original source code.
348
- * You may safely remove this entire field without harming runtime
349
- * functionality of the descriptors -- the information is needed only by
350
- * development tools.
351
- */
352
- sourceCodeInfo?: SourceCodeInfo;
353
- /**
354
- * The syntax of the proto file.
355
- * The supported values are "proto2", "proto3", and "editions".
356
- *
357
- * If `edition` is present, this value must be "editions".
358
- * WARNING: This field should only be used by protobuf plugins or special
359
- * cases like the proto compiler. Other uses are discouraged and
360
- * developers should rely on the protoreflect APIs for their client language.
361
- */
362
- syntax: string;
363
- /**
364
- * The edition of the proto file.
365
- * WARNING: This field should only be used by protobuf plugins or special
366
- * cases like the proto compiler. Other uses are discouraged and
367
- * developers should rely on the protoreflect APIs for their client language.
368
- */
369
- edition: Edition;
370
- }
371
- export interface FileDescriptorProtoProtoMsg {
372
- typeUrl: "/google.protobuf.FileDescriptorProto";
373
- value: Uint8Array;
374
- }
375
- /** Describes a complete .proto file. */
376
- export interface FileDescriptorProtoAmino {
377
- /** file name, relative to root of source tree */
378
- name?: string;
379
- /** e.g. "foo", "foo.bar", etc. */
380
- package?: string;
381
- /** Names of files imported by this file. */
382
- dependency?: string[];
383
- /** Indexes of the public imported files in the dependency list above. */
384
- public_dependency?: number[];
385
- /**
386
- * Indexes of the weak imported files in the dependency list.
387
- * For Google-internal migration only. Do not use.
388
- */
389
- weak_dependency?: number[];
390
- /** All top-level definitions in this file. */
391
- message_type?: DescriptorProtoAmino[];
392
- enum_type?: EnumDescriptorProtoAmino[];
393
- service?: ServiceDescriptorProtoAmino[];
394
- extension?: FieldDescriptorProtoAmino[];
395
- options?: FileOptionsAmino;
396
- /**
397
- * This field contains optional information about the original source code.
398
- * You may safely remove this entire field without harming runtime
399
- * functionality of the descriptors -- the information is needed only by
400
- * development tools.
401
- */
402
- source_code_info?: SourceCodeInfoAmino;
403
- /**
404
- * The syntax of the proto file.
405
- * The supported values are "proto2", "proto3", and "editions".
406
- *
407
- * If `edition` is present, this value must be "editions".
408
- * WARNING: This field should only be used by protobuf plugins or special
409
- * cases like the proto compiler. Other uses are discouraged and
410
- * developers should rely on the protoreflect APIs for their client language.
411
- */
412
- syntax?: string;
413
- /**
414
- * The edition of the proto file.
415
- * WARNING: This field should only be used by protobuf plugins or special
416
- * cases like the proto compiler. Other uses are discouraged and
417
- * developers should rely on the protoreflect APIs for their client language.
418
- */
419
- edition?: Edition;
420
- }
421
- export interface FileDescriptorProtoAminoMsg {
422
- type: "/google.protobuf.FileDescriptorProto";
423
- value: FileDescriptorProtoAmino;
424
- }
425
- /** Describes a complete .proto file. */
426
- export interface FileDescriptorProtoSDKType {
427
- name: string;
428
- package: string;
429
- dependency: string[];
430
- public_dependency: number[];
431
- weak_dependency: number[];
432
- message_type: DescriptorProtoSDKType[];
433
- enum_type: EnumDescriptorProtoSDKType[];
434
- service: ServiceDescriptorProtoSDKType[];
435
- extension: FieldDescriptorProtoSDKType[];
436
- options?: FileOptionsSDKType;
437
- source_code_info?: SourceCodeInfoSDKType;
438
- syntax: string;
439
- edition: Edition;
440
- }
441
- /** Describes a message type. */
442
- export interface DescriptorProto {
443
- name: string;
444
- field: FieldDescriptorProto[];
445
- extension: FieldDescriptorProto[];
446
- nestedType: DescriptorProto[];
447
- enumType: EnumDescriptorProto[];
448
- extensionRange: DescriptorProto_ExtensionRange[];
449
- oneofDecl: OneofDescriptorProto[];
450
- options?: MessageOptions;
451
- reservedRange: DescriptorProto_ReservedRange[];
452
- /**
453
- * Reserved field names, which may not be used by fields in the same message.
454
- * A given name may only be reserved once.
455
- */
456
- reservedName: string[];
457
- }
458
- export interface DescriptorProtoProtoMsg {
459
- typeUrl: "/google.protobuf.DescriptorProto";
460
- value: Uint8Array;
461
- }
462
- /** Describes a message type. */
463
- export interface DescriptorProtoAmino {
464
- name?: string;
465
- field?: FieldDescriptorProtoAmino[];
466
- extension?: FieldDescriptorProtoAmino[];
467
- nested_type?: DescriptorProtoAmino[];
468
- enum_type?: EnumDescriptorProtoAmino[];
469
- extension_range?: DescriptorProto_ExtensionRangeAmino[];
470
- oneof_decl?: OneofDescriptorProtoAmino[];
471
- options?: MessageOptionsAmino;
472
- reserved_range?: DescriptorProto_ReservedRangeAmino[];
473
- /**
474
- * Reserved field names, which may not be used by fields in the same message.
475
- * A given name may only be reserved once.
476
- */
477
- reserved_name?: string[];
478
- }
479
- export interface DescriptorProtoAminoMsg {
480
- type: "/google.protobuf.DescriptorProto";
481
- value: DescriptorProtoAmino;
482
- }
483
- /** Describes a message type. */
484
- export interface DescriptorProtoSDKType {
485
- name: string;
486
- field: FieldDescriptorProtoSDKType[];
487
- extension: FieldDescriptorProtoSDKType[];
488
- nested_type: DescriptorProtoSDKType[];
489
- enum_type: EnumDescriptorProtoSDKType[];
490
- extension_range: DescriptorProto_ExtensionRangeSDKType[];
491
- oneof_decl: OneofDescriptorProtoSDKType[];
492
- options?: MessageOptionsSDKType;
493
- reserved_range: DescriptorProto_ReservedRangeSDKType[];
494
- reserved_name: string[];
495
- }
496
- export interface DescriptorProto_ExtensionRange {
497
- /** Inclusive. */
498
- start: number;
499
- /** Exclusive. */
500
- end: number;
501
- options?: ExtensionRangeOptions;
502
- }
503
- export interface DescriptorProto_ExtensionRangeProtoMsg {
504
- typeUrl: "/google.protobuf.ExtensionRange";
505
- value: Uint8Array;
506
- }
507
- export interface DescriptorProto_ExtensionRangeAmino {
508
- /** Inclusive. */
509
- start?: number;
510
- /** Exclusive. */
511
- end?: number;
512
- options?: ExtensionRangeOptionsAmino;
513
- }
514
- export interface DescriptorProto_ExtensionRangeAminoMsg {
515
- type: "/google.protobuf.ExtensionRange";
516
- value: DescriptorProto_ExtensionRangeAmino;
517
- }
518
- export interface DescriptorProto_ExtensionRangeSDKType {
519
- start: number;
520
- end: number;
521
- options?: ExtensionRangeOptionsSDKType;
522
- }
523
- /**
524
- * Range of reserved tag numbers. Reserved tag numbers may not be used by
525
- * fields or extension ranges in the same message. Reserved ranges may
526
- * not overlap.
527
- */
528
- export interface DescriptorProto_ReservedRange {
529
- /** Inclusive. */
530
- start: number;
531
- /** Exclusive. */
532
- end: number;
533
- }
534
- export interface DescriptorProto_ReservedRangeProtoMsg {
535
- typeUrl: "/google.protobuf.ReservedRange";
536
- value: Uint8Array;
537
- }
538
- /**
539
- * Range of reserved tag numbers. Reserved tag numbers may not be used by
540
- * fields or extension ranges in the same message. Reserved ranges may
541
- * not overlap.
542
- */
543
- export interface DescriptorProto_ReservedRangeAmino {
544
- /** Inclusive. */
545
- start?: number;
546
- /** Exclusive. */
547
- end?: number;
548
- }
549
- export interface DescriptorProto_ReservedRangeAminoMsg {
550
- type: "/google.protobuf.ReservedRange";
551
- value: DescriptorProto_ReservedRangeAmino;
552
- }
553
- /**
554
- * Range of reserved tag numbers. Reserved tag numbers may not be used by
555
- * fields or extension ranges in the same message. Reserved ranges may
556
- * not overlap.
557
- */
558
- export interface DescriptorProto_ReservedRangeSDKType {
559
- start: number;
560
- end: number;
561
- }
562
- export interface ExtensionRangeOptions {
563
- /** The parser stores options it doesn't recognize here. See above. */
564
- uninterpretedOption: UninterpretedOption[];
565
- /**
566
- * For external users: DO NOT USE. We are in the process of open sourcing
567
- * extension declaration and executing internal cleanups before it can be
568
- * used externally.
569
- */
570
- declaration: ExtensionRangeOptions_Declaration[];
571
- /** Any features defined in the specific edition. */
572
- features?: FeatureSet;
573
- /**
574
- * The verification state of the range.
575
- * TODO: flip the default to DECLARATION once all empty ranges
576
- * are marked as UNVERIFIED.
577
- */
578
- verification: ExtensionRangeOptions_VerificationState;
579
- }
580
- export interface ExtensionRangeOptionsProtoMsg {
581
- typeUrl: "/google.protobuf.ExtensionRangeOptions";
582
- value: Uint8Array;
583
- }
584
- export interface ExtensionRangeOptionsAmino {
585
- /** The parser stores options it doesn't recognize here. See above. */
586
- uninterpreted_option?: UninterpretedOptionAmino[];
587
- /**
588
- * For external users: DO NOT USE. We are in the process of open sourcing
589
- * extension declaration and executing internal cleanups before it can be
590
- * used externally.
591
- */
592
- declaration?: ExtensionRangeOptions_DeclarationAmino[];
593
- /** Any features defined in the specific edition. */
594
- features?: FeatureSetAmino;
595
- /**
596
- * The verification state of the range.
597
- * TODO: flip the default to DECLARATION once all empty ranges
598
- * are marked as UNVERIFIED.
599
- */
600
- verification?: ExtensionRangeOptions_VerificationState;
601
- }
602
- export interface ExtensionRangeOptionsAminoMsg {
603
- type: "/google.protobuf.ExtensionRangeOptions";
604
- value: ExtensionRangeOptionsAmino;
605
- }
606
- export interface ExtensionRangeOptionsSDKType {
607
- uninterpreted_option: UninterpretedOptionSDKType[];
608
- declaration: ExtensionRangeOptions_DeclarationSDKType[];
609
- features?: FeatureSetSDKType;
610
- verification: ExtensionRangeOptions_VerificationState;
611
- }
612
- export interface ExtensionRangeOptions_Declaration {
613
- /** The extension number declared within the extension range. */
614
- number: number;
615
- /**
616
- * The fully-qualified name of the extension field. There must be a leading
617
- * dot in front of the full name.
618
- */
619
- fullName: string;
620
- /**
621
- * The fully-qualified type name of the extension field. Unlike
622
- * Metadata.type, Declaration.type must have a leading dot for messages
623
- * and enums.
624
- */
625
- type: string;
626
- /**
627
- * If true, indicates that the number is reserved in the extension range,
628
- * and any extension field with the number will fail to compile. Set this
629
- * when a declared extension field is deleted.
630
- */
631
- reserved: boolean;
632
- /**
633
- * If true, indicates that the extension must be defined as repeated.
634
- * Otherwise the extension must be defined as optional.
635
- */
636
- repeated: boolean;
637
- }
638
- export interface ExtensionRangeOptions_DeclarationProtoMsg {
639
- typeUrl: "/google.protobuf.Declaration";
640
- value: Uint8Array;
641
- }
642
- export interface ExtensionRangeOptions_DeclarationAmino {
643
- /** The extension number declared within the extension range. */
644
- number?: number;
645
- /**
646
- * The fully-qualified name of the extension field. There must be a leading
647
- * dot in front of the full name.
648
- */
649
- full_name?: string;
650
- /**
651
- * The fully-qualified type name of the extension field. Unlike
652
- * Metadata.type, Declaration.type must have a leading dot for messages
653
- * and enums.
654
- */
655
- type?: string;
656
- /**
657
- * If true, indicates that the number is reserved in the extension range,
658
- * and any extension field with the number will fail to compile. Set this
659
- * when a declared extension field is deleted.
660
- */
661
- reserved?: boolean;
662
- /**
663
- * If true, indicates that the extension must be defined as repeated.
664
- * Otherwise the extension must be defined as optional.
665
- */
666
- repeated?: boolean;
667
- }
668
- export interface ExtensionRangeOptions_DeclarationAminoMsg {
669
- type: "/google.protobuf.Declaration";
670
- value: ExtensionRangeOptions_DeclarationAmino;
671
- }
672
- export interface ExtensionRangeOptions_DeclarationSDKType {
673
- number: number;
674
- full_name: string;
675
- type: string;
676
- reserved: boolean;
677
- repeated: boolean;
678
- }
679
- /** Describes a field within a message. */
680
- export interface FieldDescriptorProto {
681
- name: string;
682
- number: number;
683
- label: FieldDescriptorProto_Label;
684
- /**
685
- * If type_name is set, this need not be set. If both this and type_name
686
- * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
687
- */
688
- type: FieldDescriptorProto_Type;
689
- /**
690
- * For message and enum types, this is the name of the type. If the name
691
- * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
692
- * rules are used to find the type (i.e. first the nested types within this
693
- * message are searched, then within the parent, on up to the root
694
- * namespace).
695
- */
696
- typeName: string;
697
- /**
698
- * For extensions, this is the name of the type being extended. It is
699
- * resolved in the same manner as type_name.
700
- */
701
- extendee: string;
702
- /**
703
- * For numeric types, contains the original text representation of the value.
704
- * For booleans, "true" or "false".
705
- * For strings, contains the default text contents (not escaped in any way).
706
- * For bytes, contains the C escaped value. All bytes >= 128 are escaped.
707
- */
708
- defaultValue: string;
709
- /**
710
- * If set, gives the index of a oneof in the containing type's oneof_decl
711
- * list. This field is a member of that oneof.
712
- */
713
- oneofIndex: number;
714
- /**
715
- * JSON name of this field. The value is set by protocol compiler. If the
716
- * user has set a "json_name" option on this field, that option's value
717
- * will be used. Otherwise, it's deduced from the field's name by converting
718
- * it to camelCase.
719
- */
720
- jsonName: string;
721
- options?: FieldOptions;
722
- /**
723
- * If true, this is a proto3 "optional". When a proto3 field is optional, it
724
- * tracks presence regardless of field type.
725
- *
726
- * When proto3_optional is true, this field must belong to a oneof to signal
727
- * to old proto3 clients that presence is tracked for this field. This oneof
728
- * is known as a "synthetic" oneof, and this field must be its sole member
729
- * (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs
730
- * exist in the descriptor only, and do not generate any API. Synthetic oneofs
731
- * must be ordered after all "real" oneofs.
732
- *
733
- * For message fields, proto3_optional doesn't create any semantic change,
734
- * since non-repeated message fields always track presence. However it still
735
- * indicates the semantic detail of whether the user wrote "optional" or not.
736
- * This can be useful for round-tripping the .proto file. For consistency we
737
- * give message fields a synthetic oneof also, even though it is not required
738
- * to track presence. This is especially important because the parser can't
739
- * tell if a field is a message or an enum, so it must always create a
740
- * synthetic oneof.
741
- *
742
- * Proto2 optional fields do not set this flag, because they already indicate
743
- * optional with `LABEL_OPTIONAL`.
744
- */
745
- proto3Optional: boolean;
746
- }
747
- export interface FieldDescriptorProtoProtoMsg {
748
- typeUrl: "/google.protobuf.FieldDescriptorProto";
749
- value: Uint8Array;
750
- }
751
- /** Describes a field within a message. */
752
- export interface FieldDescriptorProtoAmino {
753
- name?: string;
754
- number?: number;
755
- label?: FieldDescriptorProto_Label;
756
- /**
757
- * If type_name is set, this need not be set. If both this and type_name
758
- * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
759
- */
760
- type?: FieldDescriptorProto_Type;
761
- /**
762
- * For message and enum types, this is the name of the type. If the name
763
- * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
764
- * rules are used to find the type (i.e. first the nested types within this
765
- * message are searched, then within the parent, on up to the root
766
- * namespace).
767
- */
768
- type_name?: string;
769
- /**
770
- * For extensions, this is the name of the type being extended. It is
771
- * resolved in the same manner as type_name.
772
- */
773
- extendee?: string;
774
- /**
775
- * For numeric types, contains the original text representation of the value.
776
- * For booleans, "true" or "false".
777
- * For strings, contains the default text contents (not escaped in any way).
778
- * For bytes, contains the C escaped value. All bytes >= 128 are escaped.
779
- */
780
- default_value?: string;
781
- /**
782
- * If set, gives the index of a oneof in the containing type's oneof_decl
783
- * list. This field is a member of that oneof.
784
- */
785
- oneof_index?: number;
786
- /**
787
- * JSON name of this field. The value is set by protocol compiler. If the
788
- * user has set a "json_name" option on this field, that option's value
789
- * will be used. Otherwise, it's deduced from the field's name by converting
790
- * it to camelCase.
791
- */
792
- json_name?: string;
793
- options?: FieldOptionsAmino;
794
- /**
795
- * If true, this is a proto3 "optional". When a proto3 field is optional, it
796
- * tracks presence regardless of field type.
797
- *
798
- * When proto3_optional is true, this field must belong to a oneof to signal
799
- * to old proto3 clients that presence is tracked for this field. This oneof
800
- * is known as a "synthetic" oneof, and this field must be its sole member
801
- * (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs
802
- * exist in the descriptor only, and do not generate any API. Synthetic oneofs
803
- * must be ordered after all "real" oneofs.
804
- *
805
- * For message fields, proto3_optional doesn't create any semantic change,
806
- * since non-repeated message fields always track presence. However it still
807
- * indicates the semantic detail of whether the user wrote "optional" or not.
808
- * This can be useful for round-tripping the .proto file. For consistency we
809
- * give message fields a synthetic oneof also, even though it is not required
810
- * to track presence. This is especially important because the parser can't
811
- * tell if a field is a message or an enum, so it must always create a
812
- * synthetic oneof.
813
- *
814
- * Proto2 optional fields do not set this flag, because they already indicate
815
- * optional with `LABEL_OPTIONAL`.
816
- */
817
- proto3_optional?: boolean;
818
- }
819
- export interface FieldDescriptorProtoAminoMsg {
820
- type: "/google.protobuf.FieldDescriptorProto";
821
- value: FieldDescriptorProtoAmino;
822
- }
823
- /** Describes a field within a message. */
824
- export interface FieldDescriptorProtoSDKType {
825
- name: string;
826
- number: number;
827
- label: FieldDescriptorProto_Label;
828
- type: FieldDescriptorProto_Type;
829
- type_name: string;
830
- extendee: string;
831
- default_value: string;
832
- oneof_index: number;
833
- json_name: string;
834
- options?: FieldOptionsSDKType;
835
- proto3_optional: boolean;
836
- }
837
- /** Describes a oneof. */
838
- export interface OneofDescriptorProto {
839
- name: string;
840
- options?: OneofOptions;
841
- }
842
- export interface OneofDescriptorProtoProtoMsg {
843
- typeUrl: "/google.protobuf.OneofDescriptorProto";
844
- value: Uint8Array;
845
- }
846
- /** Describes a oneof. */
847
- export interface OneofDescriptorProtoAmino {
848
- name?: string;
849
- options?: OneofOptionsAmino;
850
- }
851
- export interface OneofDescriptorProtoAminoMsg {
852
- type: "/google.protobuf.OneofDescriptorProto";
853
- value: OneofDescriptorProtoAmino;
854
- }
855
- /** Describes a oneof. */
856
- export interface OneofDescriptorProtoSDKType {
857
- name: string;
858
- options?: OneofOptionsSDKType;
859
- }
860
- /** Describes an enum type. */
861
- export interface EnumDescriptorProto {
862
- name: string;
863
- value: EnumValueDescriptorProto[];
864
- options?: EnumOptions;
865
- /**
866
- * Range of reserved numeric values. Reserved numeric values may not be used
867
- * by enum values in the same enum declaration. Reserved ranges may not
868
- * overlap.
869
- */
870
- reservedRange: EnumDescriptorProto_EnumReservedRange[];
871
- /**
872
- * Reserved enum value names, which may not be reused. A given name may only
873
- * be reserved once.
874
- */
875
- reservedName: string[];
876
- }
877
- export interface EnumDescriptorProtoProtoMsg {
878
- typeUrl: "/google.protobuf.EnumDescriptorProto";
879
- value: Uint8Array;
880
- }
881
- /** Describes an enum type. */
882
- export interface EnumDescriptorProtoAmino {
883
- name?: string;
884
- value?: EnumValueDescriptorProtoAmino[];
885
- options?: EnumOptionsAmino;
886
- /**
887
- * Range of reserved numeric values. Reserved numeric values may not be used
888
- * by enum values in the same enum declaration. Reserved ranges may not
889
- * overlap.
890
- */
891
- reserved_range?: EnumDescriptorProto_EnumReservedRangeAmino[];
892
- /**
893
- * Reserved enum value names, which may not be reused. A given name may only
894
- * be reserved once.
895
- */
896
- reserved_name?: string[];
897
- }
898
- export interface EnumDescriptorProtoAminoMsg {
899
- type: "/google.protobuf.EnumDescriptorProto";
900
- value: EnumDescriptorProtoAmino;
901
- }
902
- /** Describes an enum type. */
903
- export interface EnumDescriptorProtoSDKType {
904
- name: string;
905
- value: EnumValueDescriptorProtoSDKType[];
906
- options?: EnumOptionsSDKType;
907
- reserved_range: EnumDescriptorProto_EnumReservedRangeSDKType[];
908
- reserved_name: string[];
909
- }
910
- /**
911
- * Range of reserved numeric values. Reserved values may not be used by
912
- * entries in the same enum. Reserved ranges may not overlap.
913
- *
914
- * Note that this is distinct from DescriptorProto.ReservedRange in that it
915
- * is inclusive such that it can appropriately represent the entire int32
916
- * domain.
917
- */
918
- export interface EnumDescriptorProto_EnumReservedRange {
919
- /** Inclusive. */
920
- start: number;
921
- /** Inclusive. */
922
- end: number;
923
- }
924
- export interface EnumDescriptorProto_EnumReservedRangeProtoMsg {
925
- typeUrl: "/google.protobuf.EnumReservedRange";
926
- value: Uint8Array;
927
- }
928
- /**
929
- * Range of reserved numeric values. Reserved values may not be used by
930
- * entries in the same enum. Reserved ranges may not overlap.
931
- *
932
- * Note that this is distinct from DescriptorProto.ReservedRange in that it
933
- * is inclusive such that it can appropriately represent the entire int32
934
- * domain.
935
- */
936
- export interface EnumDescriptorProto_EnumReservedRangeAmino {
937
- /** Inclusive. */
938
- start?: number;
939
- /** Inclusive. */
940
- end?: number;
941
- }
942
- export interface EnumDescriptorProto_EnumReservedRangeAminoMsg {
943
- type: "/google.protobuf.EnumReservedRange";
944
- value: EnumDescriptorProto_EnumReservedRangeAmino;
945
- }
946
- /**
947
- * Range of reserved numeric values. Reserved values may not be used by
948
- * entries in the same enum. Reserved ranges may not overlap.
949
- *
950
- * Note that this is distinct from DescriptorProto.ReservedRange in that it
951
- * is inclusive such that it can appropriately represent the entire int32
952
- * domain.
953
- */
954
- export interface EnumDescriptorProto_EnumReservedRangeSDKType {
955
- start: number;
956
- end: number;
957
- }
958
- /** Describes a value within an enum. */
959
- export interface EnumValueDescriptorProto {
960
- name: string;
961
- number: number;
962
- options?: EnumValueOptions;
963
- }
964
- export interface EnumValueDescriptorProtoProtoMsg {
965
- typeUrl: "/google.protobuf.EnumValueDescriptorProto";
966
- value: Uint8Array;
967
- }
968
- /** Describes a value within an enum. */
969
- export interface EnumValueDescriptorProtoAmino {
970
- name?: string;
971
- number?: number;
972
- options?: EnumValueOptionsAmino;
973
- }
974
- export interface EnumValueDescriptorProtoAminoMsg {
975
- type: "/google.protobuf.EnumValueDescriptorProto";
976
- value: EnumValueDescriptorProtoAmino;
977
- }
978
- /** Describes a value within an enum. */
979
- export interface EnumValueDescriptorProtoSDKType {
980
- name: string;
981
- number: number;
982
- options?: EnumValueOptionsSDKType;
983
- }
984
- /** Describes a service. */
985
- export interface ServiceDescriptorProto {
986
- name: string;
987
- method: MethodDescriptorProto[];
988
- options?: ServiceOptions;
989
- }
990
- export interface ServiceDescriptorProtoProtoMsg {
991
- typeUrl: "/google.protobuf.ServiceDescriptorProto";
992
- value: Uint8Array;
993
- }
994
- /** Describes a service. */
995
- export interface ServiceDescriptorProtoAmino {
996
- name?: string;
997
- method?: MethodDescriptorProtoAmino[];
998
- options?: ServiceOptionsAmino;
999
- }
1000
- export interface ServiceDescriptorProtoAminoMsg {
1001
- type: "/google.protobuf.ServiceDescriptorProto";
1002
- value: ServiceDescriptorProtoAmino;
1003
- }
1004
- /** Describes a service. */
1005
- export interface ServiceDescriptorProtoSDKType {
1006
- name: string;
1007
- method: MethodDescriptorProtoSDKType[];
1008
- options?: ServiceOptionsSDKType;
1009
- }
1010
- /** Describes a method of a service. */
1011
- export interface MethodDescriptorProto {
1012
- name: string;
1013
- /**
1014
- * Input and output type names. These are resolved in the same way as
1015
- * FieldDescriptorProto.type_name, but must refer to a message type.
1016
- */
1017
- inputType: string;
1018
- outputType: string;
1019
- options?: MethodOptions;
1020
- /** Identifies if client streams multiple client messages */
1021
- clientStreaming: boolean;
1022
- /** Identifies if server streams multiple server messages */
1023
- serverStreaming: boolean;
1024
- }
1025
- export interface MethodDescriptorProtoProtoMsg {
1026
- typeUrl: "/google.protobuf.MethodDescriptorProto";
1027
- value: Uint8Array;
1028
- }
1029
- /** Describes a method of a service. */
1030
- export interface MethodDescriptorProtoAmino {
1031
- name?: string;
1032
- /**
1033
- * Input and output type names. These are resolved in the same way as
1034
- * FieldDescriptorProto.type_name, but must refer to a message type.
1035
- */
1036
- input_type?: string;
1037
- output_type?: string;
1038
- options?: MethodOptionsAmino;
1039
- /** Identifies if client streams multiple client messages */
1040
- client_streaming?: boolean;
1041
- /** Identifies if server streams multiple server messages */
1042
- server_streaming?: boolean;
1043
- }
1044
- export interface MethodDescriptorProtoAminoMsg {
1045
- type: "/google.protobuf.MethodDescriptorProto";
1046
- value: MethodDescriptorProtoAmino;
1047
- }
1048
- /** Describes a method of a service. */
1049
- export interface MethodDescriptorProtoSDKType {
1050
- name: string;
1051
- input_type: string;
1052
- output_type: string;
1053
- options?: MethodOptionsSDKType;
1054
- client_streaming: boolean;
1055
- server_streaming: boolean;
1056
- }
1057
- export interface FileOptions {
1058
- /**
1059
- * Sets the Java package where classes generated from this .proto will be
1060
- * placed. By default, the proto package is used, but this is often
1061
- * inappropriate because proto packages do not normally start with backwards
1062
- * domain names.
1063
- */
1064
- javaPackage: string;
1065
- /**
1066
- * Controls the name of the wrapper Java class generated for the .proto file.
1067
- * That class will always contain the .proto file's getDescriptor() method as
1068
- * well as any top-level extensions defined in the .proto file.
1069
- * If java_multiple_files is disabled, then all the other classes from the
1070
- * .proto file will be nested inside the single wrapper outer class.
1071
- */
1072
- javaOuterClassname: string;
1073
- /**
1074
- * If enabled, then the Java code generator will generate a separate .java
1075
- * file for each top-level message, enum, and service defined in the .proto
1076
- * file. Thus, these types will *not* be nested inside the wrapper class
1077
- * named by java_outer_classname. However, the wrapper class will still be
1078
- * generated to contain the file's getDescriptor() method as well as any
1079
- * top-level extensions defined in the file.
1080
- */
1081
- javaMultipleFiles: boolean;
1082
- /** This option does nothing. */
1083
- /** @deprecated */
1084
- javaGenerateEqualsAndHash: boolean;
1085
- /**
1086
- * A proto2 file can set this to true to opt in to UTF-8 checking for Java,
1087
- * which will throw an exception if invalid UTF-8 is parsed from the wire or
1088
- * assigned to a string field.
1089
- *
1090
- * TODO: clarify exactly what kinds of field types this option
1091
- * applies to, and update these docs accordingly.
1092
- *
1093
- * Proto3 files already perform these checks. Setting the option explicitly to
1094
- * false has no effect: it cannot be used to opt proto3 files out of UTF-8
1095
- * checks.
1096
- */
1097
- javaStringCheckUtf8: boolean;
1098
- optimizeFor: FileOptions_OptimizeMode;
1099
- /**
1100
- * Sets the Go package where structs generated from this .proto will be
1101
- * placed. If omitted, the Go package will be derived from the following:
1102
- * - The basename of the package import path, if provided.
1103
- * - Otherwise, the package statement in the .proto file, if present.
1104
- * - Otherwise, the basename of the .proto file, without extension.
1105
- */
1106
- goPackage: string;
1107
- /**
1108
- * Should generic services be generated in each language? "Generic" services
1109
- * are not specific to any particular RPC system. They are generated by the
1110
- * main code generators in each language (without additional plugins).
1111
- * Generic services were the only kind of service generation supported by
1112
- * early versions of google.protobuf.
1113
- *
1114
- * Generic services are now considered deprecated in favor of using plugins
1115
- * that generate code specific to your particular RPC system. Therefore,
1116
- * these default to false. Old code which depends on generic services should
1117
- * explicitly set them to true.
1118
- */
1119
- ccGenericServices: boolean;
1120
- javaGenericServices: boolean;
1121
- pyGenericServices: boolean;
1122
- /**
1123
- * Is this file deprecated?
1124
- * Depending on the target platform, this can emit Deprecated annotations
1125
- * for everything in the file, or it will be completely ignored; in the very
1126
- * least, this is a formalization for deprecating files.
1127
- */
1128
- deprecated: boolean;
1129
- /**
1130
- * Enables the use of arenas for the proto messages in this file. This applies
1131
- * only to generated classes for C++.
1132
- */
1133
- ccEnableArenas: boolean;
1134
- /**
1135
- * Sets the objective c class prefix which is prepended to all objective c
1136
- * generated classes from this .proto. There is no default.
1137
- */
1138
- objcClassPrefix: string;
1139
- /** Namespace for generated classes; defaults to the package. */
1140
- csharpNamespace: string;
1141
- /**
1142
- * By default Swift generators will take the proto package and CamelCase it
1143
- * replacing '.' with underscore and use that to prefix the types/symbols
1144
- * defined. When this options is provided, they will use this value instead
1145
- * to prefix the types/symbols defined.
1146
- */
1147
- swiftPrefix: string;
1148
- /**
1149
- * Sets the php class prefix which is prepended to all php generated classes
1150
- * from this .proto. Default is empty.
1151
- */
1152
- phpClassPrefix: string;
1153
- /**
1154
- * Use this option to change the namespace of php generated classes. Default
1155
- * is empty. When this option is empty, the package name will be used for
1156
- * determining the namespace.
1157
- */
1158
- phpNamespace: string;
1159
- /**
1160
- * Use this option to change the namespace of php generated metadata classes.
1161
- * Default is empty. When this option is empty, the proto file name will be
1162
- * used for determining the namespace.
1163
- */
1164
- phpMetadataNamespace: string;
1165
- /**
1166
- * Use this option to change the package of ruby generated classes. Default
1167
- * is empty. When this option is not set, the package name will be used for
1168
- * determining the ruby package.
1169
- */
1170
- rubyPackage: string;
1171
- /**
1172
- * Any features defined in the specific edition.
1173
- * WARNING: This field should only be used by protobuf plugins or special
1174
- * cases like the proto compiler. Other uses are discouraged and
1175
- * developers should rely on the protoreflect APIs for their client language.
1176
- */
1177
- features?: FeatureSet;
1178
- /**
1179
- * The parser stores options it doesn't recognize here.
1180
- * See the documentation for the "Options" section above.
1181
- */
1182
- uninterpretedOption: UninterpretedOption[];
1183
- }
1184
- export interface FileOptionsProtoMsg {
1185
- typeUrl: "/google.protobuf.FileOptions";
1186
- value: Uint8Array;
1187
- }
1188
- export interface FileOptionsAmino {
1189
- /**
1190
- * Sets the Java package where classes generated from this .proto will be
1191
- * placed. By default, the proto package is used, but this is often
1192
- * inappropriate because proto packages do not normally start with backwards
1193
- * domain names.
1194
- */
1195
- java_package?: string;
1196
- /**
1197
- * Controls the name of the wrapper Java class generated for the .proto file.
1198
- * That class will always contain the .proto file's getDescriptor() method as
1199
- * well as any top-level extensions defined in the .proto file.
1200
- * If java_multiple_files is disabled, then all the other classes from the
1201
- * .proto file will be nested inside the single wrapper outer class.
1202
- */
1203
- java_outer_classname?: string;
1204
- /**
1205
- * If enabled, then the Java code generator will generate a separate .java
1206
- * file for each top-level message, enum, and service defined in the .proto
1207
- * file. Thus, these types will *not* be nested inside the wrapper class
1208
- * named by java_outer_classname. However, the wrapper class will still be
1209
- * generated to contain the file's getDescriptor() method as well as any
1210
- * top-level extensions defined in the file.
1211
- */
1212
- java_multiple_files?: boolean;
1213
- /** This option does nothing. */
1214
- /** @deprecated */
1215
- java_generate_equals_and_hash?: boolean;
1216
- /**
1217
- * A proto2 file can set this to true to opt in to UTF-8 checking for Java,
1218
- * which will throw an exception if invalid UTF-8 is parsed from the wire or
1219
- * assigned to a string field.
1220
- *
1221
- * TODO: clarify exactly what kinds of field types this option
1222
- * applies to, and update these docs accordingly.
1223
- *
1224
- * Proto3 files already perform these checks. Setting the option explicitly to
1225
- * false has no effect: it cannot be used to opt proto3 files out of UTF-8
1226
- * checks.
1227
- */
1228
- java_string_check_utf8?: boolean;
1229
- optimize_for?: FileOptions_OptimizeMode;
1230
- /**
1231
- * Sets the Go package where structs generated from this .proto will be
1232
- * placed. If omitted, the Go package will be derived from the following:
1233
- * - The basename of the package import path, if provided.
1234
- * - Otherwise, the package statement in the .proto file, if present.
1235
- * - Otherwise, the basename of the .proto file, without extension.
1236
- */
1237
- go_package?: string;
1238
- /**
1239
- * Should generic services be generated in each language? "Generic" services
1240
- * are not specific to any particular RPC system. They are generated by the
1241
- * main code generators in each language (without additional plugins).
1242
- * Generic services were the only kind of service generation supported by
1243
- * early versions of google.protobuf.
1244
- *
1245
- * Generic services are now considered deprecated in favor of using plugins
1246
- * that generate code specific to your particular RPC system. Therefore,
1247
- * these default to false. Old code which depends on generic services should
1248
- * explicitly set them to true.
1249
- */
1250
- cc_generic_services?: boolean;
1251
- java_generic_services?: boolean;
1252
- py_generic_services?: boolean;
1253
- /**
1254
- * Is this file deprecated?
1255
- * Depending on the target platform, this can emit Deprecated annotations
1256
- * for everything in the file, or it will be completely ignored; in the very
1257
- * least, this is a formalization for deprecating files.
1258
- */
1259
- deprecated?: boolean;
1260
- /**
1261
- * Enables the use of arenas for the proto messages in this file. This applies
1262
- * only to generated classes for C++.
1263
- */
1264
- cc_enable_arenas?: boolean;
1265
- /**
1266
- * Sets the objective c class prefix which is prepended to all objective c
1267
- * generated classes from this .proto. There is no default.
1268
- */
1269
- objc_class_prefix?: string;
1270
- /** Namespace for generated classes; defaults to the package. */
1271
- csharp_namespace?: string;
1272
- /**
1273
- * By default Swift generators will take the proto package and CamelCase it
1274
- * replacing '.' with underscore and use that to prefix the types/symbols
1275
- * defined. When this options is provided, they will use this value instead
1276
- * to prefix the types/symbols defined.
1277
- */
1278
- swift_prefix?: string;
1279
- /**
1280
- * Sets the php class prefix which is prepended to all php generated classes
1281
- * from this .proto. Default is empty.
1282
- */
1283
- php_class_prefix?: string;
1284
- /**
1285
- * Use this option to change the namespace of php generated classes. Default
1286
- * is empty. When this option is empty, the package name will be used for
1287
- * determining the namespace.
1288
- */
1289
- php_namespace?: string;
1290
- /**
1291
- * Use this option to change the namespace of php generated metadata classes.
1292
- * Default is empty. When this option is empty, the proto file name will be
1293
- * used for determining the namespace.
1294
- */
1295
- php_metadata_namespace?: string;
1296
- /**
1297
- * Use this option to change the package of ruby generated classes. Default
1298
- * is empty. When this option is not set, the package name will be used for
1299
- * determining the ruby package.
1300
- */
1301
- ruby_package?: string;
1302
- /**
1303
- * Any features defined in the specific edition.
1304
- * WARNING: This field should only be used by protobuf plugins or special
1305
- * cases like the proto compiler. Other uses are discouraged and
1306
- * developers should rely on the protoreflect APIs for their client language.
1307
- */
1308
- features?: FeatureSetAmino;
1309
- /**
1310
- * The parser stores options it doesn't recognize here.
1311
- * See the documentation for the "Options" section above.
1312
- */
1313
- uninterpreted_option?: UninterpretedOptionAmino[];
1314
- }
1315
- export interface FileOptionsAminoMsg {
1316
- type: "/google.protobuf.FileOptions";
1317
- value: FileOptionsAmino;
1318
- }
1319
- export interface FileOptionsSDKType {
1320
- java_package: string;
1321
- java_outer_classname: string;
1322
- java_multiple_files: boolean;
1323
- /** @deprecated */
1324
- java_generate_equals_and_hash: boolean;
1325
- java_string_check_utf8: boolean;
1326
- optimize_for: FileOptions_OptimizeMode;
1327
- go_package: string;
1328
- cc_generic_services: boolean;
1329
- java_generic_services: boolean;
1330
- py_generic_services: boolean;
1331
- deprecated: boolean;
1332
- cc_enable_arenas: boolean;
1333
- objc_class_prefix: string;
1334
- csharp_namespace: string;
1335
- swift_prefix: string;
1336
- php_class_prefix: string;
1337
- php_namespace: string;
1338
- php_metadata_namespace: string;
1339
- ruby_package: string;
1340
- features?: FeatureSetSDKType;
1341
- uninterpreted_option: UninterpretedOptionSDKType[];
1342
- }
1343
- export interface MessageOptions {
1344
- /**
1345
- * Set true to use the old proto1 MessageSet wire format for extensions.
1346
- * This is provided for backwards-compatibility with the MessageSet wire
1347
- * format. You should not use this for any other reason: It's less
1348
- * efficient, has fewer features, and is more complicated.
1349
- *
1350
- * The message must be defined exactly as follows:
1351
- * message Foo {
1352
- * option message_set_wire_format = true;
1353
- * extensions 4 to max;
1354
- * }
1355
- * Note that the message cannot have any defined fields; MessageSets only
1356
- * have extensions.
1357
- *
1358
- * All extensions of your type must be singular messages; e.g. they cannot
1359
- * be int32s, enums, or repeated messages.
1360
- *
1361
- * Because this is an option, the above two restrictions are not enforced by
1362
- * the protocol compiler.
1363
- */
1364
- messageSetWireFormat: boolean;
1365
- /**
1366
- * Disables the generation of the standard "descriptor()" accessor, which can
1367
- * conflict with a field of the same name. This is meant to make migration
1368
- * from proto1 easier; new code should avoid fields named "descriptor".
1369
- */
1370
- noStandardDescriptorAccessor: boolean;
1371
- /**
1372
- * Is this message deprecated?
1373
- * Depending on the target platform, this can emit Deprecated annotations
1374
- * for the message, or it will be completely ignored; in the very least,
1375
- * this is a formalization for deprecating messages.
1376
- */
1377
- deprecated: boolean;
1378
- /**
1379
- * Whether the message is an automatically generated map entry type for the
1380
- * maps field.
1381
- *
1382
- * For maps fields:
1383
- * map<KeyType, ValueType> map_field = 1;
1384
- * The parsed descriptor looks like:
1385
- * message MapFieldEntry {
1386
- * option map_entry = true;
1387
- * optional KeyType key = 1;
1388
- * optional ValueType value = 2;
1389
- * }
1390
- * repeated MapFieldEntry map_field = 1;
1391
- *
1392
- * Implementations may choose not to generate the map_entry=true message, but
1393
- * use a native map in the target language to hold the keys and values.
1394
- * The reflection APIs in such implementations still need to work as
1395
- * if the field is a repeated message field.
1396
- *
1397
- * NOTE: Do not set the option in .proto files. Always use the maps syntax
1398
- * instead. The option should only be implicitly set by the proto compiler
1399
- * parser.
1400
- */
1401
- mapEntry: boolean;
1402
- /**
1403
- * Enable the legacy handling of JSON field name conflicts. This lowercases
1404
- * and strips underscored from the fields before comparison in proto3 only.
1405
- * The new behavior takes `json_name` into account and applies to proto2 as
1406
- * well.
1407
- *
1408
- * This should only be used as a temporary measure against broken builds due
1409
- * to the change in behavior for JSON field name conflicts.
1410
- *
1411
- * TODO This is legacy behavior we plan to remove once downstream
1412
- * teams have had time to migrate.
1413
- */
1414
- /** @deprecated */
1415
- deprecatedLegacyJsonFieldConflicts: boolean;
1416
- /**
1417
- * Any features defined in the specific edition.
1418
- * WARNING: This field should only be used by protobuf plugins or special
1419
- * cases like the proto compiler. Other uses are discouraged and
1420
- * developers should rely on the protoreflect APIs for their client language.
1421
- */
1422
- features?: FeatureSet;
1423
- /** The parser stores options it doesn't recognize here. See above. */
1424
- uninterpretedOption: UninterpretedOption[];
1425
- }
1426
- export interface MessageOptionsProtoMsg {
1427
- typeUrl: "/google.protobuf.MessageOptions";
1428
- value: Uint8Array;
1429
- }
1430
- export interface MessageOptionsAmino {
1431
- /**
1432
- * Set true to use the old proto1 MessageSet wire format for extensions.
1433
- * This is provided for backwards-compatibility with the MessageSet wire
1434
- * format. You should not use this for any other reason: It's less
1435
- * efficient, has fewer features, and is more complicated.
1436
- *
1437
- * The message must be defined exactly as follows:
1438
- * message Foo {
1439
- * option message_set_wire_format = true;
1440
- * extensions 4 to max;
1441
- * }
1442
- * Note that the message cannot have any defined fields; MessageSets only
1443
- * have extensions.
1444
- *
1445
- * All extensions of your type must be singular messages; e.g. they cannot
1446
- * be int32s, enums, or repeated messages.
1447
- *
1448
- * Because this is an option, the above two restrictions are not enforced by
1449
- * the protocol compiler.
1450
- */
1451
- message_set_wire_format?: boolean;
1452
- /**
1453
- * Disables the generation of the standard "descriptor()" accessor, which can
1454
- * conflict with a field of the same name. This is meant to make migration
1455
- * from proto1 easier; new code should avoid fields named "descriptor".
1456
- */
1457
- no_standard_descriptor_accessor?: boolean;
1458
- /**
1459
- * Is this message deprecated?
1460
- * Depending on the target platform, this can emit Deprecated annotations
1461
- * for the message, or it will be completely ignored; in the very least,
1462
- * this is a formalization for deprecating messages.
1463
- */
1464
- deprecated?: boolean;
1465
- /**
1466
- * Whether the message is an automatically generated map entry type for the
1467
- * maps field.
1468
- *
1469
- * For maps fields:
1470
- * map<KeyType, ValueType> map_field = 1;
1471
- * The parsed descriptor looks like:
1472
- * message MapFieldEntry {
1473
- * option map_entry = true;
1474
- * optional KeyType key = 1;
1475
- * optional ValueType value = 2;
1476
- * }
1477
- * repeated MapFieldEntry map_field = 1;
1478
- *
1479
- * Implementations may choose not to generate the map_entry=true message, but
1480
- * use a native map in the target language to hold the keys and values.
1481
- * The reflection APIs in such implementations still need to work as
1482
- * if the field is a repeated message field.
1483
- *
1484
- * NOTE: Do not set the option in .proto files. Always use the maps syntax
1485
- * instead. The option should only be implicitly set by the proto compiler
1486
- * parser.
1487
- */
1488
- map_entry?: boolean;
1489
- /**
1490
- * Enable the legacy handling of JSON field name conflicts. This lowercases
1491
- * and strips underscored from the fields before comparison in proto3 only.
1492
- * The new behavior takes `json_name` into account and applies to proto2 as
1493
- * well.
1494
- *
1495
- * This should only be used as a temporary measure against broken builds due
1496
- * to the change in behavior for JSON field name conflicts.
1497
- *
1498
- * TODO This is legacy behavior we plan to remove once downstream
1499
- * teams have had time to migrate.
1500
- */
1501
- /** @deprecated */
1502
- deprecated_legacy_json_field_conflicts?: boolean;
1503
- /**
1504
- * Any features defined in the specific edition.
1505
- * WARNING: This field should only be used by protobuf plugins or special
1506
- * cases like the proto compiler. Other uses are discouraged and
1507
- * developers should rely on the protoreflect APIs for their client language.
1508
- */
1509
- features?: FeatureSetAmino;
1510
- /** The parser stores options it doesn't recognize here. See above. */
1511
- uninterpreted_option?: UninterpretedOptionAmino[];
1512
- }
1513
- export interface MessageOptionsAminoMsg {
1514
- type: "/google.protobuf.MessageOptions";
1515
- value: MessageOptionsAmino;
1516
- }
1517
- export interface MessageOptionsSDKType {
1518
- message_set_wire_format: boolean;
1519
- no_standard_descriptor_accessor: boolean;
1520
- deprecated: boolean;
1521
- map_entry: boolean;
1522
- /** @deprecated */
1523
- deprecated_legacy_json_field_conflicts: boolean;
1524
- features?: FeatureSetSDKType;
1525
- uninterpreted_option: UninterpretedOptionSDKType[];
1526
- }
1527
- export interface FieldOptions {
1528
- /**
1529
- * NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.
1530
- * The ctype option instructs the C++ code generator to use a different
1531
- * representation of the field than it normally would. See the specific
1532
- * options below. This option is only implemented to support use of
1533
- * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
1534
- * type "bytes" in the open source release.
1535
- * TODO: make ctype actually deprecated.
1536
- */
1537
- ctype: FieldOptions_CType;
1538
- /**
1539
- * The packed option can be enabled for repeated primitive fields to enable
1540
- * a more efficient representation on the wire. Rather than repeatedly
1541
- * writing the tag and type for each element, the entire array is encoded as
1542
- * a single length-delimited blob. In proto3, only explicit setting it to
1543
- * false will avoid using packed encoding. This option is prohibited in
1544
- * Editions, but the `repeated_field_encoding` feature can be used to control
1545
- * the behavior.
1546
- */
1547
- packed: boolean;
1548
- /**
1549
- * The jstype option determines the JavaScript type used for values of the
1550
- * field. The option is permitted only for 64 bit integral and fixed types
1551
- * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
1552
- * is represented as JavaScript string, which avoids loss of precision that
1553
- * can happen when a large value is converted to a floating point JavaScript.
1554
- * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
1555
- * use the JavaScript "number" type. The behavior of the default option
1556
- * JS_NORMAL is implementation dependent.
1557
- *
1558
- * This option is an enum to permit additional types to be added, e.g.
1559
- * goog.math.Integer.
1560
- */
1561
- jstype: FieldOptions_JSType;
1562
- /**
1563
- * Should this field be parsed lazily? Lazy applies only to message-type
1564
- * fields. It means that when the outer message is initially parsed, the
1565
- * inner message's contents will not be parsed but instead stored in encoded
1566
- * form. The inner message will actually be parsed when it is first accessed.
1567
- *
1568
- * This is only a hint. Implementations are free to choose whether to use
1569
- * eager or lazy parsing regardless of the value of this option. However,
1570
- * setting this option true suggests that the protocol author believes that
1571
- * using lazy parsing on this field is worth the additional bookkeeping
1572
- * overhead typically needed to implement it.
1573
- *
1574
- * This option does not affect the public interface of any generated code;
1575
- * all method signatures remain the same. Furthermore, thread-safety of the
1576
- * interface is not affected by this option; const methods remain safe to
1577
- * call from multiple threads concurrently, while non-const methods continue
1578
- * to require exclusive access.
1579
- *
1580
- * Note that lazy message fields are still eagerly verified to check
1581
- * ill-formed wireformat or missing required fields. Calling IsInitialized()
1582
- * on the outer message would fail if the inner message has missing required
1583
- * fields. Failed verification would result in parsing failure (except when
1584
- * uninitialized messages are acceptable).
1585
- */
1586
- lazy: boolean;
1587
- /**
1588
- * unverified_lazy does no correctness checks on the byte stream. This should
1589
- * only be used where lazy with verification is prohibitive for performance
1590
- * reasons.
1591
- */
1592
- unverifiedLazy: boolean;
1593
- /**
1594
- * Is this field deprecated?
1595
- * Depending on the target platform, this can emit Deprecated annotations
1596
- * for accessors, or it will be completely ignored; in the very least, this
1597
- * is a formalization for deprecating fields.
1598
- */
1599
- deprecated: boolean;
1600
- /** For Google-internal migration only. Do not use. */
1601
- weak: boolean;
1602
- /**
1603
- * Indicate that the field value should not be printed out when using debug
1604
- * formats, e.g. when the field contains sensitive credentials.
1605
- */
1606
- debugRedact: boolean;
1607
- retention: FieldOptions_OptionRetention;
1608
- targets: FieldOptions_OptionTargetType[];
1609
- editionDefaults: FieldOptions_EditionDefault[];
1610
- /**
1611
- * Any features defined in the specific edition.
1612
- * WARNING: This field should only be used by protobuf plugins or special
1613
- * cases like the proto compiler. Other uses are discouraged and
1614
- * developers should rely on the protoreflect APIs for their client language.
1615
- */
1616
- features?: FeatureSet;
1617
- featureSupport?: FieldOptions_FeatureSupport;
1618
- /** The parser stores options it doesn't recognize here. See above. */
1619
- uninterpretedOption: UninterpretedOption[];
1620
- }
1621
- export interface FieldOptionsProtoMsg {
1622
- typeUrl: "/google.protobuf.FieldOptions";
1623
- value: Uint8Array;
1624
- }
1625
- export interface FieldOptionsAmino {
1626
- /**
1627
- * NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.
1628
- * The ctype option instructs the C++ code generator to use a different
1629
- * representation of the field than it normally would. See the specific
1630
- * options below. This option is only implemented to support use of
1631
- * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
1632
- * type "bytes" in the open source release.
1633
- * TODO: make ctype actually deprecated.
1634
- */
1635
- ctype?: FieldOptions_CType;
1636
- /**
1637
- * The packed option can be enabled for repeated primitive fields to enable
1638
- * a more efficient representation on the wire. Rather than repeatedly
1639
- * writing the tag and type for each element, the entire array is encoded as
1640
- * a single length-delimited blob. In proto3, only explicit setting it to
1641
- * false will avoid using packed encoding. This option is prohibited in
1642
- * Editions, but the `repeated_field_encoding` feature can be used to control
1643
- * the behavior.
1644
- */
1645
- packed?: boolean;
1646
- /**
1647
- * The jstype option determines the JavaScript type used for values of the
1648
- * field. The option is permitted only for 64 bit integral and fixed types
1649
- * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
1650
- * is represented as JavaScript string, which avoids loss of precision that
1651
- * can happen when a large value is converted to a floating point JavaScript.
1652
- * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
1653
- * use the JavaScript "number" type. The behavior of the default option
1654
- * JS_NORMAL is implementation dependent.
1655
- *
1656
- * This option is an enum to permit additional types to be added, e.g.
1657
- * goog.math.Integer.
1658
- */
1659
- jstype?: FieldOptions_JSType;
1660
- /**
1661
- * Should this field be parsed lazily? Lazy applies only to message-type
1662
- * fields. It means that when the outer message is initially parsed, the
1663
- * inner message's contents will not be parsed but instead stored in encoded
1664
- * form. The inner message will actually be parsed when it is first accessed.
1665
- *
1666
- * This is only a hint. Implementations are free to choose whether to use
1667
- * eager or lazy parsing regardless of the value of this option. However,
1668
- * setting this option true suggests that the protocol author believes that
1669
- * using lazy parsing on this field is worth the additional bookkeeping
1670
- * overhead typically needed to implement it.
1671
- *
1672
- * This option does not affect the public interface of any generated code;
1673
- * all method signatures remain the same. Furthermore, thread-safety of the
1674
- * interface is not affected by this option; const methods remain safe to
1675
- * call from multiple threads concurrently, while non-const methods continue
1676
- * to require exclusive access.
1677
- *
1678
- * Note that lazy message fields are still eagerly verified to check
1679
- * ill-formed wireformat or missing required fields. Calling IsInitialized()
1680
- * on the outer message would fail if the inner message has missing required
1681
- * fields. Failed verification would result in parsing failure (except when
1682
- * uninitialized messages are acceptable).
1683
- */
1684
- lazy?: boolean;
1685
- /**
1686
- * unverified_lazy does no correctness checks on the byte stream. This should
1687
- * only be used where lazy with verification is prohibitive for performance
1688
- * reasons.
1689
- */
1690
- unverified_lazy?: boolean;
1691
- /**
1692
- * Is this field deprecated?
1693
- * Depending on the target platform, this can emit Deprecated annotations
1694
- * for accessors, or it will be completely ignored; in the very least, this
1695
- * is a formalization for deprecating fields.
1696
- */
1697
- deprecated?: boolean;
1698
- /** For Google-internal migration only. Do not use. */
1699
- weak?: boolean;
1700
- /**
1701
- * Indicate that the field value should not be printed out when using debug
1702
- * formats, e.g. when the field contains sensitive credentials.
1703
- */
1704
- debug_redact?: boolean;
1705
- retention?: FieldOptions_OptionRetention;
1706
- targets?: FieldOptions_OptionTargetType[];
1707
- edition_defaults?: FieldOptions_EditionDefaultAmino[];
1708
- /**
1709
- * Any features defined in the specific edition.
1710
- * WARNING: This field should only be used by protobuf plugins or special
1711
- * cases like the proto compiler. Other uses are discouraged and
1712
- * developers should rely on the protoreflect APIs for their client language.
1713
- */
1714
- features?: FeatureSetAmino;
1715
- feature_support?: FieldOptions_FeatureSupportAmino;
1716
- /** The parser stores options it doesn't recognize here. See above. */
1717
- uninterpreted_option?: UninterpretedOptionAmino[];
1718
- }
1719
- export interface FieldOptionsAminoMsg {
1720
- type: "/google.protobuf.FieldOptions";
1721
- value: FieldOptionsAmino;
1722
- }
1723
- export interface FieldOptionsSDKType {
1724
- ctype: FieldOptions_CType;
1725
- packed: boolean;
1726
- jstype: FieldOptions_JSType;
1727
- lazy: boolean;
1728
- unverified_lazy: boolean;
1729
- deprecated: boolean;
1730
- weak: boolean;
1731
- debug_redact: boolean;
1732
- retention: FieldOptions_OptionRetention;
1733
- targets: FieldOptions_OptionTargetType[];
1734
- edition_defaults: FieldOptions_EditionDefaultSDKType[];
1735
- features?: FeatureSetSDKType;
1736
- feature_support?: FieldOptions_FeatureSupportSDKType;
1737
- uninterpreted_option: UninterpretedOptionSDKType[];
1738
- }
1739
- export interface FieldOptions_EditionDefault {
1740
- edition: Edition;
1741
- /** Textproto value. */
1742
- value: string;
1743
- }
1744
- export interface FieldOptions_EditionDefaultProtoMsg {
1745
- typeUrl: "/google.protobuf.EditionDefault";
1746
- value: Uint8Array;
1747
- }
1748
- export interface FieldOptions_EditionDefaultAmino {
1749
- edition?: Edition;
1750
- /** Textproto value. */
1751
- value?: string;
1752
- }
1753
- export interface FieldOptions_EditionDefaultAminoMsg {
1754
- type: "/google.protobuf.EditionDefault";
1755
- value: FieldOptions_EditionDefaultAmino;
1756
- }
1757
- export interface FieldOptions_EditionDefaultSDKType {
1758
- edition: Edition;
1759
- value: string;
1760
- }
1761
- /** Information about the support window of a feature. */
1762
- export interface FieldOptions_FeatureSupport {
1763
- /**
1764
- * The edition that this feature was first available in. In editions
1765
- * earlier than this one, the default assigned to EDITION_LEGACY will be
1766
- * used, and proto files will not be able to override it.
1767
- */
1768
- editionIntroduced: Edition;
1769
- /**
1770
- * The edition this feature becomes deprecated in. Using this after this
1771
- * edition may trigger warnings.
1772
- */
1773
- editionDeprecated: Edition;
1774
- /**
1775
- * The deprecation warning text if this feature is used after the edition it
1776
- * was marked deprecated in.
1777
- */
1778
- deprecationWarning: string;
1779
- /**
1780
- * The edition this feature is no longer available in. In editions after
1781
- * this one, the last default assigned will be used, and proto files will
1782
- * not be able to override it.
1783
- */
1784
- editionRemoved: Edition;
1785
- }
1786
- export interface FieldOptions_FeatureSupportProtoMsg {
1787
- typeUrl: "/google.protobuf.FeatureSupport";
1788
- value: Uint8Array;
1789
- }
1790
- /** Information about the support window of a feature. */
1791
- export interface FieldOptions_FeatureSupportAmino {
1792
- /**
1793
- * The edition that this feature was first available in. In editions
1794
- * earlier than this one, the default assigned to EDITION_LEGACY will be
1795
- * used, and proto files will not be able to override it.
1796
- */
1797
- edition_introduced?: Edition;
1798
- /**
1799
- * The edition this feature becomes deprecated in. Using this after this
1800
- * edition may trigger warnings.
1801
- */
1802
- edition_deprecated?: Edition;
1803
- /**
1804
- * The deprecation warning text if this feature is used after the edition it
1805
- * was marked deprecated in.
1806
- */
1807
- deprecation_warning?: string;
1808
- /**
1809
- * The edition this feature is no longer available in. In editions after
1810
- * this one, the last default assigned will be used, and proto files will
1811
- * not be able to override it.
1812
- */
1813
- edition_removed?: Edition;
1814
- }
1815
- export interface FieldOptions_FeatureSupportAminoMsg {
1816
- type: "/google.protobuf.FeatureSupport";
1817
- value: FieldOptions_FeatureSupportAmino;
1818
- }
1819
- /** Information about the support window of a feature. */
1820
- export interface FieldOptions_FeatureSupportSDKType {
1821
- edition_introduced: Edition;
1822
- edition_deprecated: Edition;
1823
- deprecation_warning: string;
1824
- edition_removed: Edition;
1825
- }
1826
- export interface OneofOptions {
1827
- /**
1828
- * Any features defined in the specific edition.
1829
- * WARNING: This field should only be used by protobuf plugins or special
1830
- * cases like the proto compiler. Other uses are discouraged and
1831
- * developers should rely on the protoreflect APIs for their client language.
1832
- */
1833
- features?: FeatureSet;
1834
- /** The parser stores options it doesn't recognize here. See above. */
1835
- uninterpretedOption: UninterpretedOption[];
1836
- }
1837
- export interface OneofOptionsProtoMsg {
1838
- typeUrl: "/google.protobuf.OneofOptions";
1839
- value: Uint8Array;
1840
- }
1841
- export interface OneofOptionsAmino {
1842
- /**
1843
- * Any features defined in the specific edition.
1844
- * WARNING: This field should only be used by protobuf plugins or special
1845
- * cases like the proto compiler. Other uses are discouraged and
1846
- * developers should rely on the protoreflect APIs for their client language.
1847
- */
1848
- features?: FeatureSetAmino;
1849
- /** The parser stores options it doesn't recognize here. See above. */
1850
- uninterpreted_option?: UninterpretedOptionAmino[];
1851
- }
1852
- export interface OneofOptionsAminoMsg {
1853
- type: "/google.protobuf.OneofOptions";
1854
- value: OneofOptionsAmino;
1855
- }
1856
- export interface OneofOptionsSDKType {
1857
- features?: FeatureSetSDKType;
1858
- uninterpreted_option: UninterpretedOptionSDKType[];
1859
- }
1860
- export interface EnumOptions {
1861
- /**
1862
- * Set this option to true to allow mapping different tag names to the same
1863
- * value.
1864
- */
1865
- allowAlias: boolean;
1866
- /**
1867
- * Is this enum deprecated?
1868
- * Depending on the target platform, this can emit Deprecated annotations
1869
- * for the enum, or it will be completely ignored; in the very least, this
1870
- * is a formalization for deprecating enums.
1871
- */
1872
- deprecated: boolean;
1873
- /**
1874
- * Enable the legacy handling of JSON field name conflicts. This lowercases
1875
- * and strips underscored from the fields before comparison in proto3 only.
1876
- * The new behavior takes `json_name` into account and applies to proto2 as
1877
- * well.
1878
- * TODO Remove this legacy behavior once downstream teams have
1879
- * had time to migrate.
1880
- */
1881
- /** @deprecated */
1882
- deprecatedLegacyJsonFieldConflicts: boolean;
1883
- /**
1884
- * Any features defined in the specific edition.
1885
- * WARNING: This field should only be used by protobuf plugins or special
1886
- * cases like the proto compiler. Other uses are discouraged and
1887
- * developers should rely on the protoreflect APIs for their client language.
1888
- */
1889
- features?: FeatureSet;
1890
- /** The parser stores options it doesn't recognize here. See above. */
1891
- uninterpretedOption: UninterpretedOption[];
1892
- }
1893
- export interface EnumOptionsProtoMsg {
1894
- typeUrl: "/google.protobuf.EnumOptions";
1895
- value: Uint8Array;
1896
- }
1897
- export interface EnumOptionsAmino {
1898
- /**
1899
- * Set this option to true to allow mapping different tag names to the same
1900
- * value.
1901
- */
1902
- allow_alias?: boolean;
1903
- /**
1904
- * Is this enum deprecated?
1905
- * Depending on the target platform, this can emit Deprecated annotations
1906
- * for the enum, or it will be completely ignored; in the very least, this
1907
- * is a formalization for deprecating enums.
1908
- */
1909
- deprecated?: boolean;
1910
- /**
1911
- * Enable the legacy handling of JSON field name conflicts. This lowercases
1912
- * and strips underscored from the fields before comparison in proto3 only.
1913
- * The new behavior takes `json_name` into account and applies to proto2 as
1914
- * well.
1915
- * TODO Remove this legacy behavior once downstream teams have
1916
- * had time to migrate.
1917
- */
1918
- /** @deprecated */
1919
- deprecated_legacy_json_field_conflicts?: boolean;
1920
- /**
1921
- * Any features defined in the specific edition.
1922
- * WARNING: This field should only be used by protobuf plugins or special
1923
- * cases like the proto compiler. Other uses are discouraged and
1924
- * developers should rely on the protoreflect APIs for their client language.
1925
- */
1926
- features?: FeatureSetAmino;
1927
- /** The parser stores options it doesn't recognize here. See above. */
1928
- uninterpreted_option?: UninterpretedOptionAmino[];
1929
- }
1930
- export interface EnumOptionsAminoMsg {
1931
- type: "/google.protobuf.EnumOptions";
1932
- value: EnumOptionsAmino;
1933
- }
1934
- export interface EnumOptionsSDKType {
1935
- allow_alias: boolean;
1936
- deprecated: boolean;
1937
- /** @deprecated */
1938
- deprecated_legacy_json_field_conflicts: boolean;
1939
- features?: FeatureSetSDKType;
1940
- uninterpreted_option: UninterpretedOptionSDKType[];
1941
- }
1942
- export interface EnumValueOptions {
1943
- /**
1944
- * Is this enum value deprecated?
1945
- * Depending on the target platform, this can emit Deprecated annotations
1946
- * for the enum value, or it will be completely ignored; in the very least,
1947
- * this is a formalization for deprecating enum values.
1948
- */
1949
- deprecated: boolean;
1950
- /**
1951
- * Any features defined in the specific edition.
1952
- * WARNING: This field should only be used by protobuf plugins or special
1953
- * cases like the proto compiler. Other uses are discouraged and
1954
- * developers should rely on the protoreflect APIs for their client language.
1955
- */
1956
- features?: FeatureSet;
1957
- /**
1958
- * Indicate that fields annotated with this enum value should not be printed
1959
- * out when using debug formats, e.g. when the field contains sensitive
1960
- * credentials.
1961
- */
1962
- debugRedact: boolean;
1963
- /** Information about the support window of a feature value. */
1964
- featureSupport?: FieldOptions_FeatureSupport;
1965
- /** The parser stores options it doesn't recognize here. See above. */
1966
- uninterpretedOption: UninterpretedOption[];
1967
- }
1968
- export interface EnumValueOptionsProtoMsg {
1969
- typeUrl: "/google.protobuf.EnumValueOptions";
1970
- value: Uint8Array;
1971
- }
1972
- export interface EnumValueOptionsAmino {
1973
- /**
1974
- * Is this enum value deprecated?
1975
- * Depending on the target platform, this can emit Deprecated annotations
1976
- * for the enum value, or it will be completely ignored; in the very least,
1977
- * this is a formalization for deprecating enum values.
1978
- */
1979
- deprecated?: boolean;
1980
- /**
1981
- * Any features defined in the specific edition.
1982
- * WARNING: This field should only be used by protobuf plugins or special
1983
- * cases like the proto compiler. Other uses are discouraged and
1984
- * developers should rely on the protoreflect APIs for their client language.
1985
- */
1986
- features?: FeatureSetAmino;
1987
- /**
1988
- * Indicate that fields annotated with this enum value should not be printed
1989
- * out when using debug formats, e.g. when the field contains sensitive
1990
- * credentials.
1991
- */
1992
- debug_redact?: boolean;
1993
- /** Information about the support window of a feature value. */
1994
- feature_support?: FieldOptions_FeatureSupportAmino;
1995
- /** The parser stores options it doesn't recognize here. See above. */
1996
- uninterpreted_option?: UninterpretedOptionAmino[];
1997
- }
1998
- export interface EnumValueOptionsAminoMsg {
1999
- type: "/google.protobuf.EnumValueOptions";
2000
- value: EnumValueOptionsAmino;
2001
- }
2002
- export interface EnumValueOptionsSDKType {
2003
- deprecated: boolean;
2004
- features?: FeatureSetSDKType;
2005
- debug_redact: boolean;
2006
- feature_support?: FieldOptions_FeatureSupportSDKType;
2007
- uninterpreted_option: UninterpretedOptionSDKType[];
2008
- }
2009
- export interface ServiceOptions {
2010
- /**
2011
- * Any features defined in the specific edition.
2012
- * WARNING: This field should only be used by protobuf plugins or special
2013
- * cases like the proto compiler. Other uses are discouraged and
2014
- * developers should rely on the protoreflect APIs for their client language.
2015
- */
2016
- features?: FeatureSet;
2017
- /**
2018
- * Is this service deprecated?
2019
- * Depending on the target platform, this can emit Deprecated annotations
2020
- * for the service, or it will be completely ignored; in the very least,
2021
- * this is a formalization for deprecating services.
2022
- */
2023
- deprecated: boolean;
2024
- /** The parser stores options it doesn't recognize here. See above. */
2025
- uninterpretedOption: UninterpretedOption[];
2026
- }
2027
- export interface ServiceOptionsProtoMsg {
2028
- typeUrl: "/google.protobuf.ServiceOptions";
2029
- value: Uint8Array;
2030
- }
2031
- export interface ServiceOptionsAmino {
2032
- /**
2033
- * Any features defined in the specific edition.
2034
- * WARNING: This field should only be used by protobuf plugins or special
2035
- * cases like the proto compiler. Other uses are discouraged and
2036
- * developers should rely on the protoreflect APIs for their client language.
2037
- */
2038
- features?: FeatureSetAmino;
2039
- /**
2040
- * Is this service deprecated?
2041
- * Depending on the target platform, this can emit Deprecated annotations
2042
- * for the service, or it will be completely ignored; in the very least,
2043
- * this is a formalization for deprecating services.
2044
- */
2045
- deprecated?: boolean;
2046
- /** The parser stores options it doesn't recognize here. See above. */
2047
- uninterpreted_option?: UninterpretedOptionAmino[];
2048
- }
2049
- export interface ServiceOptionsAminoMsg {
2050
- type: "/google.protobuf.ServiceOptions";
2051
- value: ServiceOptionsAmino;
2052
- }
2053
- export interface ServiceOptionsSDKType {
2054
- features?: FeatureSetSDKType;
2055
- deprecated: boolean;
2056
- uninterpreted_option: UninterpretedOptionSDKType[];
2057
- }
2058
- export interface MethodOptions {
2059
- /**
2060
- * Is this method deprecated?
2061
- * Depending on the target platform, this can emit Deprecated annotations
2062
- * for the method, or it will be completely ignored; in the very least,
2063
- * this is a formalization for deprecating methods.
2064
- */
2065
- deprecated: boolean;
2066
- idempotencyLevel: MethodOptions_IdempotencyLevel;
2067
- /**
2068
- * Any features defined in the specific edition.
2069
- * WARNING: This field should only be used by protobuf plugins or special
2070
- * cases like the proto compiler. Other uses are discouraged and
2071
- * developers should rely on the protoreflect APIs for their client language.
2072
- */
2073
- features?: FeatureSet;
2074
- /** The parser stores options it doesn't recognize here. See above. */
2075
- uninterpretedOption: UninterpretedOption[];
2076
- }
2077
- export interface MethodOptionsProtoMsg {
2078
- typeUrl: "/google.protobuf.MethodOptions";
2079
- value: Uint8Array;
2080
- }
2081
- export interface MethodOptionsAmino {
2082
- /**
2083
- * Is this method deprecated?
2084
- * Depending on the target platform, this can emit Deprecated annotations
2085
- * for the method, or it will be completely ignored; in the very least,
2086
- * this is a formalization for deprecating methods.
2087
- */
2088
- deprecated?: boolean;
2089
- idempotency_level?: MethodOptions_IdempotencyLevel;
2090
- /**
2091
- * Any features defined in the specific edition.
2092
- * WARNING: This field should only be used by protobuf plugins or special
2093
- * cases like the proto compiler. Other uses are discouraged and
2094
- * developers should rely on the protoreflect APIs for their client language.
2095
- */
2096
- features?: FeatureSetAmino;
2097
- /** The parser stores options it doesn't recognize here. See above. */
2098
- uninterpreted_option?: UninterpretedOptionAmino[];
2099
- }
2100
- export interface MethodOptionsAminoMsg {
2101
- type: "/google.protobuf.MethodOptions";
2102
- value: MethodOptionsAmino;
2103
- }
2104
- export interface MethodOptionsSDKType {
2105
- deprecated: boolean;
2106
- idempotency_level: MethodOptions_IdempotencyLevel;
2107
- features?: FeatureSetSDKType;
2108
- uninterpreted_option: UninterpretedOptionSDKType[];
2109
- }
2110
- /**
2111
- * A message representing a option the parser does not recognize. This only
2112
- * appears in options protos created by the compiler::Parser class.
2113
- * DescriptorPool resolves these when building Descriptor objects. Therefore,
2114
- * options protos in descriptor objects (e.g. returned by Descriptor::options(),
2115
- * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
2116
- * in them.
2117
- */
2118
- export interface UninterpretedOption {
2119
- name: UninterpretedOption_NamePart[];
2120
- /**
2121
- * The value of the uninterpreted option, in whatever type the tokenizer
2122
- * identified it as during parsing. Exactly one of these should be set.
2123
- */
2124
- identifierValue: string;
2125
- positiveIntValue: bigint;
2126
- negativeIntValue: bigint;
2127
- doubleValue: number;
2128
- stringValue: Uint8Array;
2129
- aggregateValue: string;
2130
- }
2131
- export interface UninterpretedOptionProtoMsg {
2132
- typeUrl: "/google.protobuf.UninterpretedOption";
2133
- value: Uint8Array;
2134
- }
2135
- /**
2136
- * A message representing a option the parser does not recognize. This only
2137
- * appears in options protos created by the compiler::Parser class.
2138
- * DescriptorPool resolves these when building Descriptor objects. Therefore,
2139
- * options protos in descriptor objects (e.g. returned by Descriptor::options(),
2140
- * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
2141
- * in them.
2142
- */
2143
- export interface UninterpretedOptionAmino {
2144
- name?: UninterpretedOption_NamePartAmino[];
2145
- /**
2146
- * The value of the uninterpreted option, in whatever type the tokenizer
2147
- * identified it as during parsing. Exactly one of these should be set.
2148
- */
2149
- identifier_value?: string;
2150
- positive_int_value?: string;
2151
- negative_int_value?: string;
2152
- double_value?: number;
2153
- string_value?: string;
2154
- aggregate_value?: string;
2155
- }
2156
- export interface UninterpretedOptionAminoMsg {
2157
- type: "/google.protobuf.UninterpretedOption";
2158
- value: UninterpretedOptionAmino;
2159
- }
2160
- /**
2161
- * A message representing a option the parser does not recognize. This only
2162
- * appears in options protos created by the compiler::Parser class.
2163
- * DescriptorPool resolves these when building Descriptor objects. Therefore,
2164
- * options protos in descriptor objects (e.g. returned by Descriptor::options(),
2165
- * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
2166
- * in them.
2167
- */
2168
- export interface UninterpretedOptionSDKType {
2169
- name: UninterpretedOption_NamePartSDKType[];
2170
- identifier_value: string;
2171
- positive_int_value: bigint;
2172
- negative_int_value: bigint;
2173
- double_value: number;
2174
- string_value: Uint8Array;
2175
- aggregate_value: string;
2176
- }
2177
- /**
2178
- * The name of the uninterpreted option. Each string represents a segment in
2179
- * a dot-separated name. is_extension is true iff a segment represents an
2180
- * extension (denoted with parentheses in options specs in .proto files).
2181
- * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
2182
- * "foo.(bar.baz).moo".
2183
- */
2184
- export interface UninterpretedOption_NamePart {
2185
- namePart: string;
2186
- isExtension: boolean;
2187
- }
2188
- export interface UninterpretedOption_NamePartProtoMsg {
2189
- typeUrl: "/google.protobuf.NamePart";
2190
- value: Uint8Array;
2191
- }
2192
- /**
2193
- * The name of the uninterpreted option. Each string represents a segment in
2194
- * a dot-separated name. is_extension is true iff a segment represents an
2195
- * extension (denoted with parentheses in options specs in .proto files).
2196
- * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
2197
- * "foo.(bar.baz).moo".
2198
- */
2199
- export interface UninterpretedOption_NamePartAmino {
2200
- name_part?: string;
2201
- is_extension?: boolean;
2202
- }
2203
- export interface UninterpretedOption_NamePartAminoMsg {
2204
- type: "/google.protobuf.NamePart";
2205
- value: UninterpretedOption_NamePartAmino;
2206
- }
2207
- /**
2208
- * The name of the uninterpreted option. Each string represents a segment in
2209
- * a dot-separated name. is_extension is true iff a segment represents an
2210
- * extension (denoted with parentheses in options specs in .proto files).
2211
- * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
2212
- * "foo.(bar.baz).moo".
2213
- */
2214
- export interface UninterpretedOption_NamePartSDKType {
2215
- name_part: string;
2216
- is_extension: boolean;
2217
- }
2218
- /**
2219
- * TODO Enums in C++ gencode (and potentially other languages) are
2220
- * not well scoped. This means that each of the feature enums below can clash
2221
- * with each other. The short names we've chosen maximize call-site
2222
- * readability, but leave us very open to this scenario. A future feature will
2223
- * be designed and implemented to handle this, hopefully before we ever hit a
2224
- * conflict here.
2225
- */
2226
- export interface FeatureSet {
2227
- fieldPresence: FeatureSet_FieldPresence;
2228
- enumType: FeatureSet_EnumType;
2229
- repeatedFieldEncoding: FeatureSet_RepeatedFieldEncoding;
2230
- utf8Validation: FeatureSet_Utf8Validation;
2231
- messageEncoding: FeatureSet_MessageEncoding;
2232
- jsonFormat: FeatureSet_JsonFormat;
2233
- }
2234
- export interface FeatureSetProtoMsg {
2235
- typeUrl: "/google.protobuf.FeatureSet";
2236
- value: Uint8Array;
2237
- }
2238
- /**
2239
- * TODO Enums in C++ gencode (and potentially other languages) are
2240
- * not well scoped. This means that each of the feature enums below can clash
2241
- * with each other. The short names we've chosen maximize call-site
2242
- * readability, but leave us very open to this scenario. A future feature will
2243
- * be designed and implemented to handle this, hopefully before we ever hit a
2244
- * conflict here.
2245
- */
2246
- export interface FeatureSetAmino {
2247
- field_presence?: FeatureSet_FieldPresence;
2248
- enum_type?: FeatureSet_EnumType;
2249
- repeated_field_encoding?: FeatureSet_RepeatedFieldEncoding;
2250
- utf8_validation?: FeatureSet_Utf8Validation;
2251
- message_encoding?: FeatureSet_MessageEncoding;
2252
- json_format?: FeatureSet_JsonFormat;
2253
- }
2254
- export interface FeatureSetAminoMsg {
2255
- type: "/google.protobuf.FeatureSet";
2256
- value: FeatureSetAmino;
2257
- }
2258
- /**
2259
- * TODO Enums in C++ gencode (and potentially other languages) are
2260
- * not well scoped. This means that each of the feature enums below can clash
2261
- * with each other. The short names we've chosen maximize call-site
2262
- * readability, but leave us very open to this scenario. A future feature will
2263
- * be designed and implemented to handle this, hopefully before we ever hit a
2264
- * conflict here.
2265
- */
2266
- export interface FeatureSetSDKType {
2267
- field_presence: FeatureSet_FieldPresence;
2268
- enum_type: FeatureSet_EnumType;
2269
- repeated_field_encoding: FeatureSet_RepeatedFieldEncoding;
2270
- utf8_validation: FeatureSet_Utf8Validation;
2271
- message_encoding: FeatureSet_MessageEncoding;
2272
- json_format: FeatureSet_JsonFormat;
2273
- }
2274
- /**
2275
- * A compiled specification for the defaults of a set of features. These
2276
- * messages are generated from FeatureSet extensions and can be used to seed
2277
- * feature resolution. The resolution with this object becomes a simple search
2278
- * for the closest matching edition, followed by proto merges.
2279
- */
2280
- export interface FeatureSetDefaults {
2281
- defaults: FeatureSetDefaults_FeatureSetEditionDefault[];
2282
- /**
2283
- * The minimum supported edition (inclusive) when this was constructed.
2284
- * Editions before this will not have defaults.
2285
- */
2286
- minimumEdition: Edition;
2287
- /**
2288
- * The maximum known edition (inclusive) when this was constructed. Editions
2289
- * after this will not have reliable defaults.
2290
- */
2291
- maximumEdition: Edition;
2292
- }
2293
- export interface FeatureSetDefaultsProtoMsg {
2294
- typeUrl: "/google.protobuf.FeatureSetDefaults";
2295
- value: Uint8Array;
2296
- }
2297
- /**
2298
- * A compiled specification for the defaults of a set of features. These
2299
- * messages are generated from FeatureSet extensions and can be used to seed
2300
- * feature resolution. The resolution with this object becomes a simple search
2301
- * for the closest matching edition, followed by proto merges.
2302
- */
2303
- export interface FeatureSetDefaultsAmino {
2304
- defaults?: FeatureSetDefaults_FeatureSetEditionDefaultAmino[];
2305
- /**
2306
- * The minimum supported edition (inclusive) when this was constructed.
2307
- * Editions before this will not have defaults.
2308
- */
2309
- minimum_edition?: Edition;
2310
- /**
2311
- * The maximum known edition (inclusive) when this was constructed. Editions
2312
- * after this will not have reliable defaults.
2313
- */
2314
- maximum_edition?: Edition;
2315
- }
2316
- export interface FeatureSetDefaultsAminoMsg {
2317
- type: "/google.protobuf.FeatureSetDefaults";
2318
- value: FeatureSetDefaultsAmino;
2319
- }
2320
- /**
2321
- * A compiled specification for the defaults of a set of features. These
2322
- * messages are generated from FeatureSet extensions and can be used to seed
2323
- * feature resolution. The resolution with this object becomes a simple search
2324
- * for the closest matching edition, followed by proto merges.
2325
- */
2326
- export interface FeatureSetDefaultsSDKType {
2327
- defaults: FeatureSetDefaults_FeatureSetEditionDefaultSDKType[];
2328
- minimum_edition: Edition;
2329
- maximum_edition: Edition;
2330
- }
2331
- /**
2332
- * A map from every known edition with a unique set of defaults to its
2333
- * defaults. Not all editions may be contained here. For a given edition,
2334
- * the defaults at the closest matching edition ordered at or before it should
2335
- * be used. This field must be in strict ascending order by edition.
2336
- */
2337
- export interface FeatureSetDefaults_FeatureSetEditionDefault {
2338
- edition: Edition;
2339
- /** Defaults of features that can be overridden in this edition. */
2340
- overridableFeatures?: FeatureSet;
2341
- /** Defaults of features that can't be overridden in this edition. */
2342
- fixedFeatures?: FeatureSet;
2343
- }
2344
- export interface FeatureSetDefaults_FeatureSetEditionDefaultProtoMsg {
2345
- typeUrl: "/google.protobuf.FeatureSetEditionDefault";
2346
- value: Uint8Array;
2347
- }
2348
- /**
2349
- * A map from every known edition with a unique set of defaults to its
2350
- * defaults. Not all editions may be contained here. For a given edition,
2351
- * the defaults at the closest matching edition ordered at or before it should
2352
- * be used. This field must be in strict ascending order by edition.
2353
- */
2354
- export interface FeatureSetDefaults_FeatureSetEditionDefaultAmino {
2355
- edition?: Edition;
2356
- /** Defaults of features that can be overridden in this edition. */
2357
- overridable_features?: FeatureSetAmino;
2358
- /** Defaults of features that can't be overridden in this edition. */
2359
- fixed_features?: FeatureSetAmino;
2360
- }
2361
- export interface FeatureSetDefaults_FeatureSetEditionDefaultAminoMsg {
2362
- type: "/google.protobuf.FeatureSetEditionDefault";
2363
- value: FeatureSetDefaults_FeatureSetEditionDefaultAmino;
2364
- }
2365
- /**
2366
- * A map from every known edition with a unique set of defaults to its
2367
- * defaults. Not all editions may be contained here. For a given edition,
2368
- * the defaults at the closest matching edition ordered at or before it should
2369
- * be used. This field must be in strict ascending order by edition.
2370
- */
2371
- export interface FeatureSetDefaults_FeatureSetEditionDefaultSDKType {
2372
- edition: Edition;
2373
- overridable_features?: FeatureSetSDKType;
2374
- fixed_features?: FeatureSetSDKType;
2375
- }
2376
- /**
2377
- * Encapsulates information about the original source file from which a
2378
- * FileDescriptorProto was generated.
2379
- */
2380
- export interface SourceCodeInfo {
2381
- /**
2382
- * A Location identifies a piece of source code in a .proto file which
2383
- * corresponds to a particular definition. This information is intended
2384
- * to be useful to IDEs, code indexers, documentation generators, and similar
2385
- * tools.
2386
- *
2387
- * For example, say we have a file like:
2388
- * message Foo {
2389
- * optional string foo = 1;
2390
- * }
2391
- * Let's look at just the field definition:
2392
- * optional string foo = 1;
2393
- * ^ ^^ ^^ ^ ^^^
2394
- * a bc de f ghi
2395
- * We have the following locations:
2396
- * span path represents
2397
- * [a,i) [ 4, 0, 2, 0 ] The whole field definition.
2398
- * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
2399
- * [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
2400
- * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
2401
- * [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
2402
- *
2403
- * Notes:
2404
- * - A location may refer to a repeated field itself (i.e. not to any
2405
- * particular index within it). This is used whenever a set of elements are
2406
- * logically enclosed in a single code segment. For example, an entire
2407
- * extend block (possibly containing multiple extension definitions) will
2408
- * have an outer location whose path refers to the "extensions" repeated
2409
- * field without an index.
2410
- * - Multiple locations may have the same path. This happens when a single
2411
- * logical declaration is spread out across multiple places. The most
2412
- * obvious example is the "extend" block again -- there may be multiple
2413
- * extend blocks in the same scope, each of which will have the same path.
2414
- * - A location's span is not always a subset of its parent's span. For
2415
- * example, the "extendee" of an extension declaration appears at the
2416
- * beginning of the "extend" block and is shared by all extensions within
2417
- * the block.
2418
- * - Just because a location's span is a subset of some other location's span
2419
- * does not mean that it is a descendant. For example, a "group" defines
2420
- * both a type and a field in a single declaration. Thus, the locations
2421
- * corresponding to the type and field and their components will overlap.
2422
- * - Code which tries to interpret locations should probably be designed to
2423
- * ignore those that it doesn't understand, as more types of locations could
2424
- * be recorded in the future.
2425
- */
2426
- location: SourceCodeInfo_Location[];
2427
- }
2428
- export interface SourceCodeInfoProtoMsg {
2429
- typeUrl: "/google.protobuf.SourceCodeInfo";
2430
- value: Uint8Array;
2431
- }
2432
- /**
2433
- * Encapsulates information about the original source file from which a
2434
- * FileDescriptorProto was generated.
2435
- */
2436
- export interface SourceCodeInfoAmino {
2437
- /**
2438
- * A Location identifies a piece of source code in a .proto file which
2439
- * corresponds to a particular definition. This information is intended
2440
- * to be useful to IDEs, code indexers, documentation generators, and similar
2441
- * tools.
2442
- *
2443
- * For example, say we have a file like:
2444
- * message Foo {
2445
- * optional string foo = 1;
2446
- * }
2447
- * Let's look at just the field definition:
2448
- * optional string foo = 1;
2449
- * ^ ^^ ^^ ^ ^^^
2450
- * a bc de f ghi
2451
- * We have the following locations:
2452
- * span path represents
2453
- * [a,i) [ 4, 0, 2, 0 ] The whole field definition.
2454
- * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
2455
- * [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
2456
- * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
2457
- * [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
2458
- *
2459
- * Notes:
2460
- * - A location may refer to a repeated field itself (i.e. not to any
2461
- * particular index within it). This is used whenever a set of elements are
2462
- * logically enclosed in a single code segment. For example, an entire
2463
- * extend block (possibly containing multiple extension definitions) will
2464
- * have an outer location whose path refers to the "extensions" repeated
2465
- * field without an index.
2466
- * - Multiple locations may have the same path. This happens when a single
2467
- * logical declaration is spread out across multiple places. The most
2468
- * obvious example is the "extend" block again -- there may be multiple
2469
- * extend blocks in the same scope, each of which will have the same path.
2470
- * - A location's span is not always a subset of its parent's span. For
2471
- * example, the "extendee" of an extension declaration appears at the
2472
- * beginning of the "extend" block and is shared by all extensions within
2473
- * the block.
2474
- * - Just because a location's span is a subset of some other location's span
2475
- * does not mean that it is a descendant. For example, a "group" defines
2476
- * both a type and a field in a single declaration. Thus, the locations
2477
- * corresponding to the type and field and their components will overlap.
2478
- * - Code which tries to interpret locations should probably be designed to
2479
- * ignore those that it doesn't understand, as more types of locations could
2480
- * be recorded in the future.
2481
- */
2482
- location?: SourceCodeInfo_LocationAmino[];
2483
- }
2484
- export interface SourceCodeInfoAminoMsg {
2485
- type: "/google.protobuf.SourceCodeInfo";
2486
- value: SourceCodeInfoAmino;
2487
- }
2488
- /**
2489
- * Encapsulates information about the original source file from which a
2490
- * FileDescriptorProto was generated.
2491
- */
2492
- export interface SourceCodeInfoSDKType {
2493
- location: SourceCodeInfo_LocationSDKType[];
2494
- }
2495
- export interface SourceCodeInfo_Location {
2496
- /**
2497
- * Identifies which part of the FileDescriptorProto was defined at this
2498
- * location.
2499
- *
2500
- * Each element is a field number or an index. They form a path from
2501
- * the root FileDescriptorProto to the place where the definition appears.
2502
- * For example, this path:
2503
- * [ 4, 3, 2, 7, 1 ]
2504
- * refers to:
2505
- * file.message_type(3) // 4, 3
2506
- * .field(7) // 2, 7
2507
- * .name() // 1
2508
- * This is because FileDescriptorProto.message_type has field number 4:
2509
- * repeated DescriptorProto message_type = 4;
2510
- * and DescriptorProto.field has field number 2:
2511
- * repeated FieldDescriptorProto field = 2;
2512
- * and FieldDescriptorProto.name has field number 1:
2513
- * optional string name = 1;
2514
- *
2515
- * Thus, the above path gives the location of a field name. If we removed
2516
- * the last element:
2517
- * [ 4, 3, 2, 7 ]
2518
- * this path refers to the whole field declaration (from the beginning
2519
- * of the label to the terminating semicolon).
2520
- */
2521
- path: number[];
2522
- /**
2523
- * Always has exactly three or four elements: start line, start column,
2524
- * end line (optional, otherwise assumed same as start line), end column.
2525
- * These are packed into a single field for efficiency. Note that line
2526
- * and column numbers are zero-based -- typically you will want to add
2527
- * 1 to each before displaying to a user.
2528
- */
2529
- span: number[];
2530
- /**
2531
- * If this SourceCodeInfo represents a complete declaration, these are any
2532
- * comments appearing before and after the declaration which appear to be
2533
- * attached to the declaration.
2534
- *
2535
- * A series of line comments appearing on consecutive lines, with no other
2536
- * tokens appearing on those lines, will be treated as a single comment.
2537
- *
2538
- * leading_detached_comments will keep paragraphs of comments that appear
2539
- * before (but not connected to) the current element. Each paragraph,
2540
- * separated by empty lines, will be one comment element in the repeated
2541
- * field.
2542
- *
2543
- * Only the comment content is provided; comment markers (e.g. //) are
2544
- * stripped out. For block comments, leading whitespace and an asterisk
2545
- * will be stripped from the beginning of each line other than the first.
2546
- * Newlines are included in the output.
2547
- *
2548
- * Examples:
2549
- *
2550
- * optional int32 foo = 1; // Comment attached to foo.
2551
- * // Comment attached to bar.
2552
- * optional int32 bar = 2;
2553
- *
2554
- * optional string baz = 3;
2555
- * // Comment attached to baz.
2556
- * // Another line attached to baz.
2557
- *
2558
- * // Comment attached to moo.
2559
- * //
2560
- * // Another line attached to moo.
2561
- * optional double moo = 4;
2562
- *
2563
- * // Detached comment for corge. This is not leading or trailing comments
2564
- * // to moo or corge because there are blank lines separating it from
2565
- * // both.
2566
- *
2567
- * // Detached comment for corge paragraph 2.
2568
- *
2569
- * optional string corge = 5;
2570
- * /* Block comment attached
2571
- * * to corge. Leading asterisks
2572
- * * will be removed. *\/
2573
- * /* Block comment attached to
2574
- * * grault. *\/
2575
- * optional int32 grault = 6;
2576
- *
2577
- * // ignored detached comments.
2578
- */
2579
- leadingComments: string;
2580
- trailingComments: string;
2581
- leadingDetachedComments: string[];
2582
- }
2583
- export interface SourceCodeInfo_LocationProtoMsg {
2584
- typeUrl: "/google.protobuf.Location";
2585
- value: Uint8Array;
2586
- }
2587
- export interface SourceCodeInfo_LocationAmino {
2588
- /**
2589
- * Identifies which part of the FileDescriptorProto was defined at this
2590
- * location.
2591
- *
2592
- * Each element is a field number or an index. They form a path from
2593
- * the root FileDescriptorProto to the place where the definition appears.
2594
- * For example, this path:
2595
- * [ 4, 3, 2, 7, 1 ]
2596
- * refers to:
2597
- * file.message_type(3) // 4, 3
2598
- * .field(7) // 2, 7
2599
- * .name() // 1
2600
- * This is because FileDescriptorProto.message_type has field number 4:
2601
- * repeated DescriptorProto message_type = 4;
2602
- * and DescriptorProto.field has field number 2:
2603
- * repeated FieldDescriptorProto field = 2;
2604
- * and FieldDescriptorProto.name has field number 1:
2605
- * optional string name = 1;
2606
- *
2607
- * Thus, the above path gives the location of a field name. If we removed
2608
- * the last element:
2609
- * [ 4, 3, 2, 7 ]
2610
- * this path refers to the whole field declaration (from the beginning
2611
- * of the label to the terminating semicolon).
2612
- */
2613
- path?: number[];
2614
- /**
2615
- * Always has exactly three or four elements: start line, start column,
2616
- * end line (optional, otherwise assumed same as start line), end column.
2617
- * These are packed into a single field for efficiency. Note that line
2618
- * and column numbers are zero-based -- typically you will want to add
2619
- * 1 to each before displaying to a user.
2620
- */
2621
- span?: number[];
2622
- /**
2623
- * If this SourceCodeInfo represents a complete declaration, these are any
2624
- * comments appearing before and after the declaration which appear to be
2625
- * attached to the declaration.
2626
- *
2627
- * A series of line comments appearing on consecutive lines, with no other
2628
- * tokens appearing on those lines, will be treated as a single comment.
2629
- *
2630
- * leading_detached_comments will keep paragraphs of comments that appear
2631
- * before (but not connected to) the current element. Each paragraph,
2632
- * separated by empty lines, will be one comment element in the repeated
2633
- * field.
2634
- *
2635
- * Only the comment content is provided; comment markers (e.g. //) are
2636
- * stripped out. For block comments, leading whitespace and an asterisk
2637
- * will be stripped from the beginning of each line other than the first.
2638
- * Newlines are included in the output.
2639
- *
2640
- * Examples:
2641
- *
2642
- * optional int32 foo = 1; // Comment attached to foo.
2643
- * // Comment attached to bar.
2644
- * optional int32 bar = 2;
2645
- *
2646
- * optional string baz = 3;
2647
- * // Comment attached to baz.
2648
- * // Another line attached to baz.
2649
- *
2650
- * // Comment attached to moo.
2651
- * //
2652
- * // Another line attached to moo.
2653
- * optional double moo = 4;
2654
- *
2655
- * // Detached comment for corge. This is not leading or trailing comments
2656
- * // to moo or corge because there are blank lines separating it from
2657
- * // both.
2658
- *
2659
- * // Detached comment for corge paragraph 2.
2660
- *
2661
- * optional string corge = 5;
2662
- * /* Block comment attached
2663
- * * to corge. Leading asterisks
2664
- * * will be removed. *\/
2665
- * /* Block comment attached to
2666
- * * grault. *\/
2667
- * optional int32 grault = 6;
2668
- *
2669
- * // ignored detached comments.
2670
- */
2671
- leading_comments?: string;
2672
- trailing_comments?: string;
2673
- leading_detached_comments?: string[];
2674
- }
2675
- export interface SourceCodeInfo_LocationAminoMsg {
2676
- type: "/google.protobuf.Location";
2677
- value: SourceCodeInfo_LocationAmino;
2678
- }
2679
- export interface SourceCodeInfo_LocationSDKType {
2680
- path: number[];
2681
- span: number[];
2682
- leading_comments: string;
2683
- trailing_comments: string;
2684
- leading_detached_comments: string[];
2685
- }
2686
- /**
2687
- * Describes the relationship between generated code and its original source
2688
- * file. A GeneratedCodeInfo message is associated with only one generated
2689
- * source file, but may contain references to different source .proto files.
2690
- */
2691
- export interface GeneratedCodeInfo {
2692
- /**
2693
- * An Annotation connects some span of text in generated code to an element
2694
- * of its generating .proto file.
2695
- */
2696
- annotation: GeneratedCodeInfo_Annotation[];
2697
- }
2698
- export interface GeneratedCodeInfoProtoMsg {
2699
- typeUrl: "/google.protobuf.GeneratedCodeInfo";
2700
- value: Uint8Array;
2701
- }
2702
- /**
2703
- * Describes the relationship between generated code and its original source
2704
- * file. A GeneratedCodeInfo message is associated with only one generated
2705
- * source file, but may contain references to different source .proto files.
2706
- */
2707
- export interface GeneratedCodeInfoAmino {
2708
- /**
2709
- * An Annotation connects some span of text in generated code to an element
2710
- * of its generating .proto file.
2711
- */
2712
- annotation?: GeneratedCodeInfo_AnnotationAmino[];
2713
- }
2714
- export interface GeneratedCodeInfoAminoMsg {
2715
- type: "/google.protobuf.GeneratedCodeInfo";
2716
- value: GeneratedCodeInfoAmino;
2717
- }
2718
- /**
2719
- * Describes the relationship between generated code and its original source
2720
- * file. A GeneratedCodeInfo message is associated with only one generated
2721
- * source file, but may contain references to different source .proto files.
2722
- */
2723
- export interface GeneratedCodeInfoSDKType {
2724
- annotation: GeneratedCodeInfo_AnnotationSDKType[];
2725
- }
2726
- export interface GeneratedCodeInfo_Annotation {
2727
- /**
2728
- * Identifies the element in the original source .proto file. This field
2729
- * is formatted the same as SourceCodeInfo.Location.path.
2730
- */
2731
- path: number[];
2732
- /** Identifies the filesystem path to the original source .proto. */
2733
- sourceFile: string;
2734
- /**
2735
- * Identifies the starting offset in bytes in the generated code
2736
- * that relates to the identified object.
2737
- */
2738
- begin: number;
2739
- /**
2740
- * Identifies the ending offset in bytes in the generated code that
2741
- * relates to the identified object. The end offset should be one past
2742
- * the last relevant byte (so the length of the text = end - begin).
2743
- */
2744
- end: number;
2745
- semantic: GeneratedCodeInfo_Annotation_Semantic;
2746
- }
2747
- export interface GeneratedCodeInfo_AnnotationProtoMsg {
2748
- typeUrl: "/google.protobuf.Annotation";
2749
- value: Uint8Array;
2750
- }
2751
- export interface GeneratedCodeInfo_AnnotationAmino {
2752
- /**
2753
- * Identifies the element in the original source .proto file. This field
2754
- * is formatted the same as SourceCodeInfo.Location.path.
2755
- */
2756
- path?: number[];
2757
- /** Identifies the filesystem path to the original source .proto. */
2758
- source_file?: string;
2759
- /**
2760
- * Identifies the starting offset in bytes in the generated code
2761
- * that relates to the identified object.
2762
- */
2763
- begin?: number;
2764
- /**
2765
- * Identifies the ending offset in bytes in the generated code that
2766
- * relates to the identified object. The end offset should be one past
2767
- * the last relevant byte (so the length of the text = end - begin).
2768
- */
2769
- end?: number;
2770
- semantic?: GeneratedCodeInfo_Annotation_Semantic;
2771
- }
2772
- export interface GeneratedCodeInfo_AnnotationAminoMsg {
2773
- type: "/google.protobuf.Annotation";
2774
- value: GeneratedCodeInfo_AnnotationAmino;
2775
- }
2776
- export interface GeneratedCodeInfo_AnnotationSDKType {
2777
- path: number[];
2778
- source_file: string;
2779
- begin: number;
2780
- end: number;
2781
- semantic: GeneratedCodeInfo_Annotation_Semantic;
2782
- }
2783
- export declare const FileDescriptorSet: {
2784
- typeUrl: string;
2785
- encode(message: FileDescriptorSet, writer?: BinaryWriter): BinaryWriter;
2786
- decode(input: BinaryReader | Uint8Array, length?: number): FileDescriptorSet;
2787
- fromPartial(object: Partial<FileDescriptorSet>): FileDescriptorSet;
2788
- fromAmino(object: FileDescriptorSetAmino): FileDescriptorSet;
2789
- toAmino(message: FileDescriptorSet): FileDescriptorSetAmino;
2790
- fromAminoMsg(object: FileDescriptorSetAminoMsg): FileDescriptorSet;
2791
- fromProtoMsg(message: FileDescriptorSetProtoMsg): FileDescriptorSet;
2792
- toProto(message: FileDescriptorSet): Uint8Array;
2793
- toProtoMsg(message: FileDescriptorSet): FileDescriptorSetProtoMsg;
2794
- };
2795
- export declare const FileDescriptorProto: {
2796
- typeUrl: string;
2797
- encode(message: FileDescriptorProto, writer?: BinaryWriter): BinaryWriter;
2798
- decode(input: BinaryReader | Uint8Array, length?: number): FileDescriptorProto;
2799
- fromPartial(object: Partial<FileDescriptorProto>): FileDescriptorProto;
2800
- fromAmino(object: FileDescriptorProtoAmino): FileDescriptorProto;
2801
- toAmino(message: FileDescriptorProto): FileDescriptorProtoAmino;
2802
- fromAminoMsg(object: FileDescriptorProtoAminoMsg): FileDescriptorProto;
2803
- fromProtoMsg(message: FileDescriptorProtoProtoMsg): FileDescriptorProto;
2804
- toProto(message: FileDescriptorProto): Uint8Array;
2805
- toProtoMsg(message: FileDescriptorProto): FileDescriptorProtoProtoMsg;
2806
- };
2807
- export declare const DescriptorProto: {
2808
- typeUrl: string;
2809
- encode(message: DescriptorProto, writer?: BinaryWriter): BinaryWriter;
2810
- decode(input: BinaryReader | Uint8Array, length?: number): DescriptorProto;
2811
- fromPartial(object: Partial<DescriptorProto>): DescriptorProto;
2812
- fromAmino(object: DescriptorProtoAmino): DescriptorProto;
2813
- toAmino(message: DescriptorProto): DescriptorProtoAmino;
2814
- fromAminoMsg(object: DescriptorProtoAminoMsg): DescriptorProto;
2815
- fromProtoMsg(message: DescriptorProtoProtoMsg): DescriptorProto;
2816
- toProto(message: DescriptorProto): Uint8Array;
2817
- toProtoMsg(message: DescriptorProto): DescriptorProtoProtoMsg;
2818
- };
2819
- export declare const DescriptorProto_ExtensionRange: {
2820
- typeUrl: string;
2821
- encode(message: DescriptorProto_ExtensionRange, writer?: BinaryWriter): BinaryWriter;
2822
- decode(input: BinaryReader | Uint8Array, length?: number): DescriptorProto_ExtensionRange;
2823
- fromPartial(object: Partial<DescriptorProto_ExtensionRange>): DescriptorProto_ExtensionRange;
2824
- fromAmino(object: DescriptorProto_ExtensionRangeAmino): DescriptorProto_ExtensionRange;
2825
- toAmino(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeAmino;
2826
- fromAminoMsg(object: DescriptorProto_ExtensionRangeAminoMsg): DescriptorProto_ExtensionRange;
2827
- fromProtoMsg(message: DescriptorProto_ExtensionRangeProtoMsg): DescriptorProto_ExtensionRange;
2828
- toProto(message: DescriptorProto_ExtensionRange): Uint8Array;
2829
- toProtoMsg(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeProtoMsg;
2830
- };
2831
- export declare const DescriptorProto_ReservedRange: {
2832
- typeUrl: string;
2833
- encode(message: DescriptorProto_ReservedRange, writer?: BinaryWriter): BinaryWriter;
2834
- decode(input: BinaryReader | Uint8Array, length?: number): DescriptorProto_ReservedRange;
2835
- fromPartial(object: Partial<DescriptorProto_ReservedRange>): DescriptorProto_ReservedRange;
2836
- fromAmino(object: DescriptorProto_ReservedRangeAmino): DescriptorProto_ReservedRange;
2837
- toAmino(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeAmino;
2838
- fromAminoMsg(object: DescriptorProto_ReservedRangeAminoMsg): DescriptorProto_ReservedRange;
2839
- fromProtoMsg(message: DescriptorProto_ReservedRangeProtoMsg): DescriptorProto_ReservedRange;
2840
- toProto(message: DescriptorProto_ReservedRange): Uint8Array;
2841
- toProtoMsg(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeProtoMsg;
2842
- };
2843
- export declare const ExtensionRangeOptions: {
2844
- typeUrl: string;
2845
- encode(message: ExtensionRangeOptions, writer?: BinaryWriter): BinaryWriter;
2846
- decode(input: BinaryReader | Uint8Array, length?: number): ExtensionRangeOptions;
2847
- fromPartial(object: Partial<ExtensionRangeOptions>): ExtensionRangeOptions;
2848
- fromAmino(object: ExtensionRangeOptionsAmino): ExtensionRangeOptions;
2849
- toAmino(message: ExtensionRangeOptions): ExtensionRangeOptionsAmino;
2850
- fromAminoMsg(object: ExtensionRangeOptionsAminoMsg): ExtensionRangeOptions;
2851
- fromProtoMsg(message: ExtensionRangeOptionsProtoMsg): ExtensionRangeOptions;
2852
- toProto(message: ExtensionRangeOptions): Uint8Array;
2853
- toProtoMsg(message: ExtensionRangeOptions): ExtensionRangeOptionsProtoMsg;
2854
- };
2855
- export declare const ExtensionRangeOptions_Declaration: {
2856
- typeUrl: string;
2857
- encode(message: ExtensionRangeOptions_Declaration, writer?: BinaryWriter): BinaryWriter;
2858
- decode(input: BinaryReader | Uint8Array, length?: number): ExtensionRangeOptions_Declaration;
2859
- fromPartial(object: Partial<ExtensionRangeOptions_Declaration>): ExtensionRangeOptions_Declaration;
2860
- fromAmino(object: ExtensionRangeOptions_DeclarationAmino): ExtensionRangeOptions_Declaration;
2861
- toAmino(message: ExtensionRangeOptions_Declaration): ExtensionRangeOptions_DeclarationAmino;
2862
- fromAminoMsg(object: ExtensionRangeOptions_DeclarationAminoMsg): ExtensionRangeOptions_Declaration;
2863
- fromProtoMsg(message: ExtensionRangeOptions_DeclarationProtoMsg): ExtensionRangeOptions_Declaration;
2864
- toProto(message: ExtensionRangeOptions_Declaration): Uint8Array;
2865
- toProtoMsg(message: ExtensionRangeOptions_Declaration): ExtensionRangeOptions_DeclarationProtoMsg;
2866
- };
2867
- export declare const FieldDescriptorProto: {
2868
- typeUrl: string;
2869
- encode(message: FieldDescriptorProto, writer?: BinaryWriter): BinaryWriter;
2870
- decode(input: BinaryReader | Uint8Array, length?: number): FieldDescriptorProto;
2871
- fromPartial(object: Partial<FieldDescriptorProto>): FieldDescriptorProto;
2872
- fromAmino(object: FieldDescriptorProtoAmino): FieldDescriptorProto;
2873
- toAmino(message: FieldDescriptorProto): FieldDescriptorProtoAmino;
2874
- fromAminoMsg(object: FieldDescriptorProtoAminoMsg): FieldDescriptorProto;
2875
- fromProtoMsg(message: FieldDescriptorProtoProtoMsg): FieldDescriptorProto;
2876
- toProto(message: FieldDescriptorProto): Uint8Array;
2877
- toProtoMsg(message: FieldDescriptorProto): FieldDescriptorProtoProtoMsg;
2878
- };
2879
- export declare const OneofDescriptorProto: {
2880
- typeUrl: string;
2881
- encode(message: OneofDescriptorProto, writer?: BinaryWriter): BinaryWriter;
2882
- decode(input: BinaryReader | Uint8Array, length?: number): OneofDescriptorProto;
2883
- fromPartial(object: Partial<OneofDescriptorProto>): OneofDescriptorProto;
2884
- fromAmino(object: OneofDescriptorProtoAmino): OneofDescriptorProto;
2885
- toAmino(message: OneofDescriptorProto): OneofDescriptorProtoAmino;
2886
- fromAminoMsg(object: OneofDescriptorProtoAminoMsg): OneofDescriptorProto;
2887
- fromProtoMsg(message: OneofDescriptorProtoProtoMsg): OneofDescriptorProto;
2888
- toProto(message: OneofDescriptorProto): Uint8Array;
2889
- toProtoMsg(message: OneofDescriptorProto): OneofDescriptorProtoProtoMsg;
2890
- };
2891
- export declare const EnumDescriptorProto: {
2892
- typeUrl: string;
2893
- encode(message: EnumDescriptorProto, writer?: BinaryWriter): BinaryWriter;
2894
- decode(input: BinaryReader | Uint8Array, length?: number): EnumDescriptorProto;
2895
- fromPartial(object: Partial<EnumDescriptorProto>): EnumDescriptorProto;
2896
- fromAmino(object: EnumDescriptorProtoAmino): EnumDescriptorProto;
2897
- toAmino(message: EnumDescriptorProto): EnumDescriptorProtoAmino;
2898
- fromAminoMsg(object: EnumDescriptorProtoAminoMsg): EnumDescriptorProto;
2899
- fromProtoMsg(message: EnumDescriptorProtoProtoMsg): EnumDescriptorProto;
2900
- toProto(message: EnumDescriptorProto): Uint8Array;
2901
- toProtoMsg(message: EnumDescriptorProto): EnumDescriptorProtoProtoMsg;
2902
- };
2903
- export declare const EnumDescriptorProto_EnumReservedRange: {
2904
- typeUrl: string;
2905
- encode(message: EnumDescriptorProto_EnumReservedRange, writer?: BinaryWriter): BinaryWriter;
2906
- decode(input: BinaryReader | Uint8Array, length?: number): EnumDescriptorProto_EnumReservedRange;
2907
- fromPartial(object: Partial<EnumDescriptorProto_EnumReservedRange>): EnumDescriptorProto_EnumReservedRange;
2908
- fromAmino(object: EnumDescriptorProto_EnumReservedRangeAmino): EnumDescriptorProto_EnumReservedRange;
2909
- toAmino(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeAmino;
2910
- fromAminoMsg(object: EnumDescriptorProto_EnumReservedRangeAminoMsg): EnumDescriptorProto_EnumReservedRange;
2911
- fromProtoMsg(message: EnumDescriptorProto_EnumReservedRangeProtoMsg): EnumDescriptorProto_EnumReservedRange;
2912
- toProto(message: EnumDescriptorProto_EnumReservedRange): Uint8Array;
2913
- toProtoMsg(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeProtoMsg;
2914
- };
2915
- export declare const EnumValueDescriptorProto: {
2916
- typeUrl: string;
2917
- encode(message: EnumValueDescriptorProto, writer?: BinaryWriter): BinaryWriter;
2918
- decode(input: BinaryReader | Uint8Array, length?: number): EnumValueDescriptorProto;
2919
- fromPartial(object: Partial<EnumValueDescriptorProto>): EnumValueDescriptorProto;
2920
- fromAmino(object: EnumValueDescriptorProtoAmino): EnumValueDescriptorProto;
2921
- toAmino(message: EnumValueDescriptorProto): EnumValueDescriptorProtoAmino;
2922
- fromAminoMsg(object: EnumValueDescriptorProtoAminoMsg): EnumValueDescriptorProto;
2923
- fromProtoMsg(message: EnumValueDescriptorProtoProtoMsg): EnumValueDescriptorProto;
2924
- toProto(message: EnumValueDescriptorProto): Uint8Array;
2925
- toProtoMsg(message: EnumValueDescriptorProto): EnumValueDescriptorProtoProtoMsg;
2926
- };
2927
- export declare const ServiceDescriptorProto: {
2928
- typeUrl: string;
2929
- encode(message: ServiceDescriptorProto, writer?: BinaryWriter): BinaryWriter;
2930
- decode(input: BinaryReader | Uint8Array, length?: number): ServiceDescriptorProto;
2931
- fromPartial(object: Partial<ServiceDescriptorProto>): ServiceDescriptorProto;
2932
- fromAmino(object: ServiceDescriptorProtoAmino): ServiceDescriptorProto;
2933
- toAmino(message: ServiceDescriptorProto): ServiceDescriptorProtoAmino;
2934
- fromAminoMsg(object: ServiceDescriptorProtoAminoMsg): ServiceDescriptorProto;
2935
- fromProtoMsg(message: ServiceDescriptorProtoProtoMsg): ServiceDescriptorProto;
2936
- toProto(message: ServiceDescriptorProto): Uint8Array;
2937
- toProtoMsg(message: ServiceDescriptorProto): ServiceDescriptorProtoProtoMsg;
2938
- };
2939
- export declare const MethodDescriptorProto: {
2940
- typeUrl: string;
2941
- encode(message: MethodDescriptorProto, writer?: BinaryWriter): BinaryWriter;
2942
- decode(input: BinaryReader | Uint8Array, length?: number): MethodDescriptorProto;
2943
- fromPartial(object: Partial<MethodDescriptorProto>): MethodDescriptorProto;
2944
- fromAmino(object: MethodDescriptorProtoAmino): MethodDescriptorProto;
2945
- toAmino(message: MethodDescriptorProto): MethodDescriptorProtoAmino;
2946
- fromAminoMsg(object: MethodDescriptorProtoAminoMsg): MethodDescriptorProto;
2947
- fromProtoMsg(message: MethodDescriptorProtoProtoMsg): MethodDescriptorProto;
2948
- toProto(message: MethodDescriptorProto): Uint8Array;
2949
- toProtoMsg(message: MethodDescriptorProto): MethodDescriptorProtoProtoMsg;
2950
- };
2951
- export declare const FileOptions: {
2952
- typeUrl: string;
2953
- encode(message: FileOptions, writer?: BinaryWriter): BinaryWriter;
2954
- decode(input: BinaryReader | Uint8Array, length?: number): FileOptions;
2955
- fromPartial(object: Partial<FileOptions>): FileOptions;
2956
- fromAmino(object: FileOptionsAmino): FileOptions;
2957
- toAmino(message: FileOptions): FileOptionsAmino;
2958
- fromAminoMsg(object: FileOptionsAminoMsg): FileOptions;
2959
- fromProtoMsg(message: FileOptionsProtoMsg): FileOptions;
2960
- toProto(message: FileOptions): Uint8Array;
2961
- toProtoMsg(message: FileOptions): FileOptionsProtoMsg;
2962
- };
2963
- export declare const MessageOptions: {
2964
- typeUrl: string;
2965
- encode(message: MessageOptions, writer?: BinaryWriter): BinaryWriter;
2966
- decode(input: BinaryReader | Uint8Array, length?: number): MessageOptions;
2967
- fromPartial(object: Partial<MessageOptions>): MessageOptions;
2968
- fromAmino(object: MessageOptionsAmino): MessageOptions;
2969
- toAmino(message: MessageOptions): MessageOptionsAmino;
2970
- fromAminoMsg(object: MessageOptionsAminoMsg): MessageOptions;
2971
- fromProtoMsg(message: MessageOptionsProtoMsg): MessageOptions;
2972
- toProto(message: MessageOptions): Uint8Array;
2973
- toProtoMsg(message: MessageOptions): MessageOptionsProtoMsg;
2974
- };
2975
- export declare const FieldOptions: {
2976
- typeUrl: string;
2977
- encode(message: FieldOptions, writer?: BinaryWriter): BinaryWriter;
2978
- decode(input: BinaryReader | Uint8Array, length?: number): FieldOptions;
2979
- fromPartial(object: Partial<FieldOptions>): FieldOptions;
2980
- fromAmino(object: FieldOptionsAmino): FieldOptions;
2981
- toAmino(message: FieldOptions): FieldOptionsAmino;
2982
- fromAminoMsg(object: FieldOptionsAminoMsg): FieldOptions;
2983
- fromProtoMsg(message: FieldOptionsProtoMsg): FieldOptions;
2984
- toProto(message: FieldOptions): Uint8Array;
2985
- toProtoMsg(message: FieldOptions): FieldOptionsProtoMsg;
2986
- };
2987
- export declare const FieldOptions_EditionDefault: {
2988
- typeUrl: string;
2989
- encode(message: FieldOptions_EditionDefault, writer?: BinaryWriter): BinaryWriter;
2990
- decode(input: BinaryReader | Uint8Array, length?: number): FieldOptions_EditionDefault;
2991
- fromPartial(object: Partial<FieldOptions_EditionDefault>): FieldOptions_EditionDefault;
2992
- fromAmino(object: FieldOptions_EditionDefaultAmino): FieldOptions_EditionDefault;
2993
- toAmino(message: FieldOptions_EditionDefault): FieldOptions_EditionDefaultAmino;
2994
- fromAminoMsg(object: FieldOptions_EditionDefaultAminoMsg): FieldOptions_EditionDefault;
2995
- fromProtoMsg(message: FieldOptions_EditionDefaultProtoMsg): FieldOptions_EditionDefault;
2996
- toProto(message: FieldOptions_EditionDefault): Uint8Array;
2997
- toProtoMsg(message: FieldOptions_EditionDefault): FieldOptions_EditionDefaultProtoMsg;
2998
- };
2999
- export declare const FieldOptions_FeatureSupport: {
3000
- typeUrl: string;
3001
- encode(message: FieldOptions_FeatureSupport, writer?: BinaryWriter): BinaryWriter;
3002
- decode(input: BinaryReader | Uint8Array, length?: number): FieldOptions_FeatureSupport;
3003
- fromPartial(object: Partial<FieldOptions_FeatureSupport>): FieldOptions_FeatureSupport;
3004
- fromAmino(object: FieldOptions_FeatureSupportAmino): FieldOptions_FeatureSupport;
3005
- toAmino(message: FieldOptions_FeatureSupport): FieldOptions_FeatureSupportAmino;
3006
- fromAminoMsg(object: FieldOptions_FeatureSupportAminoMsg): FieldOptions_FeatureSupport;
3007
- fromProtoMsg(message: FieldOptions_FeatureSupportProtoMsg): FieldOptions_FeatureSupport;
3008
- toProto(message: FieldOptions_FeatureSupport): Uint8Array;
3009
- toProtoMsg(message: FieldOptions_FeatureSupport): FieldOptions_FeatureSupportProtoMsg;
3010
- };
3011
- export declare const OneofOptions: {
3012
- typeUrl: string;
3013
- encode(message: OneofOptions, writer?: BinaryWriter): BinaryWriter;
3014
- decode(input: BinaryReader | Uint8Array, length?: number): OneofOptions;
3015
- fromPartial(object: Partial<OneofOptions>): OneofOptions;
3016
- fromAmino(object: OneofOptionsAmino): OneofOptions;
3017
- toAmino(message: OneofOptions): OneofOptionsAmino;
3018
- fromAminoMsg(object: OneofOptionsAminoMsg): OneofOptions;
3019
- fromProtoMsg(message: OneofOptionsProtoMsg): OneofOptions;
3020
- toProto(message: OneofOptions): Uint8Array;
3021
- toProtoMsg(message: OneofOptions): OneofOptionsProtoMsg;
3022
- };
3023
- export declare const EnumOptions: {
3024
- typeUrl: string;
3025
- encode(message: EnumOptions, writer?: BinaryWriter): BinaryWriter;
3026
- decode(input: BinaryReader | Uint8Array, length?: number): EnumOptions;
3027
- fromPartial(object: Partial<EnumOptions>): EnumOptions;
3028
- fromAmino(object: EnumOptionsAmino): EnumOptions;
3029
- toAmino(message: EnumOptions): EnumOptionsAmino;
3030
- fromAminoMsg(object: EnumOptionsAminoMsg): EnumOptions;
3031
- fromProtoMsg(message: EnumOptionsProtoMsg): EnumOptions;
3032
- toProto(message: EnumOptions): Uint8Array;
3033
- toProtoMsg(message: EnumOptions): EnumOptionsProtoMsg;
3034
- };
3035
- export declare const EnumValueOptions: {
3036
- typeUrl: string;
3037
- encode(message: EnumValueOptions, writer?: BinaryWriter): BinaryWriter;
3038
- decode(input: BinaryReader | Uint8Array, length?: number): EnumValueOptions;
3039
- fromPartial(object: Partial<EnumValueOptions>): EnumValueOptions;
3040
- fromAmino(object: EnumValueOptionsAmino): EnumValueOptions;
3041
- toAmino(message: EnumValueOptions): EnumValueOptionsAmino;
3042
- fromAminoMsg(object: EnumValueOptionsAminoMsg): EnumValueOptions;
3043
- fromProtoMsg(message: EnumValueOptionsProtoMsg): EnumValueOptions;
3044
- toProto(message: EnumValueOptions): Uint8Array;
3045
- toProtoMsg(message: EnumValueOptions): EnumValueOptionsProtoMsg;
3046
- };
3047
- export declare const ServiceOptions: {
3048
- typeUrl: string;
3049
- encode(message: ServiceOptions, writer?: BinaryWriter): BinaryWriter;
3050
- decode(input: BinaryReader | Uint8Array, length?: number): ServiceOptions;
3051
- fromPartial(object: Partial<ServiceOptions>): ServiceOptions;
3052
- fromAmino(object: ServiceOptionsAmino): ServiceOptions;
3053
- toAmino(message: ServiceOptions): ServiceOptionsAmino;
3054
- fromAminoMsg(object: ServiceOptionsAminoMsg): ServiceOptions;
3055
- fromProtoMsg(message: ServiceOptionsProtoMsg): ServiceOptions;
3056
- toProto(message: ServiceOptions): Uint8Array;
3057
- toProtoMsg(message: ServiceOptions): ServiceOptionsProtoMsg;
3058
- };
3059
- export declare const MethodOptions: {
3060
- typeUrl: string;
3061
- encode(message: MethodOptions, writer?: BinaryWriter): BinaryWriter;
3062
- decode(input: BinaryReader | Uint8Array, length?: number): MethodOptions;
3063
- fromPartial(object: Partial<MethodOptions>): MethodOptions;
3064
- fromAmino(object: MethodOptionsAmino): MethodOptions;
3065
- toAmino(message: MethodOptions): MethodOptionsAmino;
3066
- fromAminoMsg(object: MethodOptionsAminoMsg): MethodOptions;
3067
- fromProtoMsg(message: MethodOptionsProtoMsg): MethodOptions;
3068
- toProto(message: MethodOptions): Uint8Array;
3069
- toProtoMsg(message: MethodOptions): MethodOptionsProtoMsg;
3070
- };
3071
- export declare const UninterpretedOption: {
3072
- typeUrl: string;
3073
- encode(message: UninterpretedOption, writer?: BinaryWriter): BinaryWriter;
3074
- decode(input: BinaryReader | Uint8Array, length?: number): UninterpretedOption;
3075
- fromPartial(object: Partial<UninterpretedOption>): UninterpretedOption;
3076
- fromAmino(object: UninterpretedOptionAmino): UninterpretedOption;
3077
- toAmino(message: UninterpretedOption): UninterpretedOptionAmino;
3078
- fromAminoMsg(object: UninterpretedOptionAminoMsg): UninterpretedOption;
3079
- fromProtoMsg(message: UninterpretedOptionProtoMsg): UninterpretedOption;
3080
- toProto(message: UninterpretedOption): Uint8Array;
3081
- toProtoMsg(message: UninterpretedOption): UninterpretedOptionProtoMsg;
3082
- };
3083
- export declare const UninterpretedOption_NamePart: {
3084
- typeUrl: string;
3085
- encode(message: UninterpretedOption_NamePart, writer?: BinaryWriter): BinaryWriter;
3086
- decode(input: BinaryReader | Uint8Array, length?: number): UninterpretedOption_NamePart;
3087
- fromPartial(object: Partial<UninterpretedOption_NamePart>): UninterpretedOption_NamePart;
3088
- fromAmino(object: UninterpretedOption_NamePartAmino): UninterpretedOption_NamePart;
3089
- toAmino(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartAmino;
3090
- fromAminoMsg(object: UninterpretedOption_NamePartAminoMsg): UninterpretedOption_NamePart;
3091
- fromProtoMsg(message: UninterpretedOption_NamePartProtoMsg): UninterpretedOption_NamePart;
3092
- toProto(message: UninterpretedOption_NamePart): Uint8Array;
3093
- toProtoMsg(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartProtoMsg;
3094
- };
3095
- export declare const FeatureSet: {
3096
- typeUrl: string;
3097
- encode(message: FeatureSet, writer?: BinaryWriter): BinaryWriter;
3098
- decode(input: BinaryReader | Uint8Array, length?: number): FeatureSet;
3099
- fromPartial(object: Partial<FeatureSet>): FeatureSet;
3100
- fromAmino(object: FeatureSetAmino): FeatureSet;
3101
- toAmino(message: FeatureSet): FeatureSetAmino;
3102
- fromAminoMsg(object: FeatureSetAminoMsg): FeatureSet;
3103
- fromProtoMsg(message: FeatureSetProtoMsg): FeatureSet;
3104
- toProto(message: FeatureSet): Uint8Array;
3105
- toProtoMsg(message: FeatureSet): FeatureSetProtoMsg;
3106
- };
3107
- export declare const FeatureSetDefaults: {
3108
- typeUrl: string;
3109
- encode(message: FeatureSetDefaults, writer?: BinaryWriter): BinaryWriter;
3110
- decode(input: BinaryReader | Uint8Array, length?: number): FeatureSetDefaults;
3111
- fromPartial(object: Partial<FeatureSetDefaults>): FeatureSetDefaults;
3112
- fromAmino(object: FeatureSetDefaultsAmino): FeatureSetDefaults;
3113
- toAmino(message: FeatureSetDefaults): FeatureSetDefaultsAmino;
3114
- fromAminoMsg(object: FeatureSetDefaultsAminoMsg): FeatureSetDefaults;
3115
- fromProtoMsg(message: FeatureSetDefaultsProtoMsg): FeatureSetDefaults;
3116
- toProto(message: FeatureSetDefaults): Uint8Array;
3117
- toProtoMsg(message: FeatureSetDefaults): FeatureSetDefaultsProtoMsg;
3118
- };
3119
- export declare const FeatureSetDefaults_FeatureSetEditionDefault: {
3120
- typeUrl: string;
3121
- encode(message: FeatureSetDefaults_FeatureSetEditionDefault, writer?: BinaryWriter): BinaryWriter;
3122
- decode(input: BinaryReader | Uint8Array, length?: number): FeatureSetDefaults_FeatureSetEditionDefault;
3123
- fromPartial(object: Partial<FeatureSetDefaults_FeatureSetEditionDefault>): FeatureSetDefaults_FeatureSetEditionDefault;
3124
- fromAmino(object: FeatureSetDefaults_FeatureSetEditionDefaultAmino): FeatureSetDefaults_FeatureSetEditionDefault;
3125
- toAmino(message: FeatureSetDefaults_FeatureSetEditionDefault): FeatureSetDefaults_FeatureSetEditionDefaultAmino;
3126
- fromAminoMsg(object: FeatureSetDefaults_FeatureSetEditionDefaultAminoMsg): FeatureSetDefaults_FeatureSetEditionDefault;
3127
- fromProtoMsg(message: FeatureSetDefaults_FeatureSetEditionDefaultProtoMsg): FeatureSetDefaults_FeatureSetEditionDefault;
3128
- toProto(message: FeatureSetDefaults_FeatureSetEditionDefault): Uint8Array;
3129
- toProtoMsg(message: FeatureSetDefaults_FeatureSetEditionDefault): FeatureSetDefaults_FeatureSetEditionDefaultProtoMsg;
3130
- };
3131
- export declare const SourceCodeInfo: {
3132
- typeUrl: string;
3133
- encode(message: SourceCodeInfo, writer?: BinaryWriter): BinaryWriter;
3134
- decode(input: BinaryReader | Uint8Array, length?: number): SourceCodeInfo;
3135
- fromPartial(object: Partial<SourceCodeInfo>): SourceCodeInfo;
3136
- fromAmino(object: SourceCodeInfoAmino): SourceCodeInfo;
3137
- toAmino(message: SourceCodeInfo): SourceCodeInfoAmino;
3138
- fromAminoMsg(object: SourceCodeInfoAminoMsg): SourceCodeInfo;
3139
- fromProtoMsg(message: SourceCodeInfoProtoMsg): SourceCodeInfo;
3140
- toProto(message: SourceCodeInfo): Uint8Array;
3141
- toProtoMsg(message: SourceCodeInfo): SourceCodeInfoProtoMsg;
3142
- };
3143
- export declare const SourceCodeInfo_Location: {
3144
- typeUrl: string;
3145
- encode(message: SourceCodeInfo_Location, writer?: BinaryWriter): BinaryWriter;
3146
- decode(input: BinaryReader | Uint8Array, length?: number): SourceCodeInfo_Location;
3147
- fromPartial(object: Partial<SourceCodeInfo_Location>): SourceCodeInfo_Location;
3148
- fromAmino(object: SourceCodeInfo_LocationAmino): SourceCodeInfo_Location;
3149
- toAmino(message: SourceCodeInfo_Location): SourceCodeInfo_LocationAmino;
3150
- fromAminoMsg(object: SourceCodeInfo_LocationAminoMsg): SourceCodeInfo_Location;
3151
- fromProtoMsg(message: SourceCodeInfo_LocationProtoMsg): SourceCodeInfo_Location;
3152
- toProto(message: SourceCodeInfo_Location): Uint8Array;
3153
- toProtoMsg(message: SourceCodeInfo_Location): SourceCodeInfo_LocationProtoMsg;
3154
- };
3155
- export declare const GeneratedCodeInfo: {
3156
- typeUrl: string;
3157
- encode(message: GeneratedCodeInfo, writer?: BinaryWriter): BinaryWriter;
3158
- decode(input: BinaryReader | Uint8Array, length?: number): GeneratedCodeInfo;
3159
- fromPartial(object: Partial<GeneratedCodeInfo>): GeneratedCodeInfo;
3160
- fromAmino(object: GeneratedCodeInfoAmino): GeneratedCodeInfo;
3161
- toAmino(message: GeneratedCodeInfo): GeneratedCodeInfoAmino;
3162
- fromAminoMsg(object: GeneratedCodeInfoAminoMsg): GeneratedCodeInfo;
3163
- fromProtoMsg(message: GeneratedCodeInfoProtoMsg): GeneratedCodeInfo;
3164
- toProto(message: GeneratedCodeInfo): Uint8Array;
3165
- toProtoMsg(message: GeneratedCodeInfo): GeneratedCodeInfoProtoMsg;
3166
- };
3167
- export declare const GeneratedCodeInfo_Annotation: {
3168
- typeUrl: string;
3169
- encode(message: GeneratedCodeInfo_Annotation, writer?: BinaryWriter): BinaryWriter;
3170
- decode(input: BinaryReader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation;
3171
- fromPartial(object: Partial<GeneratedCodeInfo_Annotation>): GeneratedCodeInfo_Annotation;
3172
- fromAmino(object: GeneratedCodeInfo_AnnotationAmino): GeneratedCodeInfo_Annotation;
3173
- toAmino(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationAmino;
3174
- fromAminoMsg(object: GeneratedCodeInfo_AnnotationAminoMsg): GeneratedCodeInfo_Annotation;
3175
- fromProtoMsg(message: GeneratedCodeInfo_AnnotationProtoMsg): GeneratedCodeInfo_Annotation;
3176
- toProto(message: GeneratedCodeInfo_Annotation): Uint8Array;
3177
- toProtoMsg(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationProtoMsg;
3178
- };