@dronedeploy/rocos-js-sdk 1.0.0-alpha-2 → 2.6.1

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