@dronedeploy/rocos-js-sdk 3.0.1-alpha.1 → 3.0.1-alpha.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1115) hide show
  1. package/cjs/IRocosSDK.d.ts +34 -0
  2. package/cjs/IRocosSDK.js +6 -0
  3. package/cjs/RocosSDK.d.ts +149 -0
  4. package/cjs/RocosSDK.js +328 -0
  5. package/cjs/api/StreamRegister.js +73 -0
  6. package/cjs/api/atoms/StreamHeartbeat.js +115 -0
  7. package/cjs/api/streams/caller/CallerStream.js +82 -0
  8. package/cjs/api/streams/caller/CallerStreamAbstract.js +91 -0
  9. package/cjs/api/streams/caller/CallerStreamNode.js +142 -0
  10. package/cjs/api/streams/command/CommandStream.js +71 -0
  11. package/cjs/api/streams/command/CommandStreamAbstract.js +67 -0
  12. package/cjs/api/streams/command/CommandStreamNode.js +96 -0
  13. package/cjs/api/streams/control/ControlStream.js +80 -0
  14. package/cjs/api/streams/control/ControlStreamAbstract.js +115 -0
  15. package/cjs/api/streams/control/ControlStreamNode.js +100 -0
  16. package/cjs/api/streams/fileAccessor/FileAccessorStream.js +64 -0
  17. package/cjs/api/streams/fileAccessor/FileAccessorStreamAbstract.js +66 -0
  18. package/cjs/api/streams/fileAccessor/FileAccessorStreamNode.js +93 -0
  19. package/cjs/api/streams/search/SearchStream.js +101 -0
  20. package/cjs/api/streams/search/SearchStreamAbstract.js +76 -0
  21. package/cjs/api/streams/search/SearchStreamNode.js +145 -0
  22. package/cjs/api/streams/telemetry/TelemetryStream.js +102 -0
  23. package/cjs/api/streams/telemetry/TelemetryStreamAbstract.js +406 -0
  24. package/cjs/api/streams/telemetry/TelemetryStreamNode.js +202 -0
  25. package/cjs/api/streams/webRTCSignalling/WebRTCSignallingStream.js +89 -0
  26. package/cjs/api/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.js +69 -0
  27. package/cjs/constants/api.d.ts +135 -0
  28. package/cjs/constants/api.js +140 -0
  29. package/cjs/constants/auth.js +5 -0
  30. package/cjs/constants/grpc.js +8 -0
  31. package/cjs/constants/identifier.js +9 -0
  32. package/cjs/constants/timezones.js +430 -0
  33. package/cjs/grpc/conker_pb.client.js +59 -0
  34. package/cjs/grpc/conker_pb.grpc-client.js +85 -0
  35. package/cjs/grpc/conker_pb.js +107 -0
  36. package/cjs/grpc/filagree_pb.client.js +52 -0
  37. package/cjs/grpc/filagree_pb.grpc-client.js +78 -0
  38. package/cjs/grpc/filagree_pb.js +332 -0
  39. package/cjs/grpc/google/protobuf/descriptor_pb.js +2381 -0
  40. package/cjs/grpc/google/protobuf/empty_pb.js +50 -0
  41. package/cjs/grpc/pigeon_pb.client.js +77 -0
  42. package/cjs/grpc/pigeon_pb.grpc-client.js +96 -0
  43. package/cjs/grpc/pigeon_pb.js +147 -0
  44. package/cjs/grpc/rambo.uri.v1_pb.js +51 -0
  45. package/cjs/grpc/rambo.v1_pb.client.js +53 -0
  46. package/cjs/grpc/rambo.v1_pb.grpc-client.js +72 -0
  47. package/cjs/grpc/rambo.v1_pb.js +275 -0
  48. package/cjs/grpc/serviette.uri.v1_pb.js +65 -0
  49. package/cjs/grpc/serviette.v1_pb.client.js +183 -0
  50. package/cjs/grpc/serviette.v1_pb.grpc-client.js +194 -0
  51. package/cjs/grpc/serviette.v1_pb.js +556 -0
  52. package/cjs/grpc/slowlane_pb.client.js +45 -0
  53. package/cjs/grpc/slowlane_pb.grpc-client.js +71 -0
  54. package/cjs/grpc/slowlane_pb.js +188 -0
  55. package/cjs/grpc/teletubby_pb.client.js +109 -0
  56. package/cjs/grpc/teletubby_pb.grpc-client.js +128 -0
  57. package/cjs/grpc/teletubby_pb.js +1267 -0
  58. package/cjs/helpers/arrayRemove.js +7 -0
  59. package/cjs/helpers/arrayUnique.js +7 -0
  60. package/cjs/helpers/average.js +10 -0
  61. package/cjs/helpers/callerMessageHelpers.d.ts +14 -0
  62. package/cjs/helpers/callerMessageHelpers.js +91 -0
  63. package/cjs/helpers/cleanObject.js +22 -0
  64. package/cjs/helpers/cleanObject.spec.js +55 -0
  65. package/cjs/helpers/enviroment.js +17 -0
  66. package/cjs/helpers/flattenCallsignsLookup.js +10 -0
  67. package/cjs/helpers/flattenObject.js +17 -0
  68. package/cjs/helpers/flattenObject.spec.js +31 -0
  69. package/cjs/helpers/flattenOneOf.js +34 -0
  70. package/cjs/helpers/flattenOneOf.spec.js +159 -0
  71. package/cjs/helpers/formatServiceUrl.js +11 -0
  72. package/cjs/helpers/formatServiceUrl.spec.js +18 -0
  73. package/cjs/helpers/generateUUID.js +8 -0
  74. package/cjs/helpers/getSha256Hex.d.ts +1 -0
  75. package/cjs/helpers/getSha256Hex.js +9 -0
  76. package/cjs/helpers/getSha256Hex.spec.js +19 -0
  77. package/cjs/helpers/getSha256HexNode.d.ts +1 -0
  78. package/cjs/helpers/getSha256HexNode.js +13 -0
  79. package/cjs/helpers/getSha256HexNode.spec.js +10 -0
  80. package/cjs/helpers/getSubscriptionsDifference.js +39 -0
  81. package/cjs/helpers/getURLSearchParams.js +13 -0
  82. package/cjs/helpers/getURLSearchParams.spec.js +21 -0
  83. package/cjs/helpers/getUniqueConfigKey.js +18 -0
  84. package/cjs/helpers/getUniqueId.js +15 -0
  85. package/cjs/helpers/getUnixTimeMs.js +8 -0
  86. package/cjs/helpers/index.js +21 -0
  87. package/cjs/helpers/nanosecondToMillisecond.js +16 -0
  88. package/cjs/helpers/nanosecondToMillisecond.spec.js +22 -0
  89. package/cjs/helpers/randomString.js +7 -0
  90. package/cjs/helpers/splitRobotTopic.d.ts +9 -0
  91. package/cjs/helpers/splitRobotTopic.js +16 -0
  92. package/cjs/helpers/splitRobotTopic.spec.js +53 -0
  93. package/cjs/helpers/standardDeviation.js +16 -0
  94. package/cjs/helpers/standardDeviation.spec.js +13 -0
  95. package/cjs/helpers/stringToUint8Array.js +14 -0
  96. package/cjs/helpers/uint8ArrayToString.js +14 -0
  97. package/cjs/helpers/websandbox/connection.js +136 -0
  98. package/cjs/helpers/websandbox/frame/frame.js +27 -0
  99. package/cjs/helpers/websandbox/frame/frame.source.js +10 -0
  100. package/cjs/helpers/websandbox/frame/index.js +7 -0
  101. package/cjs/helpers/websandbox/frame/worker/index.js +7 -0
  102. package/cjs/helpers/websandbox/frame/worker/manager.d.ts +11 -0
  103. package/cjs/helpers/websandbox/frame/worker/manager.js +70 -0
  104. package/cjs/helpers/websandbox/frame/worker/manager.spec.d.ts +4 -0
  105. package/cjs/helpers/websandbox/frame/worker/manager.spec.js +132 -0
  106. package/cjs/helpers/websandbox/frame/worker/types.js +2 -0
  107. package/cjs/helpers/websandbox/frame/worker/worker.js +75 -0
  108. package/cjs/helpers/websandbox/frame/worker/worker.source.js +6 -0
  109. package/cjs/helpers/websandbox/index.js +8 -0
  110. package/cjs/helpers/websandbox/sandbox.d.ts +57 -0
  111. package/cjs/helpers/websandbox/sandbox.js +182 -0
  112. package/cjs/helpers/websandbox/types.js +2 -0
  113. package/cjs/index.js +23 -0
  114. package/cjs/logger/RocosLogger.js +67 -0
  115. package/cjs/models/CallsignStatus.js +10 -0
  116. package/cjs/models/ExportDataQuery.js +17 -0
  117. package/cjs/models/ExternalProject.js +6 -0
  118. package/cjs/models/HttpError.d.ts +5 -0
  119. package/cjs/models/HttpError.js +12 -0
  120. package/cjs/models/IBaseService.js +2 -0
  121. package/cjs/models/IConfigGroup.js +2 -0
  122. package/cjs/models/IDebugLevel.js +2 -0
  123. package/cjs/models/IExportDataQuery.js +2 -0
  124. package/cjs/models/IFunctionConfig.js +2 -0
  125. package/cjs/models/IInvitation.js +2 -0
  126. package/cjs/models/IInvitationExists.js +2 -0
  127. package/cjs/models/IOperation.js +2 -0
  128. package/cjs/models/IPersonalAccessToken.js +2 -0
  129. package/cjs/models/IProject.d.ts +6 -0
  130. package/cjs/models/IProject.js +2 -0
  131. package/cjs/models/IProjectApplication.js +2 -0
  132. package/cjs/models/IProjectInfo.d.ts +14 -0
  133. package/cjs/models/IProjectInfo.js +2 -0
  134. package/cjs/models/IRobot.js +2 -0
  135. package/cjs/models/IRobotConfig.js +2 -0
  136. package/cjs/models/IRobotPlugin.js +2 -0
  137. package/cjs/models/IRobotSettings.js +2 -0
  138. package/cjs/models/IRobotTemplate.js +2 -0
  139. package/cjs/models/IRocosSDKConfig.d.ts +23 -0
  140. package/cjs/models/IRocosSDKConfig.js +2 -0
  141. package/cjs/models/ISource.js +2 -0
  142. package/cjs/models/IStream.js +2 -0
  143. package/cjs/models/IStreamConfig.js +2 -0
  144. package/cjs/models/IStreamOptions.js +2 -0
  145. package/cjs/models/IStreamSource.js +2 -0
  146. package/cjs/models/ISubscriberStatus.js +2 -0
  147. package/cjs/models/ITelemetryStreamConfig.js +2 -0
  148. package/cjs/models/IToken.js +2 -0
  149. package/cjs/models/IWidget.js +2 -0
  150. package/cjs/models/IWidgetLineGroup.js +2 -0
  151. package/cjs/models/ResponseLevelEnum.js +14 -0
  152. package/cjs/models/Robot.js +12 -0
  153. package/cjs/models/RobotConfig.js +9 -0
  154. package/cjs/models/RobotPlugin.js +9 -0
  155. package/cjs/models/RobotTemplate.js +29 -0
  156. package/cjs/models/RocosError.d.ts +32 -0
  157. package/cjs/models/RocosError.js +45 -0
  158. package/cjs/models/ServiceEnum.d.ts +28 -0
  159. package/cjs/models/ServiceEnum.js +32 -0
  160. package/cjs/models/Stream.js +15 -0
  161. package/cjs/models/StreamOptions.js +37 -0
  162. package/cjs/models/StreamSource.js +15 -0
  163. package/cjs/models/SubscriberStatusEnum.js +10 -0
  164. package/cjs/models/Token.js +82 -0
  165. package/cjs/models/Token.spec.js +110 -0
  166. package/cjs/models/Widget.js +16 -0
  167. package/cjs/models/WidgetLineGroup.js +9 -0
  168. package/cjs/models/asset-storage/AssetItem.d.ts +16 -0
  169. package/cjs/models/asset-storage/AssetItem.js +2 -0
  170. package/cjs/models/asset-storage/SyncIntegrations.d.ts +31 -0
  171. package/cjs/models/asset-storage/SyncIntegrations.js +2 -0
  172. package/cjs/models/caller/IRocosCallerMessageChunk.d.ts +15 -0
  173. package/cjs/models/caller/IRocosCallerMessageChunk.js +2 -0
  174. package/cjs/models/caller/IRocosCallerMessageChunks.js +2 -0
  175. package/cjs/models/caller/IRocosCallerMessageHeartbeat.js +2 -0
  176. package/cjs/models/caller/IRocosCallerMessageResponse.js +2 -0
  177. package/cjs/models/caller/IRocosCallerMessageResponseAck.js +16 -0
  178. package/cjs/models/caller/IRocosCallerMessageResponseResult.js +15 -0
  179. package/cjs/models/caller/IRocosCallerMessageResponseReturn.js +2 -0
  180. package/cjs/models/caller/IRocosCallerMessageResponseUid.js +10 -0
  181. package/cjs/models/caller/IRocosCallerMessageResponses.js +2 -0
  182. package/cjs/models/caller/RocosCallerResultStatus.js +15 -0
  183. package/cjs/models/caller/RocosResponseLevel.js +10 -0
  184. package/cjs/models/caller/index.d.ts +11 -0
  185. package/cjs/models/caller/index.js +27 -0
  186. package/cjs/models/callsigns/CallsignsEnums.js +20 -0
  187. package/cjs/models/callsigns/CallsignsLookup.js +32 -0
  188. package/cjs/models/callsigns/CallsignsQuery.js +18 -0
  189. package/cjs/models/callsigns/CallsignsQueryPredicate.js +19 -0
  190. package/cjs/models/command/IRocosCommandMessageHeartbeat.js +2 -0
  191. package/cjs/models/command/IRocosCommandMessageResponse.js +30 -0
  192. package/cjs/models/command/RocosCommandResultStatus.js +15 -0
  193. package/cjs/models/command/index.js +20 -0
  194. package/cjs/models/file/FileEnums.js +36 -0
  195. package/cjs/models/index.d.ts +80 -0
  196. package/cjs/models/index.js +96 -0
  197. package/cjs/models/integrations/Overlay.js +2 -0
  198. package/cjs/models/integrations/Plan.js +2 -0
  199. package/cjs/models/maps/Map.js +2 -0
  200. package/cjs/models/maps/Panorama.d.ts +36 -0
  201. package/cjs/models/maps/Panorama.js +2 -0
  202. package/cjs/models/message/IRocosCallerMessage.js +2 -0
  203. package/cjs/models/message/IRocosChangeMessage.js +2 -0
  204. package/cjs/models/message/IRocosCommandMessage.js +2 -0
  205. package/cjs/models/message/IRocosControlMessage.js +2 -0
  206. package/cjs/models/message/IRocosOpResultMessage.js +2 -0
  207. package/cjs/models/message/IRocosSearchMessage.js +2 -0
  208. package/cjs/models/message/IRocosSearchRowMessage.js +2 -0
  209. package/cjs/models/message/IRocosSearchStatusMessage.js +2 -0
  210. package/cjs/models/message/IRocosTelemetryMessage.d.ts +23 -0
  211. package/cjs/models/message/IRocosTelemetryMessage.js +2 -0
  212. package/cjs/models/message/IStreamStatusMessage.js +2 -0
  213. package/cjs/models/message/RocosCallerMessage.js +36 -0
  214. package/cjs/models/message/RocosCommandMessage.js +17 -0
  215. package/cjs/models/message/RocosControlMessage.js +18 -0
  216. package/cjs/models/message/RocosOpResultMessage.js +22 -0
  217. package/cjs/models/message/RocosSearchMessage.js +28 -0
  218. package/cjs/models/message/RocosSearchRowMessage.js +20 -0
  219. package/cjs/models/message/RocosTelemetryMessage.js +67 -0
  220. package/cjs/models/message/index.js +33 -0
  221. package/cjs/models/params/ICallerParams.d.ts +26 -0
  222. package/cjs/models/params/ICallerParams.js +2 -0
  223. package/cjs/models/params/ICommandParams.js +2 -0
  224. package/cjs/models/params/IControlParams.js +2 -0
  225. package/cjs/models/params/IFileAccessorParams.js +2 -0
  226. package/cjs/models/params/ISearchParams.js +2 -0
  227. package/cjs/models/params/ITelemetryParams.js +2 -0
  228. package/cjs/models/params/IWebRTCSignallingParams.js +2 -0
  229. package/cjs/models/projects/ProjectUser.js +2 -0
  230. package/cjs/models/schedule/IScheduleAction.js +9 -0
  231. package/cjs/models/schedule/IScheduleInfo.js +2 -0
  232. package/cjs/models/schedule/IScheduleJob.js +2 -0
  233. package/cjs/models/search/SearchQueryFilter.js +9 -0
  234. package/cjs/models/search/SearchStreamQuery.js +10 -0
  235. package/cjs/models/stream/IBaseStream.js +2 -0
  236. package/cjs/models/stream/ICallerStream.js +2 -0
  237. package/cjs/models/stream/ICommandStream.js +2 -0
  238. package/cjs/models/stream/IControlStream.js +2 -0
  239. package/cjs/models/stream/IFileAccessorStream.js +2 -0
  240. package/cjs/models/stream/ISearchStream.js +2 -0
  241. package/cjs/models/stream/ITelemetryStream.js +2 -0
  242. package/cjs/models/stream/IWebRTCSignallingStream.js +2 -0
  243. package/cjs/models/types.js +2 -0
  244. package/cjs/models/workflow/Workflow.d.ts +94 -0
  245. package/cjs/models/workflow/Workflow.js +2 -0
  246. package/cjs/node/RocosSDKNode.d.ts +51 -0
  247. package/cjs/node/RocosSDKNode.js +150 -0
  248. package/cjs/node/index.js +23 -0
  249. package/cjs/services/AssetStorageService.d.ts +137 -0
  250. package/cjs/services/AssetStorageService.js +227 -0
  251. package/cjs/services/AuthService.js +239 -0
  252. package/cjs/services/AuthService.spec.js +165 -0
  253. package/cjs/services/BaseServiceAbstract.d.ts +36 -0
  254. package/cjs/services/BaseServiceAbstract.js +94 -0
  255. package/cjs/services/BaseStreamService.js +53 -0
  256. package/cjs/services/CallerService.d.ts +42 -0
  257. package/cjs/services/CallerService.js +121 -0
  258. package/cjs/services/CallerService.spec.js +229 -0
  259. package/cjs/services/CallerServiceNode.js +11 -0
  260. package/cjs/services/CommandService.js +42 -0
  261. package/cjs/services/CommandServiceNode.js +11 -0
  262. package/cjs/services/ConfigGroupService.js +157 -0
  263. package/cjs/services/ControlService.js +61 -0
  264. package/cjs/services/ControlServiceNode.js +11 -0
  265. package/cjs/services/DashboardService.js +146 -0
  266. package/cjs/services/EvaluatorService.js +32 -0
  267. package/cjs/services/EventService.js +89 -0
  268. package/cjs/services/FileAccessorService.js +41 -0
  269. package/cjs/services/FileAccessorServiceNode.js +11 -0
  270. package/cjs/services/FunctionService.js +103 -0
  271. package/cjs/services/IntegrationService.js +76 -0
  272. package/cjs/services/MapService.d.ts +142 -0
  273. package/cjs/services/MapService.js +196 -0
  274. package/cjs/services/PlatformTimeService.js +160 -0
  275. package/cjs/services/PlatformTimeService.spec.js +182 -0
  276. package/cjs/services/ProfileService.js +366 -0
  277. package/cjs/services/ProjectService.d.ts +106 -0
  278. package/cjs/services/ProjectService.js +167 -0
  279. package/cjs/services/RTPWebRTCService.d.ts +102 -0
  280. package/cjs/services/RTPWebRTCService.js +232 -0
  281. package/cjs/services/RTPWebRTCService.spec.d.ts +4 -0
  282. package/cjs/services/RTPWebRTCService.spec.js +171 -0
  283. package/cjs/services/RobotService.js +464 -0
  284. package/cjs/services/ScheduleService.js +40 -0
  285. package/cjs/services/SearchService.js +62 -0
  286. package/cjs/services/SearchServiceNode.js +11 -0
  287. package/cjs/services/SpotProvisioningService.js +47 -0
  288. package/cjs/services/SpotProvisioningServiceNode.js +47 -0
  289. package/cjs/services/StreamService.js +146 -0
  290. package/cjs/services/TelemetryService.d.ts +41 -0
  291. package/cjs/services/TelemetryService.js +158 -0
  292. package/cjs/services/TelemetryService.spec.js +39 -0
  293. package/cjs/services/TelemetryServiceNode.js +11 -0
  294. package/cjs/services/TimeSyncerService.js +27 -0
  295. package/cjs/services/UserService.js +319 -0
  296. package/cjs/services/WebRTCSignallingService.js +82 -0
  297. package/cjs/services/WorkflowService.d.ts +62 -0
  298. package/cjs/services/WorkflowService.js +107 -0
  299. package/cjs/services/WorkflowServiceNode.d.ts +4 -0
  300. package/cjs/services/WorkflowServiceNode.js +12 -0
  301. package/cjs/services/index.d.ts +28 -0
  302. package/cjs/services/index.js +44 -0
  303. package/cjs/store/RocosStore.js +51 -0
  304. package/esm/IRocosSDK.d.ts +34 -0
  305. package/esm/RocosSDK.d.ts +149 -0
  306. package/esm/RocosSDK.js +324 -0
  307. package/esm/api/StreamRegister.d.ts +13 -0
  308. package/esm/api/atoms/StreamHeartbeat.d.ts +27 -0
  309. package/esm/api/streams/caller/CallerStream.d.ts +13 -0
  310. package/esm/api/streams/caller/CallerStream.js +78 -0
  311. package/esm/api/streams/caller/CallerStreamAbstract.d.ts +23 -0
  312. package/esm/api/streams/caller/CallerStreamNode.d.ts +13 -0
  313. package/esm/api/streams/command/CommandStream.d.ts +10 -0
  314. package/esm/api/streams/command/CommandStream.js +67 -0
  315. package/esm/api/streams/command/CommandStreamAbstract.d.ts +20 -0
  316. package/esm/api/streams/command/CommandStreamNode.d.ts +10 -0
  317. package/esm/api/streams/control/ControlStream.d.ts +12 -0
  318. package/esm/api/streams/control/ControlStream.js +76 -0
  319. package/esm/api/streams/control/ControlStreamAbstract.d.ts +25 -0
  320. package/esm/api/streams/control/ControlStreamNode.d.ts +12 -0
  321. package/esm/api/streams/fileAccessor/FileAccessorStream.d.ts +8 -0
  322. package/esm/api/streams/fileAccessor/FileAccessorStream.js +60 -0
  323. package/esm/api/streams/fileAccessor/FileAccessorStreamAbstract.d.ts +21 -0
  324. package/esm/api/streams/fileAccessor/FileAccessorStreamNode.d.ts +8 -0
  325. package/esm/api/streams/search/SearchStream.d.ts +13 -0
  326. package/esm/api/streams/search/SearchStream.js +97 -0
  327. package/esm/api/streams/search/SearchStreamAbstract.d.ts +25 -0
  328. package/esm/api/streams/search/SearchStreamNode.d.ts +13 -0
  329. package/esm/api/streams/telemetry/TelemetryStream.d.ts +17 -0
  330. package/esm/api/streams/telemetry/TelemetryStream.js +98 -0
  331. package/esm/api/streams/telemetry/TelemetryStreamAbstract.d.ts +59 -0
  332. package/esm/api/streams/telemetry/TelemetryStreamNode.d.ts +21 -0
  333. package/esm/api/streams/webRTCSignalling/WebRTCSignallingStream.d.ts +39 -0
  334. package/esm/api/streams/webRTCSignalling/WebRTCSignallingStream.js +85 -0
  335. package/esm/api/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.d.ts +29 -0
  336. package/esm/constants/api.d.ts +135 -0
  337. package/esm/constants/api.js +135 -0
  338. package/esm/constants/auth.d.ts +2 -0
  339. package/esm/constants/grpc.d.ts +5 -0
  340. package/esm/constants/identifier.d.ts +6 -0
  341. package/esm/constants/timezones.d.ts +2 -0
  342. package/esm/grpc/conker_pb.client.d.ts +78 -0
  343. package/esm/grpc/conker_pb.d.ts +141 -0
  344. package/esm/grpc/conker_pb.grpc-client.d.ts +81 -0
  345. package/esm/grpc/filagree_pb.client.d.ts +68 -0
  346. package/esm/grpc/filagree_pb.d.ts +404 -0
  347. package/esm/grpc/filagree_pb.grpc-client.d.ts +69 -0
  348. package/esm/grpc/google/protobuf/descriptor_pb.d.ts +1798 -0
  349. package/esm/grpc/google/protobuf/empty_pb.d.ts +23 -0
  350. package/esm/grpc/pigeon_pb.client.d.ts +96 -0
  351. package/esm/grpc/pigeon_pb.d.ts +207 -0
  352. package/esm/grpc/pigeon_pb.grpc-client.d.ts +98 -0
  353. package/esm/grpc/rambo.uri.v1_pb.d.ts +73 -0
  354. package/esm/grpc/rambo.v1_pb.client.d.ts +66 -0
  355. package/esm/grpc/rambo.v1_pb.d.ts +392 -0
  356. package/esm/grpc/rambo.v1_pb.grpc-client.d.ts +56 -0
  357. package/esm/grpc/serviette.uri.v1_pb.d.ts +89 -0
  358. package/esm/grpc/serviette.v1_pb.client.d.ts +225 -0
  359. package/esm/grpc/serviette.v1_pb.d.ts +827 -0
  360. package/esm/grpc/serviette.v1_pb.grpc-client.d.ts +215 -0
  361. package/esm/grpc/slowlane_pb.client.d.ts +61 -0
  362. package/esm/grpc/slowlane_pb.d.ts +303 -0
  363. package/esm/grpc/slowlane_pb.grpc-client.d.ts +64 -0
  364. package/esm/grpc/teletubby_pb.client.d.ts +145 -0
  365. package/esm/grpc/teletubby_pb.d.ts +634 -0
  366. package/esm/grpc/teletubby_pb.grpc-client.d.ts +152 -0
  367. package/esm/helpers/arrayRemove.d.ts +1 -0
  368. package/esm/helpers/arrayUnique.d.ts +1 -0
  369. package/esm/helpers/average.d.ts +1 -0
  370. package/esm/helpers/callerMessageHelpers.d.ts +14 -0
  371. package/esm/helpers/callerMessageHelpers.js +86 -0
  372. package/esm/helpers/cleanObject.d.ts +1 -0
  373. package/esm/helpers/enviroment.d.ts +8 -0
  374. package/esm/helpers/flattenCallsignsLookup.d.ts +2 -0
  375. package/esm/helpers/flattenObject.d.ts +1 -0
  376. package/esm/helpers/flattenOneOf.d.ts +67 -0
  377. package/esm/helpers/formatServiceUrl.d.ts +1 -0
  378. package/esm/helpers/generateUUID.d.ts +1 -0
  379. package/esm/helpers/getSha256Hex.d.ts +1 -0
  380. package/esm/helpers/getSha256Hex.js +5 -0
  381. package/esm/helpers/getSha256Hex.spec.js +14 -0
  382. package/esm/helpers/getSha256HexNode.d.ts +1 -0
  383. package/esm/helpers/getSha256HexNode.js +6 -0
  384. package/esm/helpers/getSha256HexNode.spec.js +8 -0
  385. package/esm/helpers/getSubscriptionsDifference.d.ts +10 -0
  386. package/esm/helpers/getURLSearchParams.d.ts +2 -0
  387. package/esm/helpers/getUniqueConfigKey.d.ts +7 -0
  388. package/esm/helpers/getUniqueId.d.ts +9 -0
  389. package/esm/helpers/getUnixTimeMs.d.ts +1 -0
  390. package/esm/helpers/index.js +5 -0
  391. package/esm/helpers/nanosecondToMillisecond.d.ts +1 -0
  392. package/esm/helpers/randomString.d.ts +1 -0
  393. package/esm/helpers/splitRobotTopic.d.ts +9 -0
  394. package/esm/helpers/splitRobotTopic.js +12 -0
  395. package/esm/helpers/splitRobotTopic.spec.js +51 -0
  396. package/esm/helpers/standardDeviation.d.ts +1 -0
  397. package/esm/helpers/stringToUint8Array.d.ts +1 -0
  398. package/esm/helpers/uint8ArrayToString.d.ts +1 -0
  399. package/esm/helpers/websandbox/connection.d.ts +67 -0
  400. package/esm/helpers/websandbox/frame/frame.d.ts +12 -0
  401. package/esm/helpers/websandbox/frame/frame.source.d.ts +2 -0
  402. package/esm/helpers/websandbox/frame/frame.source.js +5 -0
  403. package/esm/helpers/websandbox/frame/index.js +2 -0
  404. package/esm/helpers/websandbox/frame/worker/index.js +2 -0
  405. package/esm/helpers/websandbox/frame/worker/manager.d.ts +11 -0
  406. package/esm/helpers/websandbox/frame/worker/manager.js +67 -0
  407. package/esm/helpers/websandbox/frame/worker/manager.spec.d.ts +4 -0
  408. package/esm/helpers/websandbox/frame/worker/manager.spec.js +127 -0
  409. package/esm/helpers/websandbox/frame/worker/types.d.ts +11 -0
  410. package/esm/helpers/websandbox/frame/worker/worker.source.d.ts +2 -0
  411. package/esm/helpers/websandbox/index.js +2 -0
  412. package/esm/helpers/websandbox/sandbox.d.ts +57 -0
  413. package/esm/helpers/websandbox/sandbox.js +175 -0
  414. package/esm/helpers/websandbox/types.d.ts +13 -0
  415. package/esm/index.js +7 -0
  416. package/esm/logger/RocosLogger.d.ts +7 -0
  417. package/esm/models/CallsignStatus.d.ts +6 -0
  418. package/esm/models/ExportDataQuery.d.ts +8 -0
  419. package/esm/models/ExternalProject.d.ts +6 -0
  420. package/esm/models/HttpError.d.ts +5 -0
  421. package/esm/models/HttpError.js +8 -0
  422. package/esm/models/IBaseService.d.ts +4 -0
  423. package/esm/models/IConfigGroup.d.ts +5 -0
  424. package/esm/models/IDebugLevel.d.ts +2 -0
  425. package/esm/models/IExportDataQuery.d.ts +9 -0
  426. package/esm/models/IFunctionConfig.d.ts +8 -0
  427. package/esm/models/IInvitation.d.ts +6 -0
  428. package/esm/models/IInvitationExists.d.ts +4 -0
  429. package/esm/models/IOperation.d.ts +6 -0
  430. package/esm/models/IPersonalAccessToken.d.ts +16 -0
  431. package/esm/models/IProject.d.ts +6 -0
  432. package/esm/models/IProjectApplication.d.ts +6 -0
  433. package/esm/models/IProjectInfo.d.ts +14 -0
  434. package/esm/models/IRobot.d.ts +18 -0
  435. package/esm/models/IRobotConfig.d.ts +8 -0
  436. package/esm/models/IRobotPlugin.d.ts +3 -0
  437. package/esm/models/IRobotSettings.d.ts +28 -0
  438. package/esm/models/IRobotTemplate.d.ts +10 -0
  439. package/esm/models/IRocosSDKConfig.d.ts +23 -0
  440. package/esm/models/ISource.d.ts +8 -0
  441. package/esm/models/IStream.d.ts +9 -0
  442. package/esm/models/IStreamConfig.d.ts +9 -0
  443. package/esm/models/IStreamOptions.d.ts +7 -0
  444. package/esm/models/IStreamSource.d.ts +8 -0
  445. package/esm/models/ISubscriberStatus.d.ts +5 -0
  446. package/esm/models/ITelemetryStreamConfig.d.ts +7 -0
  447. package/esm/models/IToken.d.ts +9 -0
  448. package/esm/models/IWidget.d.ts +25 -0
  449. package/esm/models/IWidgetLineGroup.d.ts +8 -0
  450. package/esm/models/ResponseLevelEnum.d.ts +10 -0
  451. package/esm/models/Robot.d.ts +20 -0
  452. package/esm/models/RobotConfig.d.ts +10 -0
  453. package/esm/models/RobotPlugin.d.ts +5 -0
  454. package/esm/models/RobotTemplate.d.ts +12 -0
  455. package/esm/models/RocosError.d.ts +32 -0
  456. package/esm/models/RocosError.js +41 -0
  457. package/esm/models/ServiceEnum.d.ts +28 -0
  458. package/esm/models/ServiceEnum.js +29 -0
  459. package/esm/models/Stream.d.ts +10 -0
  460. package/esm/models/StreamOptions.d.ts +9 -0
  461. package/esm/models/StreamSource.d.ts +10 -0
  462. package/esm/models/SubscriberStatusEnum.d.ts +6 -0
  463. package/esm/models/Token.d.ts +40 -0
  464. package/esm/models/Widget.d.ts +27 -0
  465. package/esm/models/WidgetLineGroup.d.ts +10 -0
  466. package/esm/models/asset-storage/AssetItem.d.ts +16 -0
  467. package/esm/models/asset-storage/SyncIntegrations.d.ts +31 -0
  468. package/esm/models/caller/IRocosCallerMessageChunk.d.ts +15 -0
  469. package/esm/models/caller/IRocosCallerMessageChunks.d.ts +4 -0
  470. package/esm/models/caller/IRocosCallerMessageHeartbeat.d.ts +3 -0
  471. package/esm/models/caller/IRocosCallerMessageResponse.d.ts +10 -0
  472. package/esm/models/caller/IRocosCallerMessageResponseAck.d.ts +16 -0
  473. package/esm/models/caller/IRocosCallerMessageResponseResult.d.ts +15 -0
  474. package/esm/models/caller/IRocosCallerMessageResponseReturn.d.ts +8 -0
  475. package/esm/models/caller/IRocosCallerMessageResponseUid.d.ts +10 -0
  476. package/esm/models/caller/IRocosCallerMessageResponses.d.ts +4 -0
  477. package/esm/models/caller/RocosCallerResultStatus.d.ts +11 -0
  478. package/esm/models/caller/RocosResponseLevel.d.ts +6 -0
  479. package/esm/models/caller/index.d.ts +11 -0
  480. package/esm/models/caller/index.js +11 -0
  481. package/esm/models/callsigns/CallsignsEnums.d.ts +13 -0
  482. package/esm/models/callsigns/CallsignsLookup.d.ts +8 -0
  483. package/esm/models/callsigns/CallsignsQuery.d.ts +9 -0
  484. package/esm/models/callsigns/CallsignsQueryPredicate.d.ts +9 -0
  485. package/esm/models/command/IRocosCommandMessageHeartbeat.d.ts +1 -0
  486. package/esm/models/command/IRocosCommandMessageResponse.d.ts +55 -0
  487. package/esm/models/command/RocosCommandResultStatus.d.ts +11 -0
  488. package/esm/models/command/index.js +4 -0
  489. package/esm/models/file/FileEnums.d.ts +30 -0
  490. package/esm/models/index.d.ts +80 -0
  491. package/esm/models/index.js +80 -0
  492. package/esm/models/integrations/Overlay.d.ts +49 -0
  493. package/esm/models/integrations/Plan.d.ts +324 -0
  494. package/esm/models/maps/Map.d.ts +11 -0
  495. package/esm/models/maps/Panorama.d.ts +36 -0
  496. package/esm/models/message/IRocosCallerMessage.d.ts +8 -0
  497. package/esm/models/message/IRocosChangeMessage.d.ts +6 -0
  498. package/esm/models/message/IRocosCommandMessage.d.ts +6 -0
  499. package/esm/models/message/IRocosControlMessage.d.ts +7 -0
  500. package/esm/models/message/IRocosOpResultMessage.d.ts +6 -0
  501. package/esm/models/message/IRocosSearchMessage.d.ts +5 -0
  502. package/esm/models/message/IRocosSearchRowMessage.d.ts +9 -0
  503. package/esm/models/message/IRocosSearchStatusMessage.d.ts +4 -0
  504. package/esm/models/message/IRocosTelemetryMessage.d.ts +23 -0
  505. package/esm/models/message/IStreamStatusMessage.d.ts +5 -0
  506. package/esm/models/message/RocosCallerMessage.d.ts +10 -0
  507. package/esm/models/message/RocosCommandMessage.d.ts +9 -0
  508. package/esm/models/message/RocosControlMessage.d.ts +11 -0
  509. package/esm/models/message/RocosOpResultMessage.d.ts +10 -0
  510. package/esm/models/message/RocosSearchMessage.d.ts +9 -0
  511. package/esm/models/message/RocosSearchRowMessage.d.ts +13 -0
  512. package/esm/models/message/RocosTelemetryMessage.d.ts +10 -0
  513. package/esm/models/message/index.js +17 -0
  514. package/esm/models/params/ICallerParams.d.ts +26 -0
  515. package/esm/models/params/ICallerParams.js +1 -0
  516. package/esm/models/params/ICommandParams.d.ts +9 -0
  517. package/esm/models/params/ICommandParams.js +1 -0
  518. package/esm/models/params/IControlParams.d.ts +8 -0
  519. package/esm/models/params/IControlParams.js +1 -0
  520. package/esm/models/params/IFileAccessorParams.d.ts +11 -0
  521. package/esm/models/params/IFileAccessorParams.js +1 -0
  522. package/esm/models/params/ISearchParams.d.ts +10 -0
  523. package/esm/models/params/ISearchParams.js +1 -0
  524. package/esm/models/params/ITelemetryParams.d.ts +18 -0
  525. package/esm/models/params/ITelemetryParams.js +1 -0
  526. package/esm/models/params/IWebRTCSignallingParams.d.ts +21 -0
  527. package/esm/models/params/IWebRTCSignallingParams.js +1 -0
  528. package/esm/models/projects/ProjectUser.d.ts +6 -0
  529. package/esm/models/projects/ProjectUser.js +1 -0
  530. package/esm/models/schedule/IScheduleAction.d.ts +13 -0
  531. package/esm/models/schedule/IScheduleInfo.d.ts +11 -0
  532. package/esm/models/schedule/IScheduleInfo.js +1 -0
  533. package/esm/models/schedule/IScheduleJob.d.ts +12 -0
  534. package/esm/models/schedule/IScheduleJob.js +1 -0
  535. package/esm/models/search/SearchQueryFilter.d.ts +5 -0
  536. package/esm/models/search/SearchStreamQuery.d.ts +15 -0
  537. package/esm/models/stream/IBaseStream.d.ts +8 -0
  538. package/esm/models/stream/IBaseStream.js +1 -0
  539. package/esm/models/stream/ICallerStream.d.ts +8 -0
  540. package/esm/models/stream/ICallerStream.js +1 -0
  541. package/esm/models/stream/ICommandStream.d.ts +7 -0
  542. package/esm/models/stream/ICommandStream.js +1 -0
  543. package/esm/models/stream/IControlStream.d.ts +9 -0
  544. package/esm/models/stream/IControlStream.js +1 -0
  545. package/esm/models/stream/IFileAccessorStream.d.ts +9 -0
  546. package/esm/models/stream/IFileAccessorStream.js +1 -0
  547. package/esm/models/stream/ISearchStream.d.ts +11 -0
  548. package/esm/models/stream/ISearchStream.js +1 -0
  549. package/esm/models/stream/ITelemetryStream.d.ts +10 -0
  550. package/esm/models/stream/ITelemetryStream.js +1 -0
  551. package/esm/models/stream/IWebRTCSignallingStream.d.ts +76 -0
  552. package/esm/models/stream/IWebRTCSignallingStream.js +1 -0
  553. package/esm/models/types.d.ts +5 -0
  554. package/esm/models/types.js +1 -0
  555. package/esm/models/workflow/Workflow.d.ts +94 -0
  556. package/esm/models/workflow/Workflow.js +1 -0
  557. package/esm/node/RocosSDKNode.d.ts +51 -0
  558. package/esm/node/RocosSDKNode.js +146 -0
  559. package/esm/node/index.js +7 -0
  560. package/esm/services/AssetStorageService.d.ts +137 -0
  561. package/esm/services/AssetStorageService.js +223 -0
  562. package/esm/services/AuthService.d.ts +93 -0
  563. package/esm/services/AuthService.spec.d.ts +1 -0
  564. package/esm/services/BaseServiceAbstract.d.ts +36 -0
  565. package/esm/services/BaseServiceAbstract.js +90 -0
  566. package/esm/services/BaseStreamService.d.ts +18 -0
  567. package/esm/services/BaseStreamService.js +49 -0
  568. package/esm/services/CallerService.d.ts +42 -0
  569. package/esm/services/CallerService.js +117 -0
  570. package/esm/services/CallerService.spec.d.ts +1 -0
  571. package/esm/services/CallerService.spec.js +227 -0
  572. package/esm/services/CallerServiceNode.d.ts +6 -0
  573. package/esm/services/CommandService.d.ts +9 -0
  574. package/esm/services/CommandServiceNode.d.ts +6 -0
  575. package/esm/services/ConfigGroupService.d.ts +89 -0
  576. package/esm/services/ControlService.d.ts +11 -0
  577. package/esm/services/ControlServiceNode.d.ts +6 -0
  578. package/esm/services/DashboardService.d.ts +97 -0
  579. package/esm/services/EvaluatorService.d.ts +11 -0
  580. package/esm/services/EventService.d.ts +53 -0
  581. package/esm/services/FileAccessorService.d.ts +11 -0
  582. package/esm/services/FileAccessorServiceNode.d.ts +6 -0
  583. package/esm/services/FunctionService.d.ts +68 -0
  584. package/esm/services/IntegrationService.d.ts +48 -0
  585. package/esm/services/MapService.d.ts +142 -0
  586. package/esm/services/MapService.js +192 -0
  587. package/esm/services/PlatformTimeService.d.ts +35 -0
  588. package/esm/services/PlatformTimeService.spec.d.ts +1 -0
  589. package/esm/services/ProfileService.d.ts +244 -0
  590. package/esm/services/ProjectService.d.ts +106 -0
  591. package/esm/services/ProjectService.js +163 -0
  592. package/esm/services/RTPWebRTCService.d.ts +102 -0
  593. package/esm/services/RTPWebRTCService.js +227 -0
  594. package/esm/services/RTPWebRTCService.spec.d.ts +4 -0
  595. package/esm/services/RTPWebRTCService.spec.js +169 -0
  596. package/esm/services/RobotService.d.ts +278 -0
  597. package/esm/services/ScheduleService.d.ts +22 -0
  598. package/esm/services/SearchService.d.ts +12 -0
  599. package/esm/services/SearchServiceNode.d.ts +6 -0
  600. package/esm/services/SpotProvisioningService.d.ts +14 -0
  601. package/esm/services/SpotProvisioningServiceNode.d.ts +15 -0
  602. package/esm/services/StreamService.d.ts +98 -0
  603. package/esm/services/TelemetryService.d.ts +41 -0
  604. package/esm/services/TelemetryService.js +154 -0
  605. package/esm/services/TelemetryService.spec.d.ts +1 -0
  606. package/esm/services/TelemetryServiceNode.d.ts +6 -0
  607. package/esm/services/TimeSyncerService.d.ts +13 -0
  608. package/esm/services/UserService.d.ts +200 -0
  609. package/esm/services/WebRTCSignallingService.d.ts +22 -0
  610. package/esm/services/WorkflowService.d.ts +62 -0
  611. package/esm/services/WorkflowService.js +103 -0
  612. package/esm/services/WorkflowServiceNode.d.ts +4 -0
  613. package/esm/services/WorkflowServiceNode.js +8 -0
  614. package/esm/services/index.d.ts +28 -0
  615. package/esm/services/index.js +28 -0
  616. package/esm/store/RocosStore.d.ts +31 -0
  617. package/package.json +19 -7
  618. package/IRocosSDK.d.ts +0 -32
  619. package/RocosSDK.d.ts +0 -143
  620. package/RocosSDK.js +0 -302
  621. package/api/streams/caller/CallerStream.js +0 -77
  622. package/api/streams/command/CommandStream.js +0 -66
  623. package/api/streams/control/ControlStream.js +0 -75
  624. package/api/streams/fileAccessor/FileAccessorStream.js +0 -59
  625. package/api/streams/search/SearchStream.js +0 -96
  626. package/api/streams/telemetry/TelemetryStream.js +0 -97
  627. package/api/streams/webRTCSignalling/WebRTCSignallingStream.js +0 -84
  628. package/constants/api.d.ts +0 -127
  629. package/constants/api.js +0 -127
  630. package/helpers/websandbox/frame/frame.source.js +0 -5
  631. package/helpers/websandbox/frame/worker/manager.d.ts +0 -13
  632. package/helpers/websandbox/frame/worker/manager.js +0 -60
  633. package/helpers/websandbox/sandbox.d.ts +0 -54
  634. package/helpers/websandbox/sandbox.js +0 -146
  635. package/models/IProject.d.ts +0 -4
  636. package/models/IRocosSDKConfig.d.ts +0 -19
  637. package/models/RocosError.d.ts +0 -31
  638. package/models/RocosError.js +0 -40
  639. package/models/ServiceEnum.d.ts +0 -27
  640. package/models/ServiceEnum.js +0 -28
  641. package/models/asset-storage/AssetModelItem.d.ts +0 -29
  642. package/models/caller/IRocosCallerMessageChunk.d.ts +0 -10
  643. package/models/caller/index.d.ts +0 -10
  644. package/models/caller/index.js +0 -10
  645. package/models/index.d.ts +0 -75
  646. package/models/index.js +0 -75
  647. package/models/message/IRocosTelemetryMessage.d.ts +0 -23
  648. package/models/params/ICallerParams.d.ts +0 -16
  649. package/node/RocosSDKNode.d.ts +0 -47
  650. package/node/RocosSDKNode.js +0 -150
  651. package/services/AssetStorageService.d.ts +0 -106
  652. package/services/AssetStorageService.js +0 -169
  653. package/services/BaseServiceAbstract.d.ts +0 -36
  654. package/services/BaseServiceAbstract.js +0 -97
  655. package/services/BaseStreamService.js +0 -47
  656. package/services/CallerService.d.ts +0 -10
  657. package/services/CallerService.js +0 -53
  658. package/services/MapService.d.ts +0 -108
  659. package/services/MapService.js +0 -151
  660. package/services/ProjectService.d.ts +0 -110
  661. package/services/ProjectService.js +0 -160
  662. package/services/TelemetryService.d.ts +0 -40
  663. package/services/TelemetryService.js +0 -142
  664. package/services/WorkflowService.d.ts +0 -71
  665. package/services/WorkflowService.js +0 -118
  666. package/services/index.d.ts +0 -27
  667. package/services/index.js +0 -27
  668. /package/{api → cjs/api}/StreamRegister.d.ts +0 -0
  669. /package/{api → cjs/api}/atoms/StreamHeartbeat.d.ts +0 -0
  670. /package/{api → cjs/api}/streams/caller/CallerStream.d.ts +0 -0
  671. /package/{api → cjs/api}/streams/caller/CallerStreamAbstract.d.ts +0 -0
  672. /package/{api → cjs/api}/streams/caller/CallerStreamNode.d.ts +0 -0
  673. /package/{api → cjs/api}/streams/command/CommandStream.d.ts +0 -0
  674. /package/{api → cjs/api}/streams/command/CommandStreamAbstract.d.ts +0 -0
  675. /package/{api → cjs/api}/streams/command/CommandStreamNode.d.ts +0 -0
  676. /package/{api → cjs/api}/streams/control/ControlStream.d.ts +0 -0
  677. /package/{api → cjs/api}/streams/control/ControlStreamAbstract.d.ts +0 -0
  678. /package/{api → cjs/api}/streams/control/ControlStreamNode.d.ts +0 -0
  679. /package/{api → cjs/api}/streams/fileAccessor/FileAccessorStream.d.ts +0 -0
  680. /package/{api → cjs/api}/streams/fileAccessor/FileAccessorStreamAbstract.d.ts +0 -0
  681. /package/{api → cjs/api}/streams/fileAccessor/FileAccessorStreamNode.d.ts +0 -0
  682. /package/{api → cjs/api}/streams/search/SearchStream.d.ts +0 -0
  683. /package/{api → cjs/api}/streams/search/SearchStreamAbstract.d.ts +0 -0
  684. /package/{api → cjs/api}/streams/search/SearchStreamNode.d.ts +0 -0
  685. /package/{api → cjs/api}/streams/telemetry/TelemetryStream.d.ts +0 -0
  686. /package/{api → cjs/api}/streams/telemetry/TelemetryStreamAbstract.d.ts +0 -0
  687. /package/{api → cjs/api}/streams/telemetry/TelemetryStreamNode.d.ts +0 -0
  688. /package/{api → cjs/api}/streams/webRTCSignalling/WebRTCSignallingStream.d.ts +0 -0
  689. /package/{api → cjs/api}/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.d.ts +0 -0
  690. /package/{constants → cjs/constants}/auth.d.ts +0 -0
  691. /package/{constants → cjs/constants}/grpc.d.ts +0 -0
  692. /package/{constants → cjs/constants}/identifier.d.ts +0 -0
  693. /package/{constants → cjs/constants}/timezones.d.ts +0 -0
  694. /package/{grpc → cjs/grpc}/conker_pb.client.d.ts +0 -0
  695. /package/{grpc → cjs/grpc}/conker_pb.d.ts +0 -0
  696. /package/{grpc → cjs/grpc}/conker_pb.grpc-client.d.ts +0 -0
  697. /package/{grpc → cjs/grpc}/filagree_pb.client.d.ts +0 -0
  698. /package/{grpc → cjs/grpc}/filagree_pb.d.ts +0 -0
  699. /package/{grpc → cjs/grpc}/filagree_pb.grpc-client.d.ts +0 -0
  700. /package/{grpc → cjs/grpc}/google/protobuf/descriptor_pb.d.ts +0 -0
  701. /package/{grpc → cjs/grpc}/google/protobuf/empty_pb.d.ts +0 -0
  702. /package/{grpc → cjs/grpc}/pigeon_pb.client.d.ts +0 -0
  703. /package/{grpc → cjs/grpc}/pigeon_pb.d.ts +0 -0
  704. /package/{grpc → cjs/grpc}/pigeon_pb.grpc-client.d.ts +0 -0
  705. /package/{grpc → cjs/grpc}/rambo.uri.v1_pb.d.ts +0 -0
  706. /package/{grpc → cjs/grpc}/rambo.v1_pb.client.d.ts +0 -0
  707. /package/{grpc → cjs/grpc}/rambo.v1_pb.d.ts +0 -0
  708. /package/{grpc → cjs/grpc}/rambo.v1_pb.grpc-client.d.ts +0 -0
  709. /package/{grpc → cjs/grpc}/serviette.uri.v1_pb.d.ts +0 -0
  710. /package/{grpc → cjs/grpc}/serviette.v1_pb.client.d.ts +0 -0
  711. /package/{grpc → cjs/grpc}/serviette.v1_pb.d.ts +0 -0
  712. /package/{grpc → cjs/grpc}/serviette.v1_pb.grpc-client.d.ts +0 -0
  713. /package/{grpc → cjs/grpc}/slowlane_pb.client.d.ts +0 -0
  714. /package/{grpc → cjs/grpc}/slowlane_pb.d.ts +0 -0
  715. /package/{grpc → cjs/grpc}/slowlane_pb.grpc-client.d.ts +0 -0
  716. /package/{grpc → cjs/grpc}/teletubby_pb.client.d.ts +0 -0
  717. /package/{grpc → cjs/grpc}/teletubby_pb.d.ts +0 -0
  718. /package/{grpc → cjs/grpc}/teletubby_pb.grpc-client.d.ts +0 -0
  719. /package/{helpers → cjs/helpers}/arrayRemove.d.ts +0 -0
  720. /package/{helpers → cjs/helpers}/arrayUnique.d.ts +0 -0
  721. /package/{helpers → cjs/helpers}/average.d.ts +0 -0
  722. /package/{helpers → cjs/helpers}/cleanObject.d.ts +0 -0
  723. /package/{helpers → cjs/helpers}/cleanObject.spec.d.ts +0 -0
  724. /package/{helpers → cjs/helpers}/enviroment.d.ts +0 -0
  725. /package/{helpers → cjs/helpers}/flattenCallsignsLookup.d.ts +0 -0
  726. /package/{helpers → cjs/helpers}/flattenObject.d.ts +0 -0
  727. /package/{helpers → cjs/helpers}/flattenObject.spec.d.ts +0 -0
  728. /package/{helpers → cjs/helpers}/flattenOneOf.d.ts +0 -0
  729. /package/{helpers → cjs/helpers}/flattenOneOf.spec.d.ts +0 -0
  730. /package/{helpers → cjs/helpers}/formatServiceUrl.d.ts +0 -0
  731. /package/{helpers → cjs/helpers}/formatServiceUrl.spec.d.ts +0 -0
  732. /package/{helpers → cjs/helpers}/generateUUID.d.ts +0 -0
  733. /package/{helpers/getURLSearchParams.spec.d.ts → cjs/helpers/getSha256Hex.spec.d.ts} +0 -0
  734. /package/{helpers/nanosecondToMillisecond.spec.d.ts → cjs/helpers/getSha256HexNode.spec.d.ts} +0 -0
  735. /package/{helpers → cjs/helpers}/getSubscriptionsDifference.d.ts +0 -0
  736. /package/{helpers → cjs/helpers}/getURLSearchParams.d.ts +0 -0
  737. /package/{helpers/standardDeviation.spec.d.ts → cjs/helpers/getURLSearchParams.spec.d.ts} +0 -0
  738. /package/{helpers → cjs/helpers}/getUniqueConfigKey.d.ts +0 -0
  739. /package/{helpers → cjs/helpers}/getUniqueId.d.ts +0 -0
  740. /package/{helpers → cjs/helpers}/getUnixTimeMs.d.ts +0 -0
  741. /package/{helpers → cjs/helpers}/index.d.ts +0 -0
  742. /package/{helpers → cjs/helpers}/nanosecondToMillisecond.d.ts +0 -0
  743. /package/{helpers/websandbox/frame/worker/types.js → cjs/helpers/nanosecondToMillisecond.spec.d.ts} +0 -0
  744. /package/{helpers → cjs/helpers}/randomString.d.ts +0 -0
  745. /package/{helpers/websandbox/frame/worker/worker.d.ts → cjs/helpers/splitRobotTopic.spec.d.ts} +0 -0
  746. /package/{helpers → cjs/helpers}/standardDeviation.d.ts +0 -0
  747. /package/{helpers/websandbox/types.js → cjs/helpers/standardDeviation.spec.d.ts} +0 -0
  748. /package/{helpers → cjs/helpers}/stringToUint8Array.d.ts +0 -0
  749. /package/{helpers → cjs/helpers}/uint8ArrayToString.d.ts +0 -0
  750. /package/{helpers → cjs/helpers}/websandbox/connection.d.ts +0 -0
  751. /package/{helpers → cjs/helpers}/websandbox/frame/frame.d.ts +0 -0
  752. /package/{helpers → cjs/helpers}/websandbox/frame/frame.source.d.ts +0 -0
  753. /package/{helpers → cjs/helpers}/websandbox/frame/index.d.ts +0 -0
  754. /package/{helpers → cjs/helpers}/websandbox/frame/worker/index.d.ts +0 -0
  755. /package/{helpers → cjs/helpers}/websandbox/frame/worker/types.d.ts +0 -0
  756. /package/{models/IBaseService.js → cjs/helpers/websandbox/frame/worker/worker.d.ts} +0 -0
  757. /package/{helpers → cjs/helpers}/websandbox/frame/worker/worker.source.d.ts +0 -0
  758. /package/{helpers → cjs/helpers}/websandbox/index.d.ts +0 -0
  759. /package/{helpers → cjs/helpers}/websandbox/types.d.ts +0 -0
  760. /package/{index.d.ts → cjs/index.d.ts} +0 -0
  761. /package/{logger → cjs/logger}/RocosLogger.d.ts +0 -0
  762. /package/{models → cjs/models}/CallsignStatus.d.ts +0 -0
  763. /package/{models → cjs/models}/ExportDataQuery.d.ts +0 -0
  764. /package/{models → cjs/models}/ExternalProject.d.ts +0 -0
  765. /package/{models → cjs/models}/IBaseService.d.ts +0 -0
  766. /package/{models → cjs/models}/IConfigGroup.d.ts +0 -0
  767. /package/{models → cjs/models}/IDebugLevel.d.ts +0 -0
  768. /package/{models → cjs/models}/IExportDataQuery.d.ts +0 -0
  769. /package/{models → cjs/models}/IFunctionConfig.d.ts +0 -0
  770. /package/{models → cjs/models}/IInvitation.d.ts +0 -0
  771. /package/{models → cjs/models}/IInvitationExists.d.ts +0 -0
  772. /package/{models → cjs/models}/IOperation.d.ts +0 -0
  773. /package/{models → cjs/models}/IPersonalAccessToken.d.ts +0 -0
  774. /package/{models → cjs/models}/IProjectApplication.d.ts +0 -0
  775. /package/{models → cjs/models}/IRobot.d.ts +0 -0
  776. /package/{models → cjs/models}/IRobotConfig.d.ts +0 -0
  777. /package/{models → cjs/models}/IRobotPlugin.d.ts +0 -0
  778. /package/{models → cjs/models}/IRobotSettings.d.ts +0 -0
  779. /package/{models → cjs/models}/IRobotTemplate.d.ts +0 -0
  780. /package/{models → cjs/models}/ISource.d.ts +0 -0
  781. /package/{models → cjs/models}/IStream.d.ts +0 -0
  782. /package/{models → cjs/models}/IStreamConfig.d.ts +0 -0
  783. /package/{models → cjs/models}/IStreamOptions.d.ts +0 -0
  784. /package/{models → cjs/models}/IStreamSource.d.ts +0 -0
  785. /package/{models → cjs/models}/ISubscriberStatus.d.ts +0 -0
  786. /package/{models → cjs/models}/ITelemetryStreamConfig.d.ts +0 -0
  787. /package/{models → cjs/models}/IToken.d.ts +0 -0
  788. /package/{models → cjs/models}/IWidget.d.ts +0 -0
  789. /package/{models → cjs/models}/IWidgetLineGroup.d.ts +0 -0
  790. /package/{models → cjs/models}/ResponseLevelEnum.d.ts +0 -0
  791. /package/{models → cjs/models}/Robot.d.ts +0 -0
  792. /package/{models → cjs/models}/RobotConfig.d.ts +0 -0
  793. /package/{models → cjs/models}/RobotPlugin.d.ts +0 -0
  794. /package/{models → cjs/models}/RobotTemplate.d.ts +0 -0
  795. /package/{models → cjs/models}/Stream.d.ts +0 -0
  796. /package/{models → cjs/models}/StreamOptions.d.ts +0 -0
  797. /package/{models → cjs/models}/StreamSource.d.ts +0 -0
  798. /package/{models → cjs/models}/SubscriberStatusEnum.d.ts +0 -0
  799. /package/{models → cjs/models}/Token.d.ts +0 -0
  800. /package/{models → cjs/models}/Token.spec.d.ts +0 -0
  801. /package/{models → cjs/models}/Widget.d.ts +0 -0
  802. /package/{models → cjs/models}/WidgetLineGroup.d.ts +0 -0
  803. /package/{models → cjs/models}/caller/IRocosCallerMessageChunks.d.ts +0 -0
  804. /package/{models → cjs/models}/caller/IRocosCallerMessageHeartbeat.d.ts +0 -0
  805. /package/{models → cjs/models}/caller/IRocosCallerMessageResponse.d.ts +0 -0
  806. /package/{models → cjs/models}/caller/IRocosCallerMessageResponseAck.d.ts +0 -0
  807. /package/{models → cjs/models}/caller/IRocosCallerMessageResponseResult.d.ts +0 -0
  808. /package/{models → cjs/models}/caller/IRocosCallerMessageResponseReturn.d.ts +0 -0
  809. /package/{models → cjs/models}/caller/IRocosCallerMessageResponseUid.d.ts +0 -0
  810. /package/{models → cjs/models}/caller/IRocosCallerMessageResponses.d.ts +0 -0
  811. /package/{models → cjs/models}/caller/RocosCallerResultStatus.d.ts +0 -0
  812. /package/{models → cjs/models}/caller/RocosResponseLevel.d.ts +0 -0
  813. /package/{models → cjs/models}/callsigns/CallsignsEnums.d.ts +0 -0
  814. /package/{models → cjs/models}/callsigns/CallsignsLookup.d.ts +0 -0
  815. /package/{models → cjs/models}/callsigns/CallsignsQuery.d.ts +0 -0
  816. /package/{models → cjs/models}/callsigns/CallsignsQueryPredicate.d.ts +0 -0
  817. /package/{models → cjs/models}/command/IRocosCommandMessageHeartbeat.d.ts +0 -0
  818. /package/{models → cjs/models}/command/IRocosCommandMessageResponse.d.ts +0 -0
  819. /package/{models → cjs/models}/command/RocosCommandResultStatus.d.ts +0 -0
  820. /package/{models → cjs/models}/command/index.d.ts +0 -0
  821. /package/{models → cjs/models}/file/FileEnums.d.ts +0 -0
  822. /package/{models → cjs/models}/integrations/Overlay.d.ts +0 -0
  823. /package/{models → cjs/models}/integrations/Plan.d.ts +0 -0
  824. /package/{models → cjs/models}/maps/Map.d.ts +0 -0
  825. /package/{models → cjs/models}/message/IRocosCallerMessage.d.ts +0 -0
  826. /package/{models → cjs/models}/message/IRocosChangeMessage.d.ts +0 -0
  827. /package/{models → cjs/models}/message/IRocosCommandMessage.d.ts +0 -0
  828. /package/{models → cjs/models}/message/IRocosControlMessage.d.ts +0 -0
  829. /package/{models → cjs/models}/message/IRocosOpResultMessage.d.ts +0 -0
  830. /package/{models → cjs/models}/message/IRocosSearchMessage.d.ts +0 -0
  831. /package/{models → cjs/models}/message/IRocosSearchRowMessage.d.ts +0 -0
  832. /package/{models → cjs/models}/message/IRocosSearchStatusMessage.d.ts +0 -0
  833. /package/{models → cjs/models}/message/IStreamStatusMessage.d.ts +0 -0
  834. /package/{models → cjs/models}/message/RocosCallerMessage.d.ts +0 -0
  835. /package/{models → cjs/models}/message/RocosCommandMessage.d.ts +0 -0
  836. /package/{models → cjs/models}/message/RocosControlMessage.d.ts +0 -0
  837. /package/{models → cjs/models}/message/RocosOpResultMessage.d.ts +0 -0
  838. /package/{models → cjs/models}/message/RocosSearchMessage.d.ts +0 -0
  839. /package/{models → cjs/models}/message/RocosSearchRowMessage.d.ts +0 -0
  840. /package/{models → cjs/models}/message/RocosTelemetryMessage.d.ts +0 -0
  841. /package/{models → cjs/models}/message/index.d.ts +0 -0
  842. /package/{models → cjs/models}/params/ICommandParams.d.ts +0 -0
  843. /package/{models → cjs/models}/params/IControlParams.d.ts +0 -0
  844. /package/{models → cjs/models}/params/IFileAccessorParams.d.ts +0 -0
  845. /package/{models → cjs/models}/params/ISearchParams.d.ts +0 -0
  846. /package/{models → cjs/models}/params/ITelemetryParams.d.ts +0 -0
  847. /package/{models → cjs/models}/params/IWebRTCSignallingParams.d.ts +0 -0
  848. /package/{models → cjs/models}/projects/ProjectUser.d.ts +0 -0
  849. /package/{models → cjs/models}/schedule/IScheduleAction.d.ts +0 -0
  850. /package/{models → cjs/models}/schedule/IScheduleInfo.d.ts +0 -0
  851. /package/{models → cjs/models}/schedule/IScheduleJob.d.ts +0 -0
  852. /package/{models → cjs/models}/search/SearchQueryFilter.d.ts +0 -0
  853. /package/{models → cjs/models}/search/SearchStreamQuery.d.ts +0 -0
  854. /package/{models → cjs/models}/stream/IBaseStream.d.ts +0 -0
  855. /package/{models → cjs/models}/stream/ICallerStream.d.ts +0 -0
  856. /package/{models → cjs/models}/stream/ICommandStream.d.ts +0 -0
  857. /package/{models → cjs/models}/stream/IControlStream.d.ts +0 -0
  858. /package/{models → cjs/models}/stream/IFileAccessorStream.d.ts +0 -0
  859. /package/{models → cjs/models}/stream/ISearchStream.d.ts +0 -0
  860. /package/{models → cjs/models}/stream/ITelemetryStream.d.ts +0 -0
  861. /package/{models → cjs/models}/stream/IWebRTCSignallingStream.d.ts +0 -0
  862. /package/{models → cjs/models}/types.d.ts +0 -0
  863. /package/{node → cjs/node}/index.d.ts +0 -0
  864. /package/{services → cjs/services}/AuthService.d.ts +0 -0
  865. /package/{services → cjs/services}/AuthService.spec.d.ts +0 -0
  866. /package/{services → cjs/services}/BaseStreamService.d.ts +0 -0
  867. /package/{models/IConfigGroup.js → cjs/services/CallerService.spec.d.ts} +0 -0
  868. /package/{services → cjs/services}/CallerServiceNode.d.ts +0 -0
  869. /package/{services → cjs/services}/CommandService.d.ts +0 -0
  870. /package/{services → cjs/services}/CommandServiceNode.d.ts +0 -0
  871. /package/{services → cjs/services}/ConfigGroupService.d.ts +0 -0
  872. /package/{services → cjs/services}/ControlService.d.ts +0 -0
  873. /package/{services → cjs/services}/ControlServiceNode.d.ts +0 -0
  874. /package/{services → cjs/services}/DashboardService.d.ts +0 -0
  875. /package/{services → cjs/services}/EvaluatorService.d.ts +0 -0
  876. /package/{services → cjs/services}/EventService.d.ts +0 -0
  877. /package/{services → cjs/services}/FileAccessorService.d.ts +0 -0
  878. /package/{services → cjs/services}/FileAccessorServiceNode.d.ts +0 -0
  879. /package/{services → cjs/services}/FunctionService.d.ts +0 -0
  880. /package/{services → cjs/services}/IntegrationService.d.ts +0 -0
  881. /package/{services → cjs/services}/PlatformTimeService.d.ts +0 -0
  882. /package/{services → cjs/services}/PlatformTimeService.spec.d.ts +0 -0
  883. /package/{services → cjs/services}/ProfileService.d.ts +0 -0
  884. /package/{services → cjs/services}/RobotService.d.ts +0 -0
  885. /package/{services → cjs/services}/ScheduleService.d.ts +0 -0
  886. /package/{services → cjs/services}/SearchService.d.ts +0 -0
  887. /package/{services → cjs/services}/SearchServiceNode.d.ts +0 -0
  888. /package/{services → cjs/services}/SpotProvisioningService.d.ts +0 -0
  889. /package/{services → cjs/services}/SpotProvisioningServiceNode.d.ts +0 -0
  890. /package/{services → cjs/services}/StreamService.d.ts +0 -0
  891. /package/{services → cjs/services}/TelemetryService.spec.d.ts +0 -0
  892. /package/{services → cjs/services}/TelemetryServiceNode.d.ts +0 -0
  893. /package/{services → cjs/services}/TimeSyncerService.d.ts +0 -0
  894. /package/{services → cjs/services}/UserService.d.ts +0 -0
  895. /package/{services → cjs/services}/WebRTCSignallingService.d.ts +0 -0
  896. /package/{store → cjs/store}/RocosStore.d.ts +0 -0
  897. /package/{IRocosSDK.js → esm/IRocosSDK.js} +0 -0
  898. /package/{api → esm/api}/StreamRegister.js +0 -0
  899. /package/{api → esm/api}/atoms/StreamHeartbeat.js +0 -0
  900. /package/{api → esm/api}/streams/caller/CallerStreamAbstract.js +0 -0
  901. /package/{api → esm/api}/streams/caller/CallerStreamNode.js +0 -0
  902. /package/{api → esm/api}/streams/command/CommandStreamAbstract.js +0 -0
  903. /package/{api → esm/api}/streams/command/CommandStreamNode.js +0 -0
  904. /package/{api → esm/api}/streams/control/ControlStreamAbstract.js +0 -0
  905. /package/{api → esm/api}/streams/control/ControlStreamNode.js +0 -0
  906. /package/{api → esm/api}/streams/fileAccessor/FileAccessorStreamAbstract.js +0 -0
  907. /package/{api → esm/api}/streams/fileAccessor/FileAccessorStreamNode.js +0 -0
  908. /package/{api → esm/api}/streams/search/SearchStreamAbstract.js +0 -0
  909. /package/{api → esm/api}/streams/search/SearchStreamNode.js +0 -0
  910. /package/{api → esm/api}/streams/telemetry/TelemetryStreamAbstract.js +0 -0
  911. /package/{api → esm/api}/streams/telemetry/TelemetryStreamNode.js +0 -0
  912. /package/{api → esm/api}/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.js +0 -0
  913. /package/{constants → esm/constants}/auth.js +0 -0
  914. /package/{constants → esm/constants}/grpc.js +0 -0
  915. /package/{constants → esm/constants}/identifier.js +0 -0
  916. /package/{constants → esm/constants}/timezones.js +0 -0
  917. /package/{grpc → esm/grpc}/conker_pb.client.js +0 -0
  918. /package/{grpc → esm/grpc}/conker_pb.grpc-client.js +0 -0
  919. /package/{grpc → esm/grpc}/conker_pb.js +0 -0
  920. /package/{grpc → esm/grpc}/filagree_pb.client.js +0 -0
  921. /package/{grpc → esm/grpc}/filagree_pb.grpc-client.js +0 -0
  922. /package/{grpc → esm/grpc}/filagree_pb.js +0 -0
  923. /package/{grpc → esm/grpc}/google/protobuf/descriptor_pb.js +0 -0
  924. /package/{grpc → esm/grpc}/google/protobuf/empty_pb.js +0 -0
  925. /package/{grpc → esm/grpc}/pigeon_pb.client.js +0 -0
  926. /package/{grpc → esm/grpc}/pigeon_pb.grpc-client.js +0 -0
  927. /package/{grpc → esm/grpc}/pigeon_pb.js +0 -0
  928. /package/{grpc → esm/grpc}/rambo.uri.v1_pb.js +0 -0
  929. /package/{grpc → esm/grpc}/rambo.v1_pb.client.js +0 -0
  930. /package/{grpc → esm/grpc}/rambo.v1_pb.grpc-client.js +0 -0
  931. /package/{grpc → esm/grpc}/rambo.v1_pb.js +0 -0
  932. /package/{grpc → esm/grpc}/serviette.uri.v1_pb.js +0 -0
  933. /package/{grpc → esm/grpc}/serviette.v1_pb.client.js +0 -0
  934. /package/{grpc → esm/grpc}/serviette.v1_pb.grpc-client.js +0 -0
  935. /package/{grpc → esm/grpc}/serviette.v1_pb.js +0 -0
  936. /package/{grpc → esm/grpc}/slowlane_pb.client.js +0 -0
  937. /package/{grpc → esm/grpc}/slowlane_pb.grpc-client.js +0 -0
  938. /package/{grpc → esm/grpc}/slowlane_pb.js +0 -0
  939. /package/{grpc → esm/grpc}/teletubby_pb.client.js +0 -0
  940. /package/{grpc → esm/grpc}/teletubby_pb.grpc-client.js +0 -0
  941. /package/{grpc → esm/grpc}/teletubby_pb.js +0 -0
  942. /package/{helpers → esm/helpers}/arrayRemove.js +0 -0
  943. /package/{helpers → esm/helpers}/arrayUnique.js +0 -0
  944. /package/{helpers → esm/helpers}/average.js +0 -0
  945. /package/{helpers → esm/helpers}/cleanObject.js +0 -0
  946. /package/{models/IDebugLevel.js → esm/helpers/cleanObject.spec.d.ts} +0 -0
  947. /package/{helpers → esm/helpers}/cleanObject.spec.js +0 -0
  948. /package/{helpers → esm/helpers}/enviroment.js +0 -0
  949. /package/{helpers → esm/helpers}/flattenCallsignsLookup.js +0 -0
  950. /package/{helpers → esm/helpers}/flattenObject.js +0 -0
  951. /package/{models/IExportDataQuery.js → esm/helpers/flattenObject.spec.d.ts} +0 -0
  952. /package/{helpers → esm/helpers}/flattenObject.spec.js +0 -0
  953. /package/{helpers → esm/helpers}/flattenOneOf.js +0 -0
  954. /package/{models/IFunctionConfig.js → esm/helpers/flattenOneOf.spec.d.ts} +0 -0
  955. /package/{helpers → esm/helpers}/flattenOneOf.spec.js +0 -0
  956. /package/{helpers → esm/helpers}/formatServiceUrl.js +0 -0
  957. /package/{models/IInvitation.js → esm/helpers/formatServiceUrl.spec.d.ts} +0 -0
  958. /package/{helpers → esm/helpers}/formatServiceUrl.spec.js +0 -0
  959. /package/{helpers → esm/helpers}/generateUUID.js +0 -0
  960. /package/{models/IInvitationExists.js → esm/helpers/getSha256Hex.spec.d.ts} +0 -0
  961. /package/{models/IOperation.js → esm/helpers/getSha256HexNode.spec.d.ts} +0 -0
  962. /package/{helpers → esm/helpers}/getSubscriptionsDifference.js +0 -0
  963. /package/{helpers → esm/helpers}/getURLSearchParams.js +0 -0
  964. /package/{models/IPersonalAccessToken.js → esm/helpers/getURLSearchParams.spec.d.ts} +0 -0
  965. /package/{helpers → esm/helpers}/getURLSearchParams.spec.js +0 -0
  966. /package/{helpers → esm/helpers}/getUniqueConfigKey.js +0 -0
  967. /package/{helpers → esm/helpers}/getUniqueId.js +0 -0
  968. /package/{helpers → esm/helpers}/getUnixTimeMs.js +0 -0
  969. /package/{helpers/index.js → esm/helpers/index.d.ts} +0 -0
  970. /package/{helpers → esm/helpers}/nanosecondToMillisecond.js +0 -0
  971. /package/{models/IProject.js → esm/helpers/nanosecondToMillisecond.spec.d.ts} +0 -0
  972. /package/{helpers → esm/helpers}/nanosecondToMillisecond.spec.js +0 -0
  973. /package/{helpers → esm/helpers}/randomString.js +0 -0
  974. /package/{models/IProjectApplication.js → esm/helpers/splitRobotTopic.spec.d.ts} +0 -0
  975. /package/{helpers → esm/helpers}/standardDeviation.js +0 -0
  976. /package/{models/IRobot.js → esm/helpers/standardDeviation.spec.d.ts} +0 -0
  977. /package/{helpers → esm/helpers}/standardDeviation.spec.js +0 -0
  978. /package/{helpers → esm/helpers}/stringToUint8Array.js +0 -0
  979. /package/{helpers → esm/helpers}/uint8ArrayToString.js +0 -0
  980. /package/{helpers → esm/helpers}/websandbox/connection.js +0 -0
  981. /package/{helpers → esm/helpers}/websandbox/frame/frame.js +0 -0
  982. /package/{helpers/websandbox/frame/index.js → esm/helpers/websandbox/frame/index.d.ts} +0 -0
  983. /package/{helpers/websandbox/frame/worker/index.js → esm/helpers/websandbox/frame/worker/index.d.ts} +0 -0
  984. /package/{models → esm/helpers/websandbox/frame/worker}/types.js +0 -0
  985. /package/{models/IRobotConfig.js → esm/helpers/websandbox/frame/worker/worker.d.ts} +0 -0
  986. /package/{helpers → esm/helpers}/websandbox/frame/worker/worker.js +0 -0
  987. /package/{helpers → esm/helpers}/websandbox/frame/worker/worker.source.js +0 -0
  988. /package/{helpers/websandbox/index.js → esm/helpers/websandbox/index.d.ts} +0 -0
  989. /package/{models/IRobotPlugin.js → esm/helpers/websandbox/types.js} +0 -0
  990. /package/{index.js → esm/index.d.ts} +0 -0
  991. /package/{logger → esm/logger}/RocosLogger.js +0 -0
  992. /package/{models → esm/models}/CallsignStatus.js +0 -0
  993. /package/{models → esm/models}/ExportDataQuery.js +0 -0
  994. /package/{models → esm/models}/ExternalProject.js +0 -0
  995. /package/{models/IRobotSettings.js → esm/models/IBaseService.js} +0 -0
  996. /package/{models/IRobotTemplate.js → esm/models/IConfigGroup.js} +0 -0
  997. /package/{models/IRocosSDKConfig.js → esm/models/IDebugLevel.js} +0 -0
  998. /package/{models/ISource.js → esm/models/IExportDataQuery.js} +0 -0
  999. /package/{models/IStream.js → esm/models/IFunctionConfig.js} +0 -0
  1000. /package/{models/IStreamConfig.js → esm/models/IInvitation.js} +0 -0
  1001. /package/{models/IStreamOptions.js → esm/models/IInvitationExists.js} +0 -0
  1002. /package/{models/IStreamSource.js → esm/models/IOperation.js} +0 -0
  1003. /package/{models/ISubscriberStatus.js → esm/models/IPersonalAccessToken.js} +0 -0
  1004. /package/{models/ITelemetryStreamConfig.js → esm/models/IProject.js} +0 -0
  1005. /package/{models/IToken.js → esm/models/IProjectApplication.js} +0 -0
  1006. /package/{models/IWidget.js → esm/models/IProjectInfo.js} +0 -0
  1007. /package/{models/IWidgetLineGroup.js → esm/models/IRobot.js} +0 -0
  1008. /package/{models/asset-storage/AssetModelItem.js → esm/models/IRobotConfig.js} +0 -0
  1009. /package/{models/caller/IRocosCallerMessageChunk.js → esm/models/IRobotPlugin.js} +0 -0
  1010. /package/{models/caller/IRocosCallerMessageChunks.js → esm/models/IRobotSettings.js} +0 -0
  1011. /package/{models/caller/IRocosCallerMessageHeartbeat.js → esm/models/IRobotTemplate.js} +0 -0
  1012. /package/{models/caller/IRocosCallerMessageResponse.js → esm/models/IRocosSDKConfig.js} +0 -0
  1013. /package/{models/caller/IRocosCallerMessageResponseReturn.js → esm/models/ISource.js} +0 -0
  1014. /package/{models/caller/IRocosCallerMessageResponses.js → esm/models/IStream.js} +0 -0
  1015. /package/{models/command/IRocosCommandMessageHeartbeat.js → esm/models/IStreamConfig.js} +0 -0
  1016. /package/{models/integrations/Overlay.js → esm/models/IStreamOptions.js} +0 -0
  1017. /package/{models/integrations/Plan.js → esm/models/IStreamSource.js} +0 -0
  1018. /package/{models/maps/Map.js → esm/models/ISubscriberStatus.js} +0 -0
  1019. /package/{models/message/IRocosCallerMessage.js → esm/models/ITelemetryStreamConfig.js} +0 -0
  1020. /package/{models/message/IRocosChangeMessage.js → esm/models/IToken.js} +0 -0
  1021. /package/{models/message/IRocosCommandMessage.js → esm/models/IWidget.js} +0 -0
  1022. /package/{models/message/IRocosControlMessage.js → esm/models/IWidgetLineGroup.js} +0 -0
  1023. /package/{models → esm/models}/ResponseLevelEnum.js +0 -0
  1024. /package/{models → esm/models}/Robot.js +0 -0
  1025. /package/{models → esm/models}/RobotConfig.js +0 -0
  1026. /package/{models → esm/models}/RobotPlugin.js +0 -0
  1027. /package/{models → esm/models}/RobotTemplate.js +0 -0
  1028. /package/{models → esm/models}/Stream.js +0 -0
  1029. /package/{models → esm/models}/StreamOptions.js +0 -0
  1030. /package/{models → esm/models}/StreamSource.js +0 -0
  1031. /package/{models → esm/models}/SubscriberStatusEnum.js +0 -0
  1032. /package/{models → esm/models}/Token.js +0 -0
  1033. /package/{models/message/IRocosOpResultMessage.js → esm/models/Token.spec.d.ts} +0 -0
  1034. /package/{models → esm/models}/Token.spec.js +0 -0
  1035. /package/{models → esm/models}/Widget.js +0 -0
  1036. /package/{models → esm/models}/WidgetLineGroup.js +0 -0
  1037. /package/{models/message/IRocosSearchMessage.js → esm/models/asset-storage/AssetItem.js} +0 -0
  1038. /package/{models/message/IRocosSearchRowMessage.js → esm/models/asset-storage/SyncIntegrations.js} +0 -0
  1039. /package/{models/message/IRocosSearchStatusMessage.js → esm/models/caller/IRocosCallerMessageChunk.js} +0 -0
  1040. /package/{models/message/IRocosTelemetryMessage.js → esm/models/caller/IRocosCallerMessageChunks.js} +0 -0
  1041. /package/{models/message/IStreamStatusMessage.js → esm/models/caller/IRocosCallerMessageHeartbeat.js} +0 -0
  1042. /package/{models/params/ICallerParams.js → esm/models/caller/IRocosCallerMessageResponse.js} +0 -0
  1043. /package/{models → esm/models}/caller/IRocosCallerMessageResponseAck.js +0 -0
  1044. /package/{models → esm/models}/caller/IRocosCallerMessageResponseResult.js +0 -0
  1045. /package/{models/params/ICommandParams.js → esm/models/caller/IRocosCallerMessageResponseReturn.js} +0 -0
  1046. /package/{models → esm/models}/caller/IRocosCallerMessageResponseUid.js +0 -0
  1047. /package/{models/params/IControlParams.js → esm/models/caller/IRocosCallerMessageResponses.js} +0 -0
  1048. /package/{models → esm/models}/caller/RocosCallerResultStatus.js +0 -0
  1049. /package/{models → esm/models}/caller/RocosResponseLevel.js +0 -0
  1050. /package/{models → esm/models}/callsigns/CallsignsEnums.js +0 -0
  1051. /package/{models → esm/models}/callsigns/CallsignsLookup.js +0 -0
  1052. /package/{models → esm/models}/callsigns/CallsignsQuery.js +0 -0
  1053. /package/{models → esm/models}/callsigns/CallsignsQueryPredicate.js +0 -0
  1054. /package/{models/params/IFileAccessorParams.js → esm/models/command/IRocosCommandMessageHeartbeat.js} +0 -0
  1055. /package/{models → esm/models}/command/IRocosCommandMessageResponse.js +0 -0
  1056. /package/{models → esm/models}/command/RocosCommandResultStatus.js +0 -0
  1057. /package/{models/command/index.js → esm/models/command/index.d.ts} +0 -0
  1058. /package/{models → esm/models}/file/FileEnums.js +0 -0
  1059. /package/{models/params/ISearchParams.js → esm/models/integrations/Overlay.js} +0 -0
  1060. /package/{models/params/ITelemetryParams.js → esm/models/integrations/Plan.js} +0 -0
  1061. /package/{models/params/IWebRTCSignallingParams.js → esm/models/maps/Map.js} +0 -0
  1062. /package/{models/projects/ProjectUser.js → esm/models/maps/Panorama.js} +0 -0
  1063. /package/{models/schedule/IScheduleInfo.js → esm/models/message/IRocosCallerMessage.js} +0 -0
  1064. /package/{models/schedule/IScheduleJob.js → esm/models/message/IRocosChangeMessage.js} +0 -0
  1065. /package/{models/stream/IBaseStream.js → esm/models/message/IRocosCommandMessage.js} +0 -0
  1066. /package/{models/stream/ICallerStream.js → esm/models/message/IRocosControlMessage.js} +0 -0
  1067. /package/{models/stream/ICommandStream.js → esm/models/message/IRocosOpResultMessage.js} +0 -0
  1068. /package/{models/stream/IControlStream.js → esm/models/message/IRocosSearchMessage.js} +0 -0
  1069. /package/{models/stream/IFileAccessorStream.js → esm/models/message/IRocosSearchRowMessage.js} +0 -0
  1070. /package/{models/stream/ISearchStream.js → esm/models/message/IRocosSearchStatusMessage.js} +0 -0
  1071. /package/{models/stream/ITelemetryStream.js → esm/models/message/IRocosTelemetryMessage.js} +0 -0
  1072. /package/{models/stream/IWebRTCSignallingStream.js → esm/models/message/IStreamStatusMessage.js} +0 -0
  1073. /package/{models → esm/models}/message/RocosCallerMessage.js +0 -0
  1074. /package/{models → esm/models}/message/RocosCommandMessage.js +0 -0
  1075. /package/{models → esm/models}/message/RocosControlMessage.js +0 -0
  1076. /package/{models → esm/models}/message/RocosOpResultMessage.js +0 -0
  1077. /package/{models → esm/models}/message/RocosSearchMessage.js +0 -0
  1078. /package/{models → esm/models}/message/RocosSearchRowMessage.js +0 -0
  1079. /package/{models → esm/models}/message/RocosTelemetryMessage.js +0 -0
  1080. /package/{models/message/index.js → esm/models/message/index.d.ts} +0 -0
  1081. /package/{models → esm/models}/schedule/IScheduleAction.js +0 -0
  1082. /package/{models → esm/models}/search/SearchQueryFilter.js +0 -0
  1083. /package/{models → esm/models}/search/SearchStreamQuery.js +0 -0
  1084. /package/{node/index.js → esm/node/index.d.ts} +0 -0
  1085. /package/{services → esm/services}/AuthService.js +0 -0
  1086. /package/{services → esm/services}/AuthService.spec.js +0 -0
  1087. /package/{services → esm/services}/CallerServiceNode.js +0 -0
  1088. /package/{services → esm/services}/CommandService.js +0 -0
  1089. /package/{services → esm/services}/CommandServiceNode.js +0 -0
  1090. /package/{services → esm/services}/ConfigGroupService.js +0 -0
  1091. /package/{services → esm/services}/ControlService.js +0 -0
  1092. /package/{services → esm/services}/ControlServiceNode.js +0 -0
  1093. /package/{services → esm/services}/DashboardService.js +0 -0
  1094. /package/{services → esm/services}/EvaluatorService.js +0 -0
  1095. /package/{services → esm/services}/EventService.js +0 -0
  1096. /package/{services → esm/services}/FileAccessorService.js +0 -0
  1097. /package/{services → esm/services}/FileAccessorServiceNode.js +0 -0
  1098. /package/{services → esm/services}/FunctionService.js +0 -0
  1099. /package/{services → esm/services}/IntegrationService.js +0 -0
  1100. /package/{services → esm/services}/PlatformTimeService.js +0 -0
  1101. /package/{services → esm/services}/PlatformTimeService.spec.js +0 -0
  1102. /package/{services → esm/services}/ProfileService.js +0 -0
  1103. /package/{services → esm/services}/RobotService.js +0 -0
  1104. /package/{services → esm/services}/ScheduleService.js +0 -0
  1105. /package/{services → esm/services}/SearchService.js +0 -0
  1106. /package/{services → esm/services}/SearchServiceNode.js +0 -0
  1107. /package/{services → esm/services}/SpotProvisioningService.js +0 -0
  1108. /package/{services → esm/services}/SpotProvisioningServiceNode.js +0 -0
  1109. /package/{services → esm/services}/StreamService.js +0 -0
  1110. /package/{services → esm/services}/TelemetryService.spec.js +0 -0
  1111. /package/{services → esm/services}/TelemetryServiceNode.js +0 -0
  1112. /package/{services → esm/services}/TimeSyncerService.js +0 -0
  1113. /package/{services → esm/services}/UserService.js +0 -0
  1114. /package/{services → esm/services}/WebRTCSignallingService.js +0 -0
  1115. /package/{store → esm/store}/RocosStore.js +0 -0
@@ -0,0 +1,2381 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions = exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.GeneratedCodeInfo_Annotation_Semantic = exports.MethodOptions_IdempotencyLevel = exports.FieldOptions_OptionTargetType = exports.FieldOptions_OptionRetention = exports.FieldOptions_JSType = exports.FieldOptions_CType = exports.FileOptions_OptimizeMode = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_Type = void 0;
4
+ const runtime_1 = require("@protobuf-ts/runtime");
5
+ const runtime_2 = require("@protobuf-ts/runtime");
6
+ const runtime_3 = require("@protobuf-ts/runtime");
7
+ const runtime_4 = require("@protobuf-ts/runtime");
8
+ const runtime_5 = require("@protobuf-ts/runtime");
9
+ /**
10
+ * @generated from protobuf enum google.protobuf.FieldDescriptorProto.Type
11
+ */
12
+ var FieldDescriptorProto_Type;
13
+ (function (FieldDescriptorProto_Type) {
14
+ /**
15
+ * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
16
+ */
17
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["UNSPECIFIED$"] = 0] = "UNSPECIFIED$";
18
+ /**
19
+ * 0 is reserved for errors.
20
+ * Order is weird for historical reasons.
21
+ *
22
+ * @generated from protobuf enum value: TYPE_DOUBLE = 1;
23
+ */
24
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["DOUBLE"] = 1] = "DOUBLE";
25
+ /**
26
+ * @generated from protobuf enum value: TYPE_FLOAT = 2;
27
+ */
28
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["FLOAT"] = 2] = "FLOAT";
29
+ /**
30
+ * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
31
+ * negative values are likely.
32
+ *
33
+ * @generated from protobuf enum value: TYPE_INT64 = 3;
34
+ */
35
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT64"] = 3] = "INT64";
36
+ /**
37
+ * @generated from protobuf enum value: TYPE_UINT64 = 4;
38
+ */
39
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT64"] = 4] = "UINT64";
40
+ /**
41
+ * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
42
+ * negative values are likely.
43
+ *
44
+ * @generated from protobuf enum value: TYPE_INT32 = 5;
45
+ */
46
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT32"] = 5] = "INT32";
47
+ /**
48
+ * @generated from protobuf enum value: TYPE_FIXED64 = 6;
49
+ */
50
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED64"] = 6] = "FIXED64";
51
+ /**
52
+ * @generated from protobuf enum value: TYPE_FIXED32 = 7;
53
+ */
54
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED32"] = 7] = "FIXED32";
55
+ /**
56
+ * @generated from protobuf enum value: TYPE_BOOL = 8;
57
+ */
58
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["BOOL"] = 8] = "BOOL";
59
+ /**
60
+ * @generated from protobuf enum value: TYPE_STRING = 9;
61
+ */
62
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["STRING"] = 9] = "STRING";
63
+ /**
64
+ * Tag-delimited aggregate.
65
+ * Group type is deprecated and not supported in proto3. However, Proto3
66
+ * implementations should still be able to parse the group wire format and
67
+ * treat group fields as unknown fields.
68
+ *
69
+ * @generated from protobuf enum value: TYPE_GROUP = 10;
70
+ */
71
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["GROUP"] = 10] = "GROUP";
72
+ /**
73
+ * Length-delimited aggregate.
74
+ *
75
+ * @generated from protobuf enum value: TYPE_MESSAGE = 11;
76
+ */
77
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["MESSAGE"] = 11] = "MESSAGE";
78
+ /**
79
+ * New in version 2.
80
+ *
81
+ * @generated from protobuf enum value: TYPE_BYTES = 12;
82
+ */
83
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["BYTES"] = 12] = "BYTES";
84
+ /**
85
+ * @generated from protobuf enum value: TYPE_UINT32 = 13;
86
+ */
87
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT32"] = 13] = "UINT32";
88
+ /**
89
+ * @generated from protobuf enum value: TYPE_ENUM = 14;
90
+ */
91
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["ENUM"] = 14] = "ENUM";
92
+ /**
93
+ * @generated from protobuf enum value: TYPE_SFIXED32 = 15;
94
+ */
95
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED32"] = 15] = "SFIXED32";
96
+ /**
97
+ * @generated from protobuf enum value: TYPE_SFIXED64 = 16;
98
+ */
99
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED64"] = 16] = "SFIXED64";
100
+ /**
101
+ * Uses ZigZag encoding.
102
+ *
103
+ * @generated from protobuf enum value: TYPE_SINT32 = 17;
104
+ */
105
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT32"] = 17] = "SINT32";
106
+ /**
107
+ * Uses ZigZag encoding.
108
+ *
109
+ * @generated from protobuf enum value: TYPE_SINT64 = 18;
110
+ */
111
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT64"] = 18] = "SINT64";
112
+ })(FieldDescriptorProto_Type || (exports.FieldDescriptorProto_Type = FieldDescriptorProto_Type = {}));
113
+ /**
114
+ * @generated from protobuf enum google.protobuf.FieldDescriptorProto.Label
115
+ */
116
+ var FieldDescriptorProto_Label;
117
+ (function (FieldDescriptorProto_Label) {
118
+ /**
119
+ * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
120
+ */
121
+ FieldDescriptorProto_Label[FieldDescriptorProto_Label["UNSPECIFIED$"] = 0] = "UNSPECIFIED$";
122
+ /**
123
+ * 0 is reserved for errors
124
+ *
125
+ * @generated from protobuf enum value: LABEL_OPTIONAL = 1;
126
+ */
127
+ FieldDescriptorProto_Label[FieldDescriptorProto_Label["OPTIONAL"] = 1] = "OPTIONAL";
128
+ /**
129
+ * @generated from protobuf enum value: LABEL_REQUIRED = 2;
130
+ */
131
+ FieldDescriptorProto_Label[FieldDescriptorProto_Label["REQUIRED"] = 2] = "REQUIRED";
132
+ /**
133
+ * @generated from protobuf enum value: LABEL_REPEATED = 3;
134
+ */
135
+ FieldDescriptorProto_Label[FieldDescriptorProto_Label["REPEATED"] = 3] = "REPEATED";
136
+ })(FieldDescriptorProto_Label || (exports.FieldDescriptorProto_Label = FieldDescriptorProto_Label = {}));
137
+ /**
138
+ * Generated classes can be optimized for speed or code size.
139
+ *
140
+ * @generated from protobuf enum google.protobuf.FileOptions.OptimizeMode
141
+ */
142
+ var FileOptions_OptimizeMode;
143
+ (function (FileOptions_OptimizeMode) {
144
+ /**
145
+ * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
146
+ */
147
+ FileOptions_OptimizeMode[FileOptions_OptimizeMode["UNSPECIFIED$"] = 0] = "UNSPECIFIED$";
148
+ /**
149
+ * Generate complete code for parsing, serialization,
150
+ *
151
+ * @generated from protobuf enum value: SPEED = 1;
152
+ */
153
+ FileOptions_OptimizeMode[FileOptions_OptimizeMode["SPEED"] = 1] = "SPEED";
154
+ /**
155
+ * etc.
156
+ *
157
+ * Use ReflectionOps to implement these methods.
158
+ *
159
+ * @generated from protobuf enum value: CODE_SIZE = 2;
160
+ */
161
+ FileOptions_OptimizeMode[FileOptions_OptimizeMode["CODE_SIZE"] = 2] = "CODE_SIZE";
162
+ /**
163
+ * Generate code using MessageLite and the lite runtime.
164
+ *
165
+ * @generated from protobuf enum value: LITE_RUNTIME = 3;
166
+ */
167
+ FileOptions_OptimizeMode[FileOptions_OptimizeMode["LITE_RUNTIME"] = 3] = "LITE_RUNTIME";
168
+ })(FileOptions_OptimizeMode || (exports.FileOptions_OptimizeMode = FileOptions_OptimizeMode = {}));
169
+ /**
170
+ * @generated from protobuf enum google.protobuf.FieldOptions.CType
171
+ */
172
+ var FieldOptions_CType;
173
+ (function (FieldOptions_CType) {
174
+ /**
175
+ * Default mode.
176
+ *
177
+ * @generated from protobuf enum value: STRING = 0;
178
+ */
179
+ FieldOptions_CType[FieldOptions_CType["STRING"] = 0] = "STRING";
180
+ /**
181
+ * @generated from protobuf enum value: CORD = 1;
182
+ */
183
+ FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD";
184
+ /**
185
+ * @generated from protobuf enum value: STRING_PIECE = 2;
186
+ */
187
+ FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE";
188
+ })(FieldOptions_CType || (exports.FieldOptions_CType = FieldOptions_CType = {}));
189
+ /**
190
+ * @generated from protobuf enum google.protobuf.FieldOptions.JSType
191
+ */
192
+ var FieldOptions_JSType;
193
+ (function (FieldOptions_JSType) {
194
+ /**
195
+ * Use the default type.
196
+ *
197
+ * @generated from protobuf enum value: JS_NORMAL = 0;
198
+ */
199
+ FieldOptions_JSType[FieldOptions_JSType["JS_NORMAL"] = 0] = "JS_NORMAL";
200
+ /**
201
+ * Use JavaScript strings.
202
+ *
203
+ * @generated from protobuf enum value: JS_STRING = 1;
204
+ */
205
+ FieldOptions_JSType[FieldOptions_JSType["JS_STRING"] = 1] = "JS_STRING";
206
+ /**
207
+ * Use JavaScript numbers.
208
+ *
209
+ * @generated from protobuf enum value: JS_NUMBER = 2;
210
+ */
211
+ FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER";
212
+ })(FieldOptions_JSType || (exports.FieldOptions_JSType = FieldOptions_JSType = {}));
213
+ /**
214
+ * If set to RETENTION_SOURCE, the option will be omitted from the binary.
215
+ * Note: as of January 2023, support for this is in progress and does not yet
216
+ * have an effect (b/264593489).
217
+ *
218
+ * @generated from protobuf enum google.protobuf.FieldOptions.OptionRetention
219
+ */
220
+ var FieldOptions_OptionRetention;
221
+ (function (FieldOptions_OptionRetention) {
222
+ /**
223
+ * @generated from protobuf enum value: RETENTION_UNKNOWN = 0;
224
+ */
225
+ FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_UNKNOWN"] = 0] = "RETENTION_UNKNOWN";
226
+ /**
227
+ * @generated from protobuf enum value: RETENTION_RUNTIME = 1;
228
+ */
229
+ FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_RUNTIME"] = 1] = "RETENTION_RUNTIME";
230
+ /**
231
+ * @generated from protobuf enum value: RETENTION_SOURCE = 2;
232
+ */
233
+ FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_SOURCE"] = 2] = "RETENTION_SOURCE";
234
+ })(FieldOptions_OptionRetention || (exports.FieldOptions_OptionRetention = FieldOptions_OptionRetention = {}));
235
+ /**
236
+ * This indicates the types of entities that the field may apply to when used
237
+ * as an option. If it is unset, then the field may be freely used as an
238
+ * option on any kind of entity. Note: as of January 2023, support for this is
239
+ * in progress and does not yet have an effect (b/264593489).
240
+ *
241
+ * @generated from protobuf enum google.protobuf.FieldOptions.OptionTargetType
242
+ */
243
+ var FieldOptions_OptionTargetType;
244
+ (function (FieldOptions_OptionTargetType) {
245
+ /**
246
+ * @generated from protobuf enum value: TARGET_TYPE_UNKNOWN = 0;
247
+ */
248
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_UNKNOWN"] = 0] = "TARGET_TYPE_UNKNOWN";
249
+ /**
250
+ * @generated from protobuf enum value: TARGET_TYPE_FILE = 1;
251
+ */
252
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FILE"] = 1] = "TARGET_TYPE_FILE";
253
+ /**
254
+ * @generated from protobuf enum value: TARGET_TYPE_EXTENSION_RANGE = 2;
255
+ */
256
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_EXTENSION_RANGE"] = 2] = "TARGET_TYPE_EXTENSION_RANGE";
257
+ /**
258
+ * @generated from protobuf enum value: TARGET_TYPE_MESSAGE = 3;
259
+ */
260
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_MESSAGE"] = 3] = "TARGET_TYPE_MESSAGE";
261
+ /**
262
+ * @generated from protobuf enum value: TARGET_TYPE_FIELD = 4;
263
+ */
264
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FIELD"] = 4] = "TARGET_TYPE_FIELD";
265
+ /**
266
+ * @generated from protobuf enum value: TARGET_TYPE_ONEOF = 5;
267
+ */
268
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ONEOF"] = 5] = "TARGET_TYPE_ONEOF";
269
+ /**
270
+ * @generated from protobuf enum value: TARGET_TYPE_ENUM = 6;
271
+ */
272
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM"] = 6] = "TARGET_TYPE_ENUM";
273
+ /**
274
+ * @generated from protobuf enum value: TARGET_TYPE_ENUM_ENTRY = 7;
275
+ */
276
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM_ENTRY"] = 7] = "TARGET_TYPE_ENUM_ENTRY";
277
+ /**
278
+ * @generated from protobuf enum value: TARGET_TYPE_SERVICE = 8;
279
+ */
280
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_SERVICE"] = 8] = "TARGET_TYPE_SERVICE";
281
+ /**
282
+ * @generated from protobuf enum value: TARGET_TYPE_METHOD = 9;
283
+ */
284
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_METHOD"] = 9] = "TARGET_TYPE_METHOD";
285
+ })(FieldOptions_OptionTargetType || (exports.FieldOptions_OptionTargetType = FieldOptions_OptionTargetType = {}));
286
+ /**
287
+ * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
288
+ * or neither? HTTP based RPC implementation may choose GET verb for safe
289
+ * methods, and PUT verb for idempotent methods instead of the default POST.
290
+ *
291
+ * @generated from protobuf enum google.protobuf.MethodOptions.IdempotencyLevel
292
+ */
293
+ var MethodOptions_IdempotencyLevel;
294
+ (function (MethodOptions_IdempotencyLevel) {
295
+ /**
296
+ * @generated from protobuf enum value: IDEMPOTENCY_UNKNOWN = 0;
297
+ */
298
+ MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENCY_UNKNOWN"] = 0] = "IDEMPOTENCY_UNKNOWN";
299
+ /**
300
+ * implies idempotent
301
+ *
302
+ * @generated from protobuf enum value: NO_SIDE_EFFECTS = 1;
303
+ */
304
+ MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["NO_SIDE_EFFECTS"] = 1] = "NO_SIDE_EFFECTS";
305
+ /**
306
+ * idempotent, but may have side effects
307
+ *
308
+ * @generated from protobuf enum value: IDEMPOTENT = 2;
309
+ */
310
+ MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT";
311
+ })(MethodOptions_IdempotencyLevel || (exports.MethodOptions_IdempotencyLevel = MethodOptions_IdempotencyLevel = {}));
312
+ /**
313
+ * Represents the identified object's effect on the element in the original
314
+ * .proto file.
315
+ *
316
+ * @generated from protobuf enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic
317
+ */
318
+ var GeneratedCodeInfo_Annotation_Semantic;
319
+ (function (GeneratedCodeInfo_Annotation_Semantic) {
320
+ /**
321
+ * There is no effect or the effect is indescribable.
322
+ *
323
+ * @generated from protobuf enum value: NONE = 0;
324
+ */
325
+ GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["NONE"] = 0] = "NONE";
326
+ /**
327
+ * The element is set or otherwise mutated.
328
+ *
329
+ * @generated from protobuf enum value: SET = 1;
330
+ */
331
+ GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["SET"] = 1] = "SET";
332
+ /**
333
+ * An alias to the element is returned.
334
+ *
335
+ * @generated from protobuf enum value: ALIAS = 2;
336
+ */
337
+ GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["ALIAS"] = 2] = "ALIAS";
338
+ })(GeneratedCodeInfo_Annotation_Semantic || (exports.GeneratedCodeInfo_Annotation_Semantic = GeneratedCodeInfo_Annotation_Semantic = {}));
339
+ // @generated message type with reflection information, may provide speed optimized methods
340
+ class FileDescriptorSet$Type extends runtime_5.MessageType {
341
+ constructor() {
342
+ super("google.protobuf.FileDescriptorSet", [
343
+ { no: 1, name: "file", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.FileDescriptorProto }
344
+ ]);
345
+ }
346
+ create(value) {
347
+ const message = { file: [] };
348
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
349
+ if (value !== undefined)
350
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
351
+ return message;
352
+ }
353
+ internalBinaryRead(reader, length, options, target) {
354
+ let message = target ?? this.create(), end = reader.pos + length;
355
+ while (reader.pos < end) {
356
+ let [fieldNo, wireType] = reader.tag();
357
+ switch (fieldNo) {
358
+ case /* repeated google.protobuf.FileDescriptorProto file */ 1:
359
+ message.file.push(exports.FileDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
360
+ break;
361
+ default:
362
+ let u = options.readUnknownField;
363
+ if (u === "throw")
364
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
365
+ let d = reader.skip(wireType);
366
+ if (u !== false)
367
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
368
+ }
369
+ }
370
+ return message;
371
+ }
372
+ internalBinaryWrite(message, writer, options) {
373
+ /* repeated google.protobuf.FileDescriptorProto file = 1; */
374
+ for (let i = 0; i < message.file.length; i++)
375
+ exports.FileDescriptorProto.internalBinaryWrite(message.file[i], writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
376
+ let u = options.writeUnknownFields;
377
+ if (u !== false)
378
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
379
+ return writer;
380
+ }
381
+ }
382
+ /**
383
+ * @generated MessageType for protobuf message google.protobuf.FileDescriptorSet
384
+ */
385
+ exports.FileDescriptorSet = new FileDescriptorSet$Type();
386
+ // @generated message type with reflection information, may provide speed optimized methods
387
+ class FileDescriptorProto$Type extends runtime_5.MessageType {
388
+ constructor() {
389
+ super("google.protobuf.FileDescriptorProto", [
390
+ { no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
391
+ { no: 2, name: "package", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
392
+ { no: 3, name: "dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
393
+ { no: 10, name: "public_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
394
+ { no: 11, name: "weak_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
395
+ { no: 4, name: "message_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.DescriptorProto },
396
+ { no: 5, name: "enum_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.EnumDescriptorProto },
397
+ { no: 6, name: "service", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.ServiceDescriptorProto },
398
+ { no: 7, name: "extension", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.FieldDescriptorProto },
399
+ { no: 8, name: "options", kind: "message", T: () => exports.FileOptions },
400
+ { no: 9, name: "source_code_info", kind: "message", T: () => exports.SourceCodeInfo },
401
+ { no: 12, name: "syntax", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
402
+ { no: 13, name: "edition", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
403
+ ]);
404
+ }
405
+ create(value) {
406
+ const message = { dependency: [], publicDependency: [], weakDependency: [], messageType: [], enumType: [], service: [], extension: [] };
407
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
408
+ if (value !== undefined)
409
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
410
+ return message;
411
+ }
412
+ internalBinaryRead(reader, length, options, target) {
413
+ let message = target ?? this.create(), end = reader.pos + length;
414
+ while (reader.pos < end) {
415
+ let [fieldNo, wireType] = reader.tag();
416
+ switch (fieldNo) {
417
+ case /* optional string name */ 1:
418
+ message.name = reader.string();
419
+ break;
420
+ case /* optional string package */ 2:
421
+ message.package = reader.string();
422
+ break;
423
+ case /* repeated string dependency */ 3:
424
+ message.dependency.push(reader.string());
425
+ break;
426
+ case /* repeated int32 public_dependency */ 10:
427
+ if (wireType === runtime_1.WireType.LengthDelimited)
428
+ for (let e = reader.int32() + reader.pos; reader.pos < e;)
429
+ message.publicDependency.push(reader.int32());
430
+ else
431
+ message.publicDependency.push(reader.int32());
432
+ break;
433
+ case /* repeated int32 weak_dependency */ 11:
434
+ if (wireType === runtime_1.WireType.LengthDelimited)
435
+ for (let e = reader.int32() + reader.pos; reader.pos < e;)
436
+ message.weakDependency.push(reader.int32());
437
+ else
438
+ message.weakDependency.push(reader.int32());
439
+ break;
440
+ case /* repeated google.protobuf.DescriptorProto message_type */ 4:
441
+ message.messageType.push(exports.DescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
442
+ break;
443
+ case /* repeated google.protobuf.EnumDescriptorProto enum_type */ 5:
444
+ message.enumType.push(exports.EnumDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
445
+ break;
446
+ case /* repeated google.protobuf.ServiceDescriptorProto service */ 6:
447
+ message.service.push(exports.ServiceDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
448
+ break;
449
+ case /* repeated google.protobuf.FieldDescriptorProto extension */ 7:
450
+ message.extension.push(exports.FieldDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
451
+ break;
452
+ case /* optional google.protobuf.FileOptions options */ 8:
453
+ message.options = exports.FileOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
454
+ break;
455
+ case /* optional google.protobuf.SourceCodeInfo source_code_info */ 9:
456
+ message.sourceCodeInfo = exports.SourceCodeInfo.internalBinaryRead(reader, reader.uint32(), options, message.sourceCodeInfo);
457
+ break;
458
+ case /* optional string syntax */ 12:
459
+ message.syntax = reader.string();
460
+ break;
461
+ case /* optional string edition */ 13:
462
+ message.edition = reader.string();
463
+ break;
464
+ default:
465
+ let u = options.readUnknownField;
466
+ if (u === "throw")
467
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
468
+ let d = reader.skip(wireType);
469
+ if (u !== false)
470
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
471
+ }
472
+ }
473
+ return message;
474
+ }
475
+ internalBinaryWrite(message, writer, options) {
476
+ /* optional string name = 1; */
477
+ if (message.name !== undefined)
478
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.name);
479
+ /* optional string package = 2; */
480
+ if (message.package !== undefined)
481
+ writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.package);
482
+ /* repeated string dependency = 3; */
483
+ for (let i = 0; i < message.dependency.length; i++)
484
+ writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.dependency[i]);
485
+ /* repeated int32 public_dependency = 10; */
486
+ for (let i = 0; i < message.publicDependency.length; i++)
487
+ writer.tag(10, runtime_1.WireType.Varint).int32(message.publicDependency[i]);
488
+ /* repeated int32 weak_dependency = 11; */
489
+ for (let i = 0; i < message.weakDependency.length; i++)
490
+ writer.tag(11, runtime_1.WireType.Varint).int32(message.weakDependency[i]);
491
+ /* repeated google.protobuf.DescriptorProto message_type = 4; */
492
+ for (let i = 0; i < message.messageType.length; i++)
493
+ exports.DescriptorProto.internalBinaryWrite(message.messageType[i], writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
494
+ /* repeated google.protobuf.EnumDescriptorProto enum_type = 5; */
495
+ for (let i = 0; i < message.enumType.length; i++)
496
+ exports.EnumDescriptorProto.internalBinaryWrite(message.enumType[i], writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
497
+ /* repeated google.protobuf.ServiceDescriptorProto service = 6; */
498
+ for (let i = 0; i < message.service.length; i++)
499
+ exports.ServiceDescriptorProto.internalBinaryWrite(message.service[i], writer.tag(6, runtime_1.WireType.LengthDelimited).fork(), options).join();
500
+ /* repeated google.protobuf.FieldDescriptorProto extension = 7; */
501
+ for (let i = 0; i < message.extension.length; i++)
502
+ exports.FieldDescriptorProto.internalBinaryWrite(message.extension[i], writer.tag(7, runtime_1.WireType.LengthDelimited).fork(), options).join();
503
+ /* optional google.protobuf.FileOptions options = 8; */
504
+ if (message.options)
505
+ exports.FileOptions.internalBinaryWrite(message.options, writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
506
+ /* optional google.protobuf.SourceCodeInfo source_code_info = 9; */
507
+ if (message.sourceCodeInfo)
508
+ exports.SourceCodeInfo.internalBinaryWrite(message.sourceCodeInfo, writer.tag(9, runtime_1.WireType.LengthDelimited).fork(), options).join();
509
+ /* optional string syntax = 12; */
510
+ if (message.syntax !== undefined)
511
+ writer.tag(12, runtime_1.WireType.LengthDelimited).string(message.syntax);
512
+ /* optional string edition = 13; */
513
+ if (message.edition !== undefined)
514
+ writer.tag(13, runtime_1.WireType.LengthDelimited).string(message.edition);
515
+ let u = options.writeUnknownFields;
516
+ if (u !== false)
517
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
518
+ return writer;
519
+ }
520
+ }
521
+ /**
522
+ * @generated MessageType for protobuf message google.protobuf.FileDescriptorProto
523
+ */
524
+ exports.FileDescriptorProto = new FileDescriptorProto$Type();
525
+ // @generated message type with reflection information, may provide speed optimized methods
526
+ class DescriptorProto$Type extends runtime_5.MessageType {
527
+ constructor() {
528
+ super("google.protobuf.DescriptorProto", [
529
+ { no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
530
+ { no: 2, name: "field", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.FieldDescriptorProto },
531
+ { no: 6, name: "extension", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.FieldDescriptorProto },
532
+ { no: 3, name: "nested_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.DescriptorProto },
533
+ { no: 4, name: "enum_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.EnumDescriptorProto },
534
+ { no: 5, name: "extension_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.DescriptorProto_ExtensionRange },
535
+ { no: 8, name: "oneof_decl", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.OneofDescriptorProto },
536
+ { no: 7, name: "options", kind: "message", T: () => exports.MessageOptions },
537
+ { no: 9, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.DescriptorProto_ReservedRange },
538
+ { no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
539
+ ]);
540
+ }
541
+ create(value) {
542
+ const message = { field: [], extension: [], nestedType: [], enumType: [], extensionRange: [], oneofDecl: [], reservedRange: [], reservedName: [] };
543
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
544
+ if (value !== undefined)
545
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
546
+ return message;
547
+ }
548
+ internalBinaryRead(reader, length, options, target) {
549
+ let message = target ?? this.create(), end = reader.pos + length;
550
+ while (reader.pos < end) {
551
+ let [fieldNo, wireType] = reader.tag();
552
+ switch (fieldNo) {
553
+ case /* optional string name */ 1:
554
+ message.name = reader.string();
555
+ break;
556
+ case /* repeated google.protobuf.FieldDescriptorProto field */ 2:
557
+ message.field.push(exports.FieldDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
558
+ break;
559
+ case /* repeated google.protobuf.FieldDescriptorProto extension */ 6:
560
+ message.extension.push(exports.FieldDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
561
+ break;
562
+ case /* repeated google.protobuf.DescriptorProto nested_type */ 3:
563
+ message.nestedType.push(exports.DescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
564
+ break;
565
+ case /* repeated google.protobuf.EnumDescriptorProto enum_type */ 4:
566
+ message.enumType.push(exports.EnumDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
567
+ break;
568
+ case /* repeated google.protobuf.DescriptorProto.ExtensionRange extension_range */ 5:
569
+ message.extensionRange.push(exports.DescriptorProto_ExtensionRange.internalBinaryRead(reader, reader.uint32(), options));
570
+ break;
571
+ case /* repeated google.protobuf.OneofDescriptorProto oneof_decl */ 8:
572
+ message.oneofDecl.push(exports.OneofDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
573
+ break;
574
+ case /* optional google.protobuf.MessageOptions options */ 7:
575
+ message.options = exports.MessageOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
576
+ break;
577
+ case /* repeated google.protobuf.DescriptorProto.ReservedRange reserved_range */ 9:
578
+ message.reservedRange.push(exports.DescriptorProto_ReservedRange.internalBinaryRead(reader, reader.uint32(), options));
579
+ break;
580
+ case /* repeated string reserved_name */ 10:
581
+ message.reservedName.push(reader.string());
582
+ break;
583
+ default:
584
+ let u = options.readUnknownField;
585
+ if (u === "throw")
586
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
587
+ let d = reader.skip(wireType);
588
+ if (u !== false)
589
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
590
+ }
591
+ }
592
+ return message;
593
+ }
594
+ internalBinaryWrite(message, writer, options) {
595
+ /* optional string name = 1; */
596
+ if (message.name !== undefined)
597
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.name);
598
+ /* repeated google.protobuf.FieldDescriptorProto field = 2; */
599
+ for (let i = 0; i < message.field.length; i++)
600
+ exports.FieldDescriptorProto.internalBinaryWrite(message.field[i], writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
601
+ /* repeated google.protobuf.FieldDescriptorProto extension = 6; */
602
+ for (let i = 0; i < message.extension.length; i++)
603
+ exports.FieldDescriptorProto.internalBinaryWrite(message.extension[i], writer.tag(6, runtime_1.WireType.LengthDelimited).fork(), options).join();
604
+ /* repeated google.protobuf.DescriptorProto nested_type = 3; */
605
+ for (let i = 0; i < message.nestedType.length; i++)
606
+ exports.DescriptorProto.internalBinaryWrite(message.nestedType[i], writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
607
+ /* repeated google.protobuf.EnumDescriptorProto enum_type = 4; */
608
+ for (let i = 0; i < message.enumType.length; i++)
609
+ exports.EnumDescriptorProto.internalBinaryWrite(message.enumType[i], writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
610
+ /* repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */
611
+ for (let i = 0; i < message.extensionRange.length; i++)
612
+ exports.DescriptorProto_ExtensionRange.internalBinaryWrite(message.extensionRange[i], writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
613
+ /* repeated google.protobuf.OneofDescriptorProto oneof_decl = 8; */
614
+ for (let i = 0; i < message.oneofDecl.length; i++)
615
+ exports.OneofDescriptorProto.internalBinaryWrite(message.oneofDecl[i], writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
616
+ /* optional google.protobuf.MessageOptions options = 7; */
617
+ if (message.options)
618
+ exports.MessageOptions.internalBinaryWrite(message.options, writer.tag(7, runtime_1.WireType.LengthDelimited).fork(), options).join();
619
+ /* repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */
620
+ for (let i = 0; i < message.reservedRange.length; i++)
621
+ exports.DescriptorProto_ReservedRange.internalBinaryWrite(message.reservedRange[i], writer.tag(9, runtime_1.WireType.LengthDelimited).fork(), options).join();
622
+ /* repeated string reserved_name = 10; */
623
+ for (let i = 0; i < message.reservedName.length; i++)
624
+ writer.tag(10, runtime_1.WireType.LengthDelimited).string(message.reservedName[i]);
625
+ let u = options.writeUnknownFields;
626
+ if (u !== false)
627
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
628
+ return writer;
629
+ }
630
+ }
631
+ /**
632
+ * @generated MessageType for protobuf message google.protobuf.DescriptorProto
633
+ */
634
+ exports.DescriptorProto = new DescriptorProto$Type();
635
+ // @generated message type with reflection information, may provide speed optimized methods
636
+ class DescriptorProto_ExtensionRange$Type extends runtime_5.MessageType {
637
+ constructor() {
638
+ super("google.protobuf.DescriptorProto.ExtensionRange", [
639
+ { no: 1, name: "start", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
640
+ { no: 2, name: "end", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
641
+ { no: 3, name: "options", kind: "message", T: () => exports.ExtensionRangeOptions }
642
+ ]);
643
+ }
644
+ create(value) {
645
+ const message = {};
646
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
647
+ if (value !== undefined)
648
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
649
+ return message;
650
+ }
651
+ internalBinaryRead(reader, length, options, target) {
652
+ let message = target ?? this.create(), end = reader.pos + length;
653
+ while (reader.pos < end) {
654
+ let [fieldNo, wireType] = reader.tag();
655
+ switch (fieldNo) {
656
+ case /* optional int32 start */ 1:
657
+ message.start = reader.int32();
658
+ break;
659
+ case /* optional int32 end */ 2:
660
+ message.end = reader.int32();
661
+ break;
662
+ case /* optional google.protobuf.ExtensionRangeOptions options */ 3:
663
+ message.options = exports.ExtensionRangeOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
664
+ break;
665
+ default:
666
+ let u = options.readUnknownField;
667
+ if (u === "throw")
668
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
669
+ let d = reader.skip(wireType);
670
+ if (u !== false)
671
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
672
+ }
673
+ }
674
+ return message;
675
+ }
676
+ internalBinaryWrite(message, writer, options) {
677
+ /* optional int32 start = 1; */
678
+ if (message.start !== undefined)
679
+ writer.tag(1, runtime_1.WireType.Varint).int32(message.start);
680
+ /* optional int32 end = 2; */
681
+ if (message.end !== undefined)
682
+ writer.tag(2, runtime_1.WireType.Varint).int32(message.end);
683
+ /* optional google.protobuf.ExtensionRangeOptions options = 3; */
684
+ if (message.options)
685
+ exports.ExtensionRangeOptions.internalBinaryWrite(message.options, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
686
+ let u = options.writeUnknownFields;
687
+ if (u !== false)
688
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
689
+ return writer;
690
+ }
691
+ }
692
+ /**
693
+ * @generated MessageType for protobuf message google.protobuf.DescriptorProto.ExtensionRange
694
+ */
695
+ exports.DescriptorProto_ExtensionRange = new DescriptorProto_ExtensionRange$Type();
696
+ // @generated message type with reflection information, may provide speed optimized methods
697
+ class DescriptorProto_ReservedRange$Type extends runtime_5.MessageType {
698
+ constructor() {
699
+ super("google.protobuf.DescriptorProto.ReservedRange", [
700
+ { no: 1, name: "start", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
701
+ { no: 2, name: "end", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ }
702
+ ]);
703
+ }
704
+ create(value) {
705
+ const message = {};
706
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
707
+ if (value !== undefined)
708
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
709
+ return message;
710
+ }
711
+ internalBinaryRead(reader, length, options, target) {
712
+ let message = target ?? this.create(), end = reader.pos + length;
713
+ while (reader.pos < end) {
714
+ let [fieldNo, wireType] = reader.tag();
715
+ switch (fieldNo) {
716
+ case /* optional int32 start */ 1:
717
+ message.start = reader.int32();
718
+ break;
719
+ case /* optional int32 end */ 2:
720
+ message.end = reader.int32();
721
+ break;
722
+ default:
723
+ let u = options.readUnknownField;
724
+ if (u === "throw")
725
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
726
+ let d = reader.skip(wireType);
727
+ if (u !== false)
728
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
729
+ }
730
+ }
731
+ return message;
732
+ }
733
+ internalBinaryWrite(message, writer, options) {
734
+ /* optional int32 start = 1; */
735
+ if (message.start !== undefined)
736
+ writer.tag(1, runtime_1.WireType.Varint).int32(message.start);
737
+ /* optional int32 end = 2; */
738
+ if (message.end !== undefined)
739
+ writer.tag(2, runtime_1.WireType.Varint).int32(message.end);
740
+ let u = options.writeUnknownFields;
741
+ if (u !== false)
742
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
743
+ return writer;
744
+ }
745
+ }
746
+ /**
747
+ * @generated MessageType for protobuf message google.protobuf.DescriptorProto.ReservedRange
748
+ */
749
+ exports.DescriptorProto_ReservedRange = new DescriptorProto_ReservedRange$Type();
750
+ // @generated message type with reflection information, may provide speed optimized methods
751
+ class ExtensionRangeOptions$Type extends runtime_5.MessageType {
752
+ constructor() {
753
+ super("google.protobuf.ExtensionRangeOptions", [
754
+ { no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UninterpretedOption }
755
+ ]);
756
+ }
757
+ create(value) {
758
+ const message = { uninterpretedOption: [] };
759
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
760
+ if (value !== undefined)
761
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
762
+ return message;
763
+ }
764
+ internalBinaryRead(reader, length, options, target) {
765
+ let message = target ?? this.create(), end = reader.pos + length;
766
+ while (reader.pos < end) {
767
+ let [fieldNo, wireType] = reader.tag();
768
+ switch (fieldNo) {
769
+ case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
770
+ message.uninterpretedOption.push(exports.UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
771
+ break;
772
+ default:
773
+ let u = options.readUnknownField;
774
+ if (u === "throw")
775
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
776
+ let d = reader.skip(wireType);
777
+ if (u !== false)
778
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
779
+ }
780
+ }
781
+ return message;
782
+ }
783
+ internalBinaryWrite(message, writer, options) {
784
+ /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
785
+ for (let i = 0; i < message.uninterpretedOption.length; i++)
786
+ exports.UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, runtime_1.WireType.LengthDelimited).fork(), options).join();
787
+ let u = options.writeUnknownFields;
788
+ if (u !== false)
789
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
790
+ return writer;
791
+ }
792
+ }
793
+ /**
794
+ * @generated MessageType for protobuf message google.protobuf.ExtensionRangeOptions
795
+ */
796
+ exports.ExtensionRangeOptions = new ExtensionRangeOptions$Type();
797
+ // @generated message type with reflection information, may provide speed optimized methods
798
+ class FieldDescriptorProto$Type extends runtime_5.MessageType {
799
+ constructor() {
800
+ super("google.protobuf.FieldDescriptorProto", [
801
+ { no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
802
+ { no: 3, name: "number", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
803
+ { no: 4, name: "label", kind: "enum", opt: true, T: () => ["google.protobuf.FieldDescriptorProto.Label", FieldDescriptorProto_Label, "LABEL_"] },
804
+ { no: 5, name: "type", kind: "enum", opt: true, T: () => ["google.protobuf.FieldDescriptorProto.Type", FieldDescriptorProto_Type, "TYPE_"] },
805
+ { no: 6, name: "type_name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
806
+ { no: 2, name: "extendee", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
807
+ { no: 7, name: "default_value", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
808
+ { no: 9, name: "oneof_index", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
809
+ { no: 10, name: "json_name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
810
+ { no: 8, name: "options", kind: "message", T: () => exports.FieldOptions },
811
+ { no: 17, name: "proto3_optional", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
812
+ ]);
813
+ }
814
+ create(value) {
815
+ const message = {};
816
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
817
+ if (value !== undefined)
818
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
819
+ return message;
820
+ }
821
+ internalBinaryRead(reader, length, options, target) {
822
+ let message = target ?? this.create(), end = reader.pos + length;
823
+ while (reader.pos < end) {
824
+ let [fieldNo, wireType] = reader.tag();
825
+ switch (fieldNo) {
826
+ case /* optional string name */ 1:
827
+ message.name = reader.string();
828
+ break;
829
+ case /* optional int32 number */ 3:
830
+ message.number = reader.int32();
831
+ break;
832
+ case /* optional google.protobuf.FieldDescriptorProto.Label label */ 4:
833
+ message.label = reader.int32();
834
+ break;
835
+ case /* optional google.protobuf.FieldDescriptorProto.Type type */ 5:
836
+ message.type = reader.int32();
837
+ break;
838
+ case /* optional string type_name */ 6:
839
+ message.typeName = reader.string();
840
+ break;
841
+ case /* optional string extendee */ 2:
842
+ message.extendee = reader.string();
843
+ break;
844
+ case /* optional string default_value */ 7:
845
+ message.defaultValue = reader.string();
846
+ break;
847
+ case /* optional int32 oneof_index */ 9:
848
+ message.oneofIndex = reader.int32();
849
+ break;
850
+ case /* optional string json_name */ 10:
851
+ message.jsonName = reader.string();
852
+ break;
853
+ case /* optional google.protobuf.FieldOptions options */ 8:
854
+ message.options = exports.FieldOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
855
+ break;
856
+ case /* optional bool proto3_optional */ 17:
857
+ message.proto3Optional = reader.bool();
858
+ break;
859
+ default:
860
+ let u = options.readUnknownField;
861
+ if (u === "throw")
862
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
863
+ let d = reader.skip(wireType);
864
+ if (u !== false)
865
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
866
+ }
867
+ }
868
+ return message;
869
+ }
870
+ internalBinaryWrite(message, writer, options) {
871
+ /* optional string name = 1; */
872
+ if (message.name !== undefined)
873
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.name);
874
+ /* optional int32 number = 3; */
875
+ if (message.number !== undefined)
876
+ writer.tag(3, runtime_1.WireType.Varint).int32(message.number);
877
+ /* optional google.protobuf.FieldDescriptorProto.Label label = 4; */
878
+ if (message.label !== undefined)
879
+ writer.tag(4, runtime_1.WireType.Varint).int32(message.label);
880
+ /* optional google.protobuf.FieldDescriptorProto.Type type = 5; */
881
+ if (message.type !== undefined)
882
+ writer.tag(5, runtime_1.WireType.Varint).int32(message.type);
883
+ /* optional string type_name = 6; */
884
+ if (message.typeName !== undefined)
885
+ writer.tag(6, runtime_1.WireType.LengthDelimited).string(message.typeName);
886
+ /* optional string extendee = 2; */
887
+ if (message.extendee !== undefined)
888
+ writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.extendee);
889
+ /* optional string default_value = 7; */
890
+ if (message.defaultValue !== undefined)
891
+ writer.tag(7, runtime_1.WireType.LengthDelimited).string(message.defaultValue);
892
+ /* optional int32 oneof_index = 9; */
893
+ if (message.oneofIndex !== undefined)
894
+ writer.tag(9, runtime_1.WireType.Varint).int32(message.oneofIndex);
895
+ /* optional string json_name = 10; */
896
+ if (message.jsonName !== undefined)
897
+ writer.tag(10, runtime_1.WireType.LengthDelimited).string(message.jsonName);
898
+ /* optional google.protobuf.FieldOptions options = 8; */
899
+ if (message.options)
900
+ exports.FieldOptions.internalBinaryWrite(message.options, writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
901
+ /* optional bool proto3_optional = 17; */
902
+ if (message.proto3Optional !== undefined)
903
+ writer.tag(17, runtime_1.WireType.Varint).bool(message.proto3Optional);
904
+ let u = options.writeUnknownFields;
905
+ if (u !== false)
906
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
907
+ return writer;
908
+ }
909
+ }
910
+ /**
911
+ * @generated MessageType for protobuf message google.protobuf.FieldDescriptorProto
912
+ */
913
+ exports.FieldDescriptorProto = new FieldDescriptorProto$Type();
914
+ // @generated message type with reflection information, may provide speed optimized methods
915
+ class OneofDescriptorProto$Type extends runtime_5.MessageType {
916
+ constructor() {
917
+ super("google.protobuf.OneofDescriptorProto", [
918
+ { no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
919
+ { no: 2, name: "options", kind: "message", T: () => exports.OneofOptions }
920
+ ]);
921
+ }
922
+ create(value) {
923
+ const message = {};
924
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
925
+ if (value !== undefined)
926
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
927
+ return message;
928
+ }
929
+ internalBinaryRead(reader, length, options, target) {
930
+ let message = target ?? this.create(), end = reader.pos + length;
931
+ while (reader.pos < end) {
932
+ let [fieldNo, wireType] = reader.tag();
933
+ switch (fieldNo) {
934
+ case /* optional string name */ 1:
935
+ message.name = reader.string();
936
+ break;
937
+ case /* optional google.protobuf.OneofOptions options */ 2:
938
+ message.options = exports.OneofOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
939
+ break;
940
+ default:
941
+ let u = options.readUnknownField;
942
+ if (u === "throw")
943
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
944
+ let d = reader.skip(wireType);
945
+ if (u !== false)
946
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
947
+ }
948
+ }
949
+ return message;
950
+ }
951
+ internalBinaryWrite(message, writer, options) {
952
+ /* optional string name = 1; */
953
+ if (message.name !== undefined)
954
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.name);
955
+ /* optional google.protobuf.OneofOptions options = 2; */
956
+ if (message.options)
957
+ exports.OneofOptions.internalBinaryWrite(message.options, writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
958
+ let u = options.writeUnknownFields;
959
+ if (u !== false)
960
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
961
+ return writer;
962
+ }
963
+ }
964
+ /**
965
+ * @generated MessageType for protobuf message google.protobuf.OneofDescriptorProto
966
+ */
967
+ exports.OneofDescriptorProto = new OneofDescriptorProto$Type();
968
+ // @generated message type with reflection information, may provide speed optimized methods
969
+ class EnumDescriptorProto$Type extends runtime_5.MessageType {
970
+ constructor() {
971
+ super("google.protobuf.EnumDescriptorProto", [
972
+ { no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
973
+ { no: 2, name: "value", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.EnumValueDescriptorProto },
974
+ { no: 3, name: "options", kind: "message", T: () => exports.EnumOptions },
975
+ { no: 4, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.EnumDescriptorProto_EnumReservedRange },
976
+ { no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
977
+ ]);
978
+ }
979
+ create(value) {
980
+ const message = { value: [], reservedRange: [], reservedName: [] };
981
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
982
+ if (value !== undefined)
983
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
984
+ return message;
985
+ }
986
+ internalBinaryRead(reader, length, options, target) {
987
+ let message = target ?? this.create(), end = reader.pos + length;
988
+ while (reader.pos < end) {
989
+ let [fieldNo, wireType] = reader.tag();
990
+ switch (fieldNo) {
991
+ case /* optional string name */ 1:
992
+ message.name = reader.string();
993
+ break;
994
+ case /* repeated google.protobuf.EnumValueDescriptorProto value */ 2:
995
+ message.value.push(exports.EnumValueDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
996
+ break;
997
+ case /* optional google.protobuf.EnumOptions options */ 3:
998
+ message.options = exports.EnumOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
999
+ break;
1000
+ case /* repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range */ 4:
1001
+ message.reservedRange.push(exports.EnumDescriptorProto_EnumReservedRange.internalBinaryRead(reader, reader.uint32(), options));
1002
+ break;
1003
+ case /* repeated string reserved_name */ 5:
1004
+ message.reservedName.push(reader.string());
1005
+ break;
1006
+ default:
1007
+ let u = options.readUnknownField;
1008
+ if (u === "throw")
1009
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1010
+ let d = reader.skip(wireType);
1011
+ if (u !== false)
1012
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1013
+ }
1014
+ }
1015
+ return message;
1016
+ }
1017
+ internalBinaryWrite(message, writer, options) {
1018
+ /* optional string name = 1; */
1019
+ if (message.name !== undefined)
1020
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.name);
1021
+ /* repeated google.protobuf.EnumValueDescriptorProto value = 2; */
1022
+ for (let i = 0; i < message.value.length; i++)
1023
+ exports.EnumValueDescriptorProto.internalBinaryWrite(message.value[i], writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
1024
+ /* optional google.protobuf.EnumOptions options = 3; */
1025
+ if (message.options)
1026
+ exports.EnumOptions.internalBinaryWrite(message.options, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
1027
+ /* repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; */
1028
+ for (let i = 0; i < message.reservedRange.length; i++)
1029
+ exports.EnumDescriptorProto_EnumReservedRange.internalBinaryWrite(message.reservedRange[i], writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
1030
+ /* repeated string reserved_name = 5; */
1031
+ for (let i = 0; i < message.reservedName.length; i++)
1032
+ writer.tag(5, runtime_1.WireType.LengthDelimited).string(message.reservedName[i]);
1033
+ let u = options.writeUnknownFields;
1034
+ if (u !== false)
1035
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1036
+ return writer;
1037
+ }
1038
+ }
1039
+ /**
1040
+ * @generated MessageType for protobuf message google.protobuf.EnumDescriptorProto
1041
+ */
1042
+ exports.EnumDescriptorProto = new EnumDescriptorProto$Type();
1043
+ // @generated message type with reflection information, may provide speed optimized methods
1044
+ class EnumDescriptorProto_EnumReservedRange$Type extends runtime_5.MessageType {
1045
+ constructor() {
1046
+ super("google.protobuf.EnumDescriptorProto.EnumReservedRange", [
1047
+ { no: 1, name: "start", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
1048
+ { no: 2, name: "end", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ }
1049
+ ]);
1050
+ }
1051
+ create(value) {
1052
+ const message = {};
1053
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1054
+ if (value !== undefined)
1055
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1056
+ return message;
1057
+ }
1058
+ internalBinaryRead(reader, length, options, target) {
1059
+ let message = target ?? this.create(), end = reader.pos + length;
1060
+ while (reader.pos < end) {
1061
+ let [fieldNo, wireType] = reader.tag();
1062
+ switch (fieldNo) {
1063
+ case /* optional int32 start */ 1:
1064
+ message.start = reader.int32();
1065
+ break;
1066
+ case /* optional int32 end */ 2:
1067
+ message.end = reader.int32();
1068
+ break;
1069
+ default:
1070
+ let u = options.readUnknownField;
1071
+ if (u === "throw")
1072
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1073
+ let d = reader.skip(wireType);
1074
+ if (u !== false)
1075
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1076
+ }
1077
+ }
1078
+ return message;
1079
+ }
1080
+ internalBinaryWrite(message, writer, options) {
1081
+ /* optional int32 start = 1; */
1082
+ if (message.start !== undefined)
1083
+ writer.tag(1, runtime_1.WireType.Varint).int32(message.start);
1084
+ /* optional int32 end = 2; */
1085
+ if (message.end !== undefined)
1086
+ writer.tag(2, runtime_1.WireType.Varint).int32(message.end);
1087
+ let u = options.writeUnknownFields;
1088
+ if (u !== false)
1089
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1090
+ return writer;
1091
+ }
1092
+ }
1093
+ /**
1094
+ * @generated MessageType for protobuf message google.protobuf.EnumDescriptorProto.EnumReservedRange
1095
+ */
1096
+ exports.EnumDescriptorProto_EnumReservedRange = new EnumDescriptorProto_EnumReservedRange$Type();
1097
+ // @generated message type with reflection information, may provide speed optimized methods
1098
+ class EnumValueDescriptorProto$Type extends runtime_5.MessageType {
1099
+ constructor() {
1100
+ super("google.protobuf.EnumValueDescriptorProto", [
1101
+ { no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1102
+ { no: 2, name: "number", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
1103
+ { no: 3, name: "options", kind: "message", T: () => exports.EnumValueOptions }
1104
+ ]);
1105
+ }
1106
+ create(value) {
1107
+ const message = {};
1108
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1109
+ if (value !== undefined)
1110
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1111
+ return message;
1112
+ }
1113
+ internalBinaryRead(reader, length, options, target) {
1114
+ let message = target ?? this.create(), end = reader.pos + length;
1115
+ while (reader.pos < end) {
1116
+ let [fieldNo, wireType] = reader.tag();
1117
+ switch (fieldNo) {
1118
+ case /* optional string name */ 1:
1119
+ message.name = reader.string();
1120
+ break;
1121
+ case /* optional int32 number */ 2:
1122
+ message.number = reader.int32();
1123
+ break;
1124
+ case /* optional google.protobuf.EnumValueOptions options */ 3:
1125
+ message.options = exports.EnumValueOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
1126
+ break;
1127
+ default:
1128
+ let u = options.readUnknownField;
1129
+ if (u === "throw")
1130
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1131
+ let d = reader.skip(wireType);
1132
+ if (u !== false)
1133
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1134
+ }
1135
+ }
1136
+ return message;
1137
+ }
1138
+ internalBinaryWrite(message, writer, options) {
1139
+ /* optional string name = 1; */
1140
+ if (message.name !== undefined)
1141
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.name);
1142
+ /* optional int32 number = 2; */
1143
+ if (message.number !== undefined)
1144
+ writer.tag(2, runtime_1.WireType.Varint).int32(message.number);
1145
+ /* optional google.protobuf.EnumValueOptions options = 3; */
1146
+ if (message.options)
1147
+ exports.EnumValueOptions.internalBinaryWrite(message.options, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
1148
+ let u = options.writeUnknownFields;
1149
+ if (u !== false)
1150
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1151
+ return writer;
1152
+ }
1153
+ }
1154
+ /**
1155
+ * @generated MessageType for protobuf message google.protobuf.EnumValueDescriptorProto
1156
+ */
1157
+ exports.EnumValueDescriptorProto = new EnumValueDescriptorProto$Type();
1158
+ // @generated message type with reflection information, may provide speed optimized methods
1159
+ class ServiceDescriptorProto$Type extends runtime_5.MessageType {
1160
+ constructor() {
1161
+ super("google.protobuf.ServiceDescriptorProto", [
1162
+ { no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1163
+ { no: 2, name: "method", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.MethodDescriptorProto },
1164
+ { no: 3, name: "options", kind: "message", T: () => exports.ServiceOptions }
1165
+ ]);
1166
+ }
1167
+ create(value) {
1168
+ const message = { method: [] };
1169
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1170
+ if (value !== undefined)
1171
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1172
+ return message;
1173
+ }
1174
+ internalBinaryRead(reader, length, options, target) {
1175
+ let message = target ?? this.create(), end = reader.pos + length;
1176
+ while (reader.pos < end) {
1177
+ let [fieldNo, wireType] = reader.tag();
1178
+ switch (fieldNo) {
1179
+ case /* optional string name */ 1:
1180
+ message.name = reader.string();
1181
+ break;
1182
+ case /* repeated google.protobuf.MethodDescriptorProto method */ 2:
1183
+ message.method.push(exports.MethodDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
1184
+ break;
1185
+ case /* optional google.protobuf.ServiceOptions options */ 3:
1186
+ message.options = exports.ServiceOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
1187
+ break;
1188
+ default:
1189
+ let u = options.readUnknownField;
1190
+ if (u === "throw")
1191
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1192
+ let d = reader.skip(wireType);
1193
+ if (u !== false)
1194
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1195
+ }
1196
+ }
1197
+ return message;
1198
+ }
1199
+ internalBinaryWrite(message, writer, options) {
1200
+ /* optional string name = 1; */
1201
+ if (message.name !== undefined)
1202
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.name);
1203
+ /* repeated google.protobuf.MethodDescriptorProto method = 2; */
1204
+ for (let i = 0; i < message.method.length; i++)
1205
+ exports.MethodDescriptorProto.internalBinaryWrite(message.method[i], writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
1206
+ /* optional google.protobuf.ServiceOptions options = 3; */
1207
+ if (message.options)
1208
+ exports.ServiceOptions.internalBinaryWrite(message.options, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
1209
+ let u = options.writeUnknownFields;
1210
+ if (u !== false)
1211
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1212
+ return writer;
1213
+ }
1214
+ }
1215
+ /**
1216
+ * @generated MessageType for protobuf message google.protobuf.ServiceDescriptorProto
1217
+ */
1218
+ exports.ServiceDescriptorProto = new ServiceDescriptorProto$Type();
1219
+ // @generated message type with reflection information, may provide speed optimized methods
1220
+ class MethodDescriptorProto$Type extends runtime_5.MessageType {
1221
+ constructor() {
1222
+ super("google.protobuf.MethodDescriptorProto", [
1223
+ { no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1224
+ { no: 2, name: "input_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1225
+ { no: 3, name: "output_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1226
+ { no: 4, name: "options", kind: "message", T: () => exports.MethodOptions },
1227
+ { no: 5, name: "client_streaming", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1228
+ { no: 6, name: "server_streaming", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
1229
+ ]);
1230
+ }
1231
+ create(value) {
1232
+ const message = {};
1233
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1234
+ if (value !== undefined)
1235
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1236
+ return message;
1237
+ }
1238
+ internalBinaryRead(reader, length, options, target) {
1239
+ let message = target ?? this.create(), end = reader.pos + length;
1240
+ while (reader.pos < end) {
1241
+ let [fieldNo, wireType] = reader.tag();
1242
+ switch (fieldNo) {
1243
+ case /* optional string name */ 1:
1244
+ message.name = reader.string();
1245
+ break;
1246
+ case /* optional string input_type */ 2:
1247
+ message.inputType = reader.string();
1248
+ break;
1249
+ case /* optional string output_type */ 3:
1250
+ message.outputType = reader.string();
1251
+ break;
1252
+ case /* optional google.protobuf.MethodOptions options */ 4:
1253
+ message.options = exports.MethodOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
1254
+ break;
1255
+ case /* optional bool client_streaming */ 5:
1256
+ message.clientStreaming = reader.bool();
1257
+ break;
1258
+ case /* optional bool server_streaming */ 6:
1259
+ message.serverStreaming = reader.bool();
1260
+ break;
1261
+ default:
1262
+ let u = options.readUnknownField;
1263
+ if (u === "throw")
1264
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1265
+ let d = reader.skip(wireType);
1266
+ if (u !== false)
1267
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1268
+ }
1269
+ }
1270
+ return message;
1271
+ }
1272
+ internalBinaryWrite(message, writer, options) {
1273
+ /* optional string name = 1; */
1274
+ if (message.name !== undefined)
1275
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.name);
1276
+ /* optional string input_type = 2; */
1277
+ if (message.inputType !== undefined)
1278
+ writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.inputType);
1279
+ /* optional string output_type = 3; */
1280
+ if (message.outputType !== undefined)
1281
+ writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.outputType);
1282
+ /* optional google.protobuf.MethodOptions options = 4; */
1283
+ if (message.options)
1284
+ exports.MethodOptions.internalBinaryWrite(message.options, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
1285
+ /* optional bool client_streaming = 5; */
1286
+ if (message.clientStreaming !== undefined)
1287
+ writer.tag(5, runtime_1.WireType.Varint).bool(message.clientStreaming);
1288
+ /* optional bool server_streaming = 6; */
1289
+ if (message.serverStreaming !== undefined)
1290
+ writer.tag(6, runtime_1.WireType.Varint).bool(message.serverStreaming);
1291
+ let u = options.writeUnknownFields;
1292
+ if (u !== false)
1293
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1294
+ return writer;
1295
+ }
1296
+ }
1297
+ /**
1298
+ * @generated MessageType for protobuf message google.protobuf.MethodDescriptorProto
1299
+ */
1300
+ exports.MethodDescriptorProto = new MethodDescriptorProto$Type();
1301
+ // @generated message type with reflection information, may provide speed optimized methods
1302
+ class FileOptions$Type extends runtime_5.MessageType {
1303
+ constructor() {
1304
+ super("google.protobuf.FileOptions", [
1305
+ { no: 1, name: "java_package", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1306
+ { no: 8, name: "java_outer_classname", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1307
+ { no: 10, name: "java_multiple_files", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1308
+ { no: 20, name: "java_generate_equals_and_hash", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1309
+ { no: 27, name: "java_string_check_utf8", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1310
+ { no: 9, name: "optimize_for", kind: "enum", opt: true, T: () => ["google.protobuf.FileOptions.OptimizeMode", FileOptions_OptimizeMode] },
1311
+ { no: 11, name: "go_package", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1312
+ { no: 16, name: "cc_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1313
+ { no: 17, name: "java_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1314
+ { no: 18, name: "py_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1315
+ { no: 42, name: "php_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1316
+ { no: 23, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1317
+ { no: 31, name: "cc_enable_arenas", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1318
+ { no: 36, name: "objc_class_prefix", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1319
+ { no: 37, name: "csharp_namespace", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1320
+ { no: 39, name: "swift_prefix", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1321
+ { no: 40, name: "php_class_prefix", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1322
+ { no: 41, name: "php_namespace", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1323
+ { no: 44, name: "php_metadata_namespace", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1324
+ { no: 45, name: "ruby_package", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1325
+ { no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UninterpretedOption }
1326
+ ]);
1327
+ }
1328
+ create(value) {
1329
+ const message = { uninterpretedOption: [] };
1330
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1331
+ if (value !== undefined)
1332
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1333
+ return message;
1334
+ }
1335
+ internalBinaryRead(reader, length, options, target) {
1336
+ let message = target ?? this.create(), end = reader.pos + length;
1337
+ while (reader.pos < end) {
1338
+ let [fieldNo, wireType] = reader.tag();
1339
+ switch (fieldNo) {
1340
+ case /* optional string java_package */ 1:
1341
+ message.javaPackage = reader.string();
1342
+ break;
1343
+ case /* optional string java_outer_classname */ 8:
1344
+ message.javaOuterClassname = reader.string();
1345
+ break;
1346
+ case /* optional bool java_multiple_files */ 10:
1347
+ message.javaMultipleFiles = reader.bool();
1348
+ break;
1349
+ case /* optional bool java_generate_equals_and_hash = 20 [deprecated = true];*/ 20:
1350
+ message.javaGenerateEqualsAndHash = reader.bool();
1351
+ break;
1352
+ case /* optional bool java_string_check_utf8 */ 27:
1353
+ message.javaStringCheckUtf8 = reader.bool();
1354
+ break;
1355
+ case /* optional google.protobuf.FileOptions.OptimizeMode optimize_for */ 9:
1356
+ message.optimizeFor = reader.int32();
1357
+ break;
1358
+ case /* optional string go_package */ 11:
1359
+ message.goPackage = reader.string();
1360
+ break;
1361
+ case /* optional bool cc_generic_services */ 16:
1362
+ message.ccGenericServices = reader.bool();
1363
+ break;
1364
+ case /* optional bool java_generic_services */ 17:
1365
+ message.javaGenericServices = reader.bool();
1366
+ break;
1367
+ case /* optional bool py_generic_services */ 18:
1368
+ message.pyGenericServices = reader.bool();
1369
+ break;
1370
+ case /* optional bool php_generic_services */ 42:
1371
+ message.phpGenericServices = reader.bool();
1372
+ break;
1373
+ case /* optional bool deprecated */ 23:
1374
+ message.deprecated = reader.bool();
1375
+ break;
1376
+ case /* optional bool cc_enable_arenas */ 31:
1377
+ message.ccEnableArenas = reader.bool();
1378
+ break;
1379
+ case /* optional string objc_class_prefix */ 36:
1380
+ message.objcClassPrefix = reader.string();
1381
+ break;
1382
+ case /* optional string csharp_namespace */ 37:
1383
+ message.csharpNamespace = reader.string();
1384
+ break;
1385
+ case /* optional string swift_prefix */ 39:
1386
+ message.swiftPrefix = reader.string();
1387
+ break;
1388
+ case /* optional string php_class_prefix */ 40:
1389
+ message.phpClassPrefix = reader.string();
1390
+ break;
1391
+ case /* optional string php_namespace */ 41:
1392
+ message.phpNamespace = reader.string();
1393
+ break;
1394
+ case /* optional string php_metadata_namespace */ 44:
1395
+ message.phpMetadataNamespace = reader.string();
1396
+ break;
1397
+ case /* optional string ruby_package */ 45:
1398
+ message.rubyPackage = reader.string();
1399
+ break;
1400
+ case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
1401
+ message.uninterpretedOption.push(exports.UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
1402
+ break;
1403
+ default:
1404
+ let u = options.readUnknownField;
1405
+ if (u === "throw")
1406
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1407
+ let d = reader.skip(wireType);
1408
+ if (u !== false)
1409
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1410
+ }
1411
+ }
1412
+ return message;
1413
+ }
1414
+ internalBinaryWrite(message, writer, options) {
1415
+ /* optional string java_package = 1; */
1416
+ if (message.javaPackage !== undefined)
1417
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.javaPackage);
1418
+ /* optional string java_outer_classname = 8; */
1419
+ if (message.javaOuterClassname !== undefined)
1420
+ writer.tag(8, runtime_1.WireType.LengthDelimited).string(message.javaOuterClassname);
1421
+ /* optional bool java_multiple_files = 10; */
1422
+ if (message.javaMultipleFiles !== undefined)
1423
+ writer.tag(10, runtime_1.WireType.Varint).bool(message.javaMultipleFiles);
1424
+ /* optional bool java_generate_equals_and_hash = 20 [deprecated = true]; */
1425
+ if (message.javaGenerateEqualsAndHash !== undefined)
1426
+ writer.tag(20, runtime_1.WireType.Varint).bool(message.javaGenerateEqualsAndHash);
1427
+ /* optional bool java_string_check_utf8 = 27; */
1428
+ if (message.javaStringCheckUtf8 !== undefined)
1429
+ writer.tag(27, runtime_1.WireType.Varint).bool(message.javaStringCheckUtf8);
1430
+ /* optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9; */
1431
+ if (message.optimizeFor !== undefined)
1432
+ writer.tag(9, runtime_1.WireType.Varint).int32(message.optimizeFor);
1433
+ /* optional string go_package = 11; */
1434
+ if (message.goPackage !== undefined)
1435
+ writer.tag(11, runtime_1.WireType.LengthDelimited).string(message.goPackage);
1436
+ /* optional bool cc_generic_services = 16; */
1437
+ if (message.ccGenericServices !== undefined)
1438
+ writer.tag(16, runtime_1.WireType.Varint).bool(message.ccGenericServices);
1439
+ /* optional bool java_generic_services = 17; */
1440
+ if (message.javaGenericServices !== undefined)
1441
+ writer.tag(17, runtime_1.WireType.Varint).bool(message.javaGenericServices);
1442
+ /* optional bool py_generic_services = 18; */
1443
+ if (message.pyGenericServices !== undefined)
1444
+ writer.tag(18, runtime_1.WireType.Varint).bool(message.pyGenericServices);
1445
+ /* optional bool php_generic_services = 42; */
1446
+ if (message.phpGenericServices !== undefined)
1447
+ writer.tag(42, runtime_1.WireType.Varint).bool(message.phpGenericServices);
1448
+ /* optional bool deprecated = 23; */
1449
+ if (message.deprecated !== undefined)
1450
+ writer.tag(23, runtime_1.WireType.Varint).bool(message.deprecated);
1451
+ /* optional bool cc_enable_arenas = 31; */
1452
+ if (message.ccEnableArenas !== undefined)
1453
+ writer.tag(31, runtime_1.WireType.Varint).bool(message.ccEnableArenas);
1454
+ /* optional string objc_class_prefix = 36; */
1455
+ if (message.objcClassPrefix !== undefined)
1456
+ writer.tag(36, runtime_1.WireType.LengthDelimited).string(message.objcClassPrefix);
1457
+ /* optional string csharp_namespace = 37; */
1458
+ if (message.csharpNamespace !== undefined)
1459
+ writer.tag(37, runtime_1.WireType.LengthDelimited).string(message.csharpNamespace);
1460
+ /* optional string swift_prefix = 39; */
1461
+ if (message.swiftPrefix !== undefined)
1462
+ writer.tag(39, runtime_1.WireType.LengthDelimited).string(message.swiftPrefix);
1463
+ /* optional string php_class_prefix = 40; */
1464
+ if (message.phpClassPrefix !== undefined)
1465
+ writer.tag(40, runtime_1.WireType.LengthDelimited).string(message.phpClassPrefix);
1466
+ /* optional string php_namespace = 41; */
1467
+ if (message.phpNamespace !== undefined)
1468
+ writer.tag(41, runtime_1.WireType.LengthDelimited).string(message.phpNamespace);
1469
+ /* optional string php_metadata_namespace = 44; */
1470
+ if (message.phpMetadataNamespace !== undefined)
1471
+ writer.tag(44, runtime_1.WireType.LengthDelimited).string(message.phpMetadataNamespace);
1472
+ /* optional string ruby_package = 45; */
1473
+ if (message.rubyPackage !== undefined)
1474
+ writer.tag(45, runtime_1.WireType.LengthDelimited).string(message.rubyPackage);
1475
+ /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
1476
+ for (let i = 0; i < message.uninterpretedOption.length; i++)
1477
+ exports.UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, runtime_1.WireType.LengthDelimited).fork(), options).join();
1478
+ let u = options.writeUnknownFields;
1479
+ if (u !== false)
1480
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1481
+ return writer;
1482
+ }
1483
+ }
1484
+ /**
1485
+ * @generated MessageType for protobuf message google.protobuf.FileOptions
1486
+ */
1487
+ exports.FileOptions = new FileOptions$Type();
1488
+ // @generated message type with reflection information, may provide speed optimized methods
1489
+ class MessageOptions$Type extends runtime_5.MessageType {
1490
+ constructor() {
1491
+ super("google.protobuf.MessageOptions", [
1492
+ { no: 1, name: "message_set_wire_format", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1493
+ { no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1494
+ { no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1495
+ { no: 7, name: "map_entry", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1496
+ { no: 11, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1497
+ { no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UninterpretedOption }
1498
+ ]);
1499
+ }
1500
+ create(value) {
1501
+ const message = { uninterpretedOption: [] };
1502
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1503
+ if (value !== undefined)
1504
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1505
+ return message;
1506
+ }
1507
+ internalBinaryRead(reader, length, options, target) {
1508
+ let message = target ?? this.create(), end = reader.pos + length;
1509
+ while (reader.pos < end) {
1510
+ let [fieldNo, wireType] = reader.tag();
1511
+ switch (fieldNo) {
1512
+ case /* optional bool message_set_wire_format */ 1:
1513
+ message.messageSetWireFormat = reader.bool();
1514
+ break;
1515
+ case /* optional bool no_standard_descriptor_accessor */ 2:
1516
+ message.noStandardDescriptorAccessor = reader.bool();
1517
+ break;
1518
+ case /* optional bool deprecated */ 3:
1519
+ message.deprecated = reader.bool();
1520
+ break;
1521
+ case /* optional bool map_entry */ 7:
1522
+ message.mapEntry = reader.bool();
1523
+ break;
1524
+ case /* optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];*/ 11:
1525
+ message.deprecatedLegacyJsonFieldConflicts = reader.bool();
1526
+ break;
1527
+ case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
1528
+ message.uninterpretedOption.push(exports.UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
1529
+ break;
1530
+ default:
1531
+ let u = options.readUnknownField;
1532
+ if (u === "throw")
1533
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1534
+ let d = reader.skip(wireType);
1535
+ if (u !== false)
1536
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1537
+ }
1538
+ }
1539
+ return message;
1540
+ }
1541
+ internalBinaryWrite(message, writer, options) {
1542
+ /* optional bool message_set_wire_format = 1; */
1543
+ if (message.messageSetWireFormat !== undefined)
1544
+ writer.tag(1, runtime_1.WireType.Varint).bool(message.messageSetWireFormat);
1545
+ /* optional bool no_standard_descriptor_accessor = 2; */
1546
+ if (message.noStandardDescriptorAccessor !== undefined)
1547
+ writer.tag(2, runtime_1.WireType.Varint).bool(message.noStandardDescriptorAccessor);
1548
+ /* optional bool deprecated = 3; */
1549
+ if (message.deprecated !== undefined)
1550
+ writer.tag(3, runtime_1.WireType.Varint).bool(message.deprecated);
1551
+ /* optional bool map_entry = 7; */
1552
+ if (message.mapEntry !== undefined)
1553
+ writer.tag(7, runtime_1.WireType.Varint).bool(message.mapEntry);
1554
+ /* optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; */
1555
+ if (message.deprecatedLegacyJsonFieldConflicts !== undefined)
1556
+ writer.tag(11, runtime_1.WireType.Varint).bool(message.deprecatedLegacyJsonFieldConflicts);
1557
+ /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
1558
+ for (let i = 0; i < message.uninterpretedOption.length; i++)
1559
+ exports.UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, runtime_1.WireType.LengthDelimited).fork(), options).join();
1560
+ let u = options.writeUnknownFields;
1561
+ if (u !== false)
1562
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1563
+ return writer;
1564
+ }
1565
+ }
1566
+ /**
1567
+ * @generated MessageType for protobuf message google.protobuf.MessageOptions
1568
+ */
1569
+ exports.MessageOptions = new MessageOptions$Type();
1570
+ // @generated message type with reflection information, may provide speed optimized methods
1571
+ class FieldOptions$Type extends runtime_5.MessageType {
1572
+ constructor() {
1573
+ super("google.protobuf.FieldOptions", [
1574
+ { no: 1, name: "ctype", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.CType", FieldOptions_CType] },
1575
+ { no: 2, name: "packed", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1576
+ { no: 6, name: "jstype", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.JSType", FieldOptions_JSType] },
1577
+ { no: 5, name: "lazy", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1578
+ { no: 15, name: "unverified_lazy", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1579
+ { no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1580
+ { no: 10, name: "weak", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1581
+ { no: 16, name: "debug_redact", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1582
+ { no: 17, name: "retention", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.OptionRetention", FieldOptions_OptionRetention] },
1583
+ { no: 18, name: "target", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.OptionTargetType", FieldOptions_OptionTargetType] },
1584
+ { no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UninterpretedOption }
1585
+ ]);
1586
+ }
1587
+ create(value) {
1588
+ const message = { uninterpretedOption: [] };
1589
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1590
+ if (value !== undefined)
1591
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1592
+ return message;
1593
+ }
1594
+ internalBinaryRead(reader, length, options, target) {
1595
+ let message = target ?? this.create(), end = reader.pos + length;
1596
+ while (reader.pos < end) {
1597
+ let [fieldNo, wireType] = reader.tag();
1598
+ switch (fieldNo) {
1599
+ case /* optional google.protobuf.FieldOptions.CType ctype */ 1:
1600
+ message.ctype = reader.int32();
1601
+ break;
1602
+ case /* optional bool packed */ 2:
1603
+ message.packed = reader.bool();
1604
+ break;
1605
+ case /* optional google.protobuf.FieldOptions.JSType jstype */ 6:
1606
+ message.jstype = reader.int32();
1607
+ break;
1608
+ case /* optional bool lazy */ 5:
1609
+ message.lazy = reader.bool();
1610
+ break;
1611
+ case /* optional bool unverified_lazy */ 15:
1612
+ message.unverifiedLazy = reader.bool();
1613
+ break;
1614
+ case /* optional bool deprecated */ 3:
1615
+ message.deprecated = reader.bool();
1616
+ break;
1617
+ case /* optional bool weak */ 10:
1618
+ message.weak = reader.bool();
1619
+ break;
1620
+ case /* optional bool debug_redact */ 16:
1621
+ message.debugRedact = reader.bool();
1622
+ break;
1623
+ case /* optional google.protobuf.FieldOptions.OptionRetention retention */ 17:
1624
+ message.retention = reader.int32();
1625
+ break;
1626
+ case /* optional google.protobuf.FieldOptions.OptionTargetType target */ 18:
1627
+ message.target = reader.int32();
1628
+ break;
1629
+ case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
1630
+ message.uninterpretedOption.push(exports.UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
1631
+ break;
1632
+ default:
1633
+ let u = options.readUnknownField;
1634
+ if (u === "throw")
1635
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1636
+ let d = reader.skip(wireType);
1637
+ if (u !== false)
1638
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1639
+ }
1640
+ }
1641
+ return message;
1642
+ }
1643
+ internalBinaryWrite(message, writer, options) {
1644
+ /* optional google.protobuf.FieldOptions.CType ctype = 1; */
1645
+ if (message.ctype !== undefined)
1646
+ writer.tag(1, runtime_1.WireType.Varint).int32(message.ctype);
1647
+ /* optional bool packed = 2; */
1648
+ if (message.packed !== undefined)
1649
+ writer.tag(2, runtime_1.WireType.Varint).bool(message.packed);
1650
+ /* optional google.protobuf.FieldOptions.JSType jstype = 6; */
1651
+ if (message.jstype !== undefined)
1652
+ writer.tag(6, runtime_1.WireType.Varint).int32(message.jstype);
1653
+ /* optional bool lazy = 5; */
1654
+ if (message.lazy !== undefined)
1655
+ writer.tag(5, runtime_1.WireType.Varint).bool(message.lazy);
1656
+ /* optional bool unverified_lazy = 15; */
1657
+ if (message.unverifiedLazy !== undefined)
1658
+ writer.tag(15, runtime_1.WireType.Varint).bool(message.unverifiedLazy);
1659
+ /* optional bool deprecated = 3; */
1660
+ if (message.deprecated !== undefined)
1661
+ writer.tag(3, runtime_1.WireType.Varint).bool(message.deprecated);
1662
+ /* optional bool weak = 10; */
1663
+ if (message.weak !== undefined)
1664
+ writer.tag(10, runtime_1.WireType.Varint).bool(message.weak);
1665
+ /* optional bool debug_redact = 16; */
1666
+ if (message.debugRedact !== undefined)
1667
+ writer.tag(16, runtime_1.WireType.Varint).bool(message.debugRedact);
1668
+ /* optional google.protobuf.FieldOptions.OptionRetention retention = 17; */
1669
+ if (message.retention !== undefined)
1670
+ writer.tag(17, runtime_1.WireType.Varint).int32(message.retention);
1671
+ /* optional google.protobuf.FieldOptions.OptionTargetType target = 18; */
1672
+ if (message.target !== undefined)
1673
+ writer.tag(18, runtime_1.WireType.Varint).int32(message.target);
1674
+ /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
1675
+ for (let i = 0; i < message.uninterpretedOption.length; i++)
1676
+ exports.UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, runtime_1.WireType.LengthDelimited).fork(), options).join();
1677
+ let u = options.writeUnknownFields;
1678
+ if (u !== false)
1679
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1680
+ return writer;
1681
+ }
1682
+ }
1683
+ /**
1684
+ * @generated MessageType for protobuf message google.protobuf.FieldOptions
1685
+ */
1686
+ exports.FieldOptions = new FieldOptions$Type();
1687
+ // @generated message type with reflection information, may provide speed optimized methods
1688
+ class OneofOptions$Type extends runtime_5.MessageType {
1689
+ constructor() {
1690
+ super("google.protobuf.OneofOptions", [
1691
+ { no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UninterpretedOption }
1692
+ ]);
1693
+ }
1694
+ create(value) {
1695
+ const message = { uninterpretedOption: [] };
1696
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1697
+ if (value !== undefined)
1698
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1699
+ return message;
1700
+ }
1701
+ internalBinaryRead(reader, length, options, target) {
1702
+ let message = target ?? this.create(), end = reader.pos + length;
1703
+ while (reader.pos < end) {
1704
+ let [fieldNo, wireType] = reader.tag();
1705
+ switch (fieldNo) {
1706
+ case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
1707
+ message.uninterpretedOption.push(exports.UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
1708
+ break;
1709
+ default:
1710
+ let u = options.readUnknownField;
1711
+ if (u === "throw")
1712
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1713
+ let d = reader.skip(wireType);
1714
+ if (u !== false)
1715
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1716
+ }
1717
+ }
1718
+ return message;
1719
+ }
1720
+ internalBinaryWrite(message, writer, options) {
1721
+ /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
1722
+ for (let i = 0; i < message.uninterpretedOption.length; i++)
1723
+ exports.UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, runtime_1.WireType.LengthDelimited).fork(), options).join();
1724
+ let u = options.writeUnknownFields;
1725
+ if (u !== false)
1726
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1727
+ return writer;
1728
+ }
1729
+ }
1730
+ /**
1731
+ * @generated MessageType for protobuf message google.protobuf.OneofOptions
1732
+ */
1733
+ exports.OneofOptions = new OneofOptions$Type();
1734
+ // @generated message type with reflection information, may provide speed optimized methods
1735
+ class EnumOptions$Type extends runtime_5.MessageType {
1736
+ constructor() {
1737
+ super("google.protobuf.EnumOptions", [
1738
+ { no: 2, name: "allow_alias", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1739
+ { no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1740
+ { no: 6, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1741
+ { no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UninterpretedOption }
1742
+ ]);
1743
+ }
1744
+ create(value) {
1745
+ const message = { uninterpretedOption: [] };
1746
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1747
+ if (value !== undefined)
1748
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1749
+ return message;
1750
+ }
1751
+ internalBinaryRead(reader, length, options, target) {
1752
+ let message = target ?? this.create(), end = reader.pos + length;
1753
+ while (reader.pos < end) {
1754
+ let [fieldNo, wireType] = reader.tag();
1755
+ switch (fieldNo) {
1756
+ case /* optional bool allow_alias */ 2:
1757
+ message.allowAlias = reader.bool();
1758
+ break;
1759
+ case /* optional bool deprecated */ 3:
1760
+ message.deprecated = reader.bool();
1761
+ break;
1762
+ case /* optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];*/ 6:
1763
+ message.deprecatedLegacyJsonFieldConflicts = reader.bool();
1764
+ break;
1765
+ case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
1766
+ message.uninterpretedOption.push(exports.UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
1767
+ break;
1768
+ default:
1769
+ let u = options.readUnknownField;
1770
+ if (u === "throw")
1771
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1772
+ let d = reader.skip(wireType);
1773
+ if (u !== false)
1774
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1775
+ }
1776
+ }
1777
+ return message;
1778
+ }
1779
+ internalBinaryWrite(message, writer, options) {
1780
+ /* optional bool allow_alias = 2; */
1781
+ if (message.allowAlias !== undefined)
1782
+ writer.tag(2, runtime_1.WireType.Varint).bool(message.allowAlias);
1783
+ /* optional bool deprecated = 3; */
1784
+ if (message.deprecated !== undefined)
1785
+ writer.tag(3, runtime_1.WireType.Varint).bool(message.deprecated);
1786
+ /* optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; */
1787
+ if (message.deprecatedLegacyJsonFieldConflicts !== undefined)
1788
+ writer.tag(6, runtime_1.WireType.Varint).bool(message.deprecatedLegacyJsonFieldConflicts);
1789
+ /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
1790
+ for (let i = 0; i < message.uninterpretedOption.length; i++)
1791
+ exports.UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, runtime_1.WireType.LengthDelimited).fork(), options).join();
1792
+ let u = options.writeUnknownFields;
1793
+ if (u !== false)
1794
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1795
+ return writer;
1796
+ }
1797
+ }
1798
+ /**
1799
+ * @generated MessageType for protobuf message google.protobuf.EnumOptions
1800
+ */
1801
+ exports.EnumOptions = new EnumOptions$Type();
1802
+ // @generated message type with reflection information, may provide speed optimized methods
1803
+ class EnumValueOptions$Type extends runtime_5.MessageType {
1804
+ constructor() {
1805
+ super("google.protobuf.EnumValueOptions", [
1806
+ { no: 1, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1807
+ { no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UninterpretedOption }
1808
+ ]);
1809
+ }
1810
+ create(value) {
1811
+ const message = { uninterpretedOption: [] };
1812
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1813
+ if (value !== undefined)
1814
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1815
+ return message;
1816
+ }
1817
+ internalBinaryRead(reader, length, options, target) {
1818
+ let message = target ?? this.create(), end = reader.pos + length;
1819
+ while (reader.pos < end) {
1820
+ let [fieldNo, wireType] = reader.tag();
1821
+ switch (fieldNo) {
1822
+ case /* optional bool deprecated */ 1:
1823
+ message.deprecated = reader.bool();
1824
+ break;
1825
+ case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
1826
+ message.uninterpretedOption.push(exports.UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
1827
+ break;
1828
+ default:
1829
+ let u = options.readUnknownField;
1830
+ if (u === "throw")
1831
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1832
+ let d = reader.skip(wireType);
1833
+ if (u !== false)
1834
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1835
+ }
1836
+ }
1837
+ return message;
1838
+ }
1839
+ internalBinaryWrite(message, writer, options) {
1840
+ /* optional bool deprecated = 1; */
1841
+ if (message.deprecated !== undefined)
1842
+ writer.tag(1, runtime_1.WireType.Varint).bool(message.deprecated);
1843
+ /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
1844
+ for (let i = 0; i < message.uninterpretedOption.length; i++)
1845
+ exports.UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, runtime_1.WireType.LengthDelimited).fork(), options).join();
1846
+ let u = options.writeUnknownFields;
1847
+ if (u !== false)
1848
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1849
+ return writer;
1850
+ }
1851
+ }
1852
+ /**
1853
+ * @generated MessageType for protobuf message google.protobuf.EnumValueOptions
1854
+ */
1855
+ exports.EnumValueOptions = new EnumValueOptions$Type();
1856
+ // @generated message type with reflection information, may provide speed optimized methods
1857
+ class ServiceOptions$Type extends runtime_5.MessageType {
1858
+ constructor() {
1859
+ super("google.protobuf.ServiceOptions", [
1860
+ { no: 33, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1861
+ { no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UninterpretedOption }
1862
+ ]);
1863
+ }
1864
+ create(value) {
1865
+ const message = { uninterpretedOption: [] };
1866
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1867
+ if (value !== undefined)
1868
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1869
+ return message;
1870
+ }
1871
+ internalBinaryRead(reader, length, options, target) {
1872
+ let message = target ?? this.create(), end = reader.pos + length;
1873
+ while (reader.pos < end) {
1874
+ let [fieldNo, wireType] = reader.tag();
1875
+ switch (fieldNo) {
1876
+ case /* optional bool deprecated */ 33:
1877
+ message.deprecated = reader.bool();
1878
+ break;
1879
+ case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
1880
+ message.uninterpretedOption.push(exports.UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
1881
+ break;
1882
+ default:
1883
+ let u = options.readUnknownField;
1884
+ if (u === "throw")
1885
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1886
+ let d = reader.skip(wireType);
1887
+ if (u !== false)
1888
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1889
+ }
1890
+ }
1891
+ return message;
1892
+ }
1893
+ internalBinaryWrite(message, writer, options) {
1894
+ /* optional bool deprecated = 33; */
1895
+ if (message.deprecated !== undefined)
1896
+ writer.tag(33, runtime_1.WireType.Varint).bool(message.deprecated);
1897
+ /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
1898
+ for (let i = 0; i < message.uninterpretedOption.length; i++)
1899
+ exports.UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, runtime_1.WireType.LengthDelimited).fork(), options).join();
1900
+ let u = options.writeUnknownFields;
1901
+ if (u !== false)
1902
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1903
+ return writer;
1904
+ }
1905
+ }
1906
+ /**
1907
+ * @generated MessageType for protobuf message google.protobuf.ServiceOptions
1908
+ */
1909
+ exports.ServiceOptions = new ServiceOptions$Type();
1910
+ // @generated message type with reflection information, may provide speed optimized methods
1911
+ class MethodOptions$Type extends runtime_5.MessageType {
1912
+ constructor() {
1913
+ super("google.protobuf.MethodOptions", [
1914
+ { no: 33, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
1915
+ { no: 34, name: "idempotency_level", kind: "enum", opt: true, T: () => ["google.protobuf.MethodOptions.IdempotencyLevel", MethodOptions_IdempotencyLevel] },
1916
+ { no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UninterpretedOption }
1917
+ ]);
1918
+ }
1919
+ create(value) {
1920
+ const message = { uninterpretedOption: [] };
1921
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1922
+ if (value !== undefined)
1923
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1924
+ return message;
1925
+ }
1926
+ internalBinaryRead(reader, length, options, target) {
1927
+ let message = target ?? this.create(), end = reader.pos + length;
1928
+ while (reader.pos < end) {
1929
+ let [fieldNo, wireType] = reader.tag();
1930
+ switch (fieldNo) {
1931
+ case /* optional bool deprecated */ 33:
1932
+ message.deprecated = reader.bool();
1933
+ break;
1934
+ case /* optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level */ 34:
1935
+ message.idempotencyLevel = reader.int32();
1936
+ break;
1937
+ case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
1938
+ message.uninterpretedOption.push(exports.UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
1939
+ break;
1940
+ default:
1941
+ let u = options.readUnknownField;
1942
+ if (u === "throw")
1943
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1944
+ let d = reader.skip(wireType);
1945
+ if (u !== false)
1946
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1947
+ }
1948
+ }
1949
+ return message;
1950
+ }
1951
+ internalBinaryWrite(message, writer, options) {
1952
+ /* optional bool deprecated = 33; */
1953
+ if (message.deprecated !== undefined)
1954
+ writer.tag(33, runtime_1.WireType.Varint).bool(message.deprecated);
1955
+ /* optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34; */
1956
+ if (message.idempotencyLevel !== undefined)
1957
+ writer.tag(34, runtime_1.WireType.Varint).int32(message.idempotencyLevel);
1958
+ /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
1959
+ for (let i = 0; i < message.uninterpretedOption.length; i++)
1960
+ exports.UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, runtime_1.WireType.LengthDelimited).fork(), options).join();
1961
+ let u = options.writeUnknownFields;
1962
+ if (u !== false)
1963
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1964
+ return writer;
1965
+ }
1966
+ }
1967
+ /**
1968
+ * @generated MessageType for protobuf message google.protobuf.MethodOptions
1969
+ */
1970
+ exports.MethodOptions = new MethodOptions$Type();
1971
+ // @generated message type with reflection information, may provide speed optimized methods
1972
+ class UninterpretedOption$Type extends runtime_5.MessageType {
1973
+ constructor() {
1974
+ super("google.protobuf.UninterpretedOption", [
1975
+ { no: 2, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UninterpretedOption_NamePart },
1976
+ { no: 3, name: "identifier_value", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1977
+ { no: 4, name: "positive_int_value", kind: "scalar", opt: true, T: 4 /*ScalarType.UINT64*/ },
1978
+ { no: 5, name: "negative_int_value", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/ },
1979
+ { no: 6, name: "double_value", kind: "scalar", opt: true, T: 1 /*ScalarType.DOUBLE*/ },
1980
+ { no: 7, name: "string_value", kind: "scalar", opt: true, T: 12 /*ScalarType.BYTES*/ },
1981
+ { no: 8, name: "aggregate_value", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
1982
+ ]);
1983
+ }
1984
+ create(value) {
1985
+ const message = { name: [] };
1986
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
1987
+ if (value !== undefined)
1988
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
1989
+ return message;
1990
+ }
1991
+ internalBinaryRead(reader, length, options, target) {
1992
+ let message = target ?? this.create(), end = reader.pos + length;
1993
+ while (reader.pos < end) {
1994
+ let [fieldNo, wireType] = reader.tag();
1995
+ switch (fieldNo) {
1996
+ case /* repeated google.protobuf.UninterpretedOption.NamePart name */ 2:
1997
+ message.name.push(exports.UninterpretedOption_NamePart.internalBinaryRead(reader, reader.uint32(), options));
1998
+ break;
1999
+ case /* optional string identifier_value */ 3:
2000
+ message.identifierValue = reader.string();
2001
+ break;
2002
+ case /* optional uint64 positive_int_value */ 4:
2003
+ message.positiveIntValue = reader.uint64().toString();
2004
+ break;
2005
+ case /* optional int64 negative_int_value */ 5:
2006
+ message.negativeIntValue = reader.int64().toString();
2007
+ break;
2008
+ case /* optional double double_value */ 6:
2009
+ message.doubleValue = reader.double();
2010
+ break;
2011
+ case /* optional bytes string_value */ 7:
2012
+ message.stringValue = reader.bytes();
2013
+ break;
2014
+ case /* optional string aggregate_value */ 8:
2015
+ message.aggregateValue = reader.string();
2016
+ break;
2017
+ default:
2018
+ let u = options.readUnknownField;
2019
+ if (u === "throw")
2020
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2021
+ let d = reader.skip(wireType);
2022
+ if (u !== false)
2023
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2024
+ }
2025
+ }
2026
+ return message;
2027
+ }
2028
+ internalBinaryWrite(message, writer, options) {
2029
+ /* repeated google.protobuf.UninterpretedOption.NamePart name = 2; */
2030
+ for (let i = 0; i < message.name.length; i++)
2031
+ exports.UninterpretedOption_NamePart.internalBinaryWrite(message.name[i], writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
2032
+ /* optional string identifier_value = 3; */
2033
+ if (message.identifierValue !== undefined)
2034
+ writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.identifierValue);
2035
+ /* optional uint64 positive_int_value = 4; */
2036
+ if (message.positiveIntValue !== undefined)
2037
+ writer.tag(4, runtime_1.WireType.Varint).uint64(message.positiveIntValue);
2038
+ /* optional int64 negative_int_value = 5; */
2039
+ if (message.negativeIntValue !== undefined)
2040
+ writer.tag(5, runtime_1.WireType.Varint).int64(message.negativeIntValue);
2041
+ /* optional double double_value = 6; */
2042
+ if (message.doubleValue !== undefined)
2043
+ writer.tag(6, runtime_1.WireType.Bit64).double(message.doubleValue);
2044
+ /* optional bytes string_value = 7; */
2045
+ if (message.stringValue !== undefined)
2046
+ writer.tag(7, runtime_1.WireType.LengthDelimited).bytes(message.stringValue);
2047
+ /* optional string aggregate_value = 8; */
2048
+ if (message.aggregateValue !== undefined)
2049
+ writer.tag(8, runtime_1.WireType.LengthDelimited).string(message.aggregateValue);
2050
+ let u = options.writeUnknownFields;
2051
+ if (u !== false)
2052
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2053
+ return writer;
2054
+ }
2055
+ }
2056
+ /**
2057
+ * @generated MessageType for protobuf message google.protobuf.UninterpretedOption
2058
+ */
2059
+ exports.UninterpretedOption = new UninterpretedOption$Type();
2060
+ // @generated message type with reflection information, may provide speed optimized methods
2061
+ class UninterpretedOption_NamePart$Type extends runtime_5.MessageType {
2062
+ constructor() {
2063
+ super("google.protobuf.UninterpretedOption.NamePart", [
2064
+ { no: 1, name: "name_part", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2065
+ { no: 2, name: "is_extension", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
2066
+ ]);
2067
+ }
2068
+ create(value) {
2069
+ const message = { namePart: "", isExtension: false };
2070
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
2071
+ if (value !== undefined)
2072
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
2073
+ return message;
2074
+ }
2075
+ internalBinaryRead(reader, length, options, target) {
2076
+ let message = target ?? this.create(), end = reader.pos + length;
2077
+ while (reader.pos < end) {
2078
+ let [fieldNo, wireType] = reader.tag();
2079
+ switch (fieldNo) {
2080
+ case /* string name_part */ 1:
2081
+ message.namePart = reader.string();
2082
+ break;
2083
+ case /* bool is_extension */ 2:
2084
+ message.isExtension = reader.bool();
2085
+ break;
2086
+ default:
2087
+ let u = options.readUnknownField;
2088
+ if (u === "throw")
2089
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2090
+ let d = reader.skip(wireType);
2091
+ if (u !== false)
2092
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2093
+ }
2094
+ }
2095
+ return message;
2096
+ }
2097
+ internalBinaryWrite(message, writer, options) {
2098
+ /* string name_part = 1; */
2099
+ if (message.namePart !== "")
2100
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.namePart);
2101
+ /* bool is_extension = 2; */
2102
+ if (message.isExtension !== false)
2103
+ writer.tag(2, runtime_1.WireType.Varint).bool(message.isExtension);
2104
+ let u = options.writeUnknownFields;
2105
+ if (u !== false)
2106
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2107
+ return writer;
2108
+ }
2109
+ }
2110
+ /**
2111
+ * @generated MessageType for protobuf message google.protobuf.UninterpretedOption.NamePart
2112
+ */
2113
+ exports.UninterpretedOption_NamePart = new UninterpretedOption_NamePart$Type();
2114
+ // @generated message type with reflection information, may provide speed optimized methods
2115
+ class SourceCodeInfo$Type extends runtime_5.MessageType {
2116
+ constructor() {
2117
+ super("google.protobuf.SourceCodeInfo", [
2118
+ { no: 1, name: "location", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.SourceCodeInfo_Location }
2119
+ ]);
2120
+ }
2121
+ create(value) {
2122
+ const message = { location: [] };
2123
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
2124
+ if (value !== undefined)
2125
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
2126
+ return message;
2127
+ }
2128
+ internalBinaryRead(reader, length, options, target) {
2129
+ let message = target ?? this.create(), end = reader.pos + length;
2130
+ while (reader.pos < end) {
2131
+ let [fieldNo, wireType] = reader.tag();
2132
+ switch (fieldNo) {
2133
+ case /* repeated google.protobuf.SourceCodeInfo.Location location */ 1:
2134
+ message.location.push(exports.SourceCodeInfo_Location.internalBinaryRead(reader, reader.uint32(), options));
2135
+ break;
2136
+ default:
2137
+ let u = options.readUnknownField;
2138
+ if (u === "throw")
2139
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2140
+ let d = reader.skip(wireType);
2141
+ if (u !== false)
2142
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2143
+ }
2144
+ }
2145
+ return message;
2146
+ }
2147
+ internalBinaryWrite(message, writer, options) {
2148
+ /* repeated google.protobuf.SourceCodeInfo.Location location = 1; */
2149
+ for (let i = 0; i < message.location.length; i++)
2150
+ exports.SourceCodeInfo_Location.internalBinaryWrite(message.location[i], writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
2151
+ let u = options.writeUnknownFields;
2152
+ if (u !== false)
2153
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2154
+ return writer;
2155
+ }
2156
+ }
2157
+ /**
2158
+ * @generated MessageType for protobuf message google.protobuf.SourceCodeInfo
2159
+ */
2160
+ exports.SourceCodeInfo = new SourceCodeInfo$Type();
2161
+ // @generated message type with reflection information, may provide speed optimized methods
2162
+ class SourceCodeInfo_Location$Type extends runtime_5.MessageType {
2163
+ constructor() {
2164
+ super("google.protobuf.SourceCodeInfo.Location", [
2165
+ { no: 1, name: "path", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
2166
+ { no: 2, name: "span", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
2167
+ { no: 3, name: "leading_comments", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
2168
+ { no: 4, name: "trailing_comments", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
2169
+ { no: 6, name: "leading_detached_comments", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
2170
+ ]);
2171
+ }
2172
+ create(value) {
2173
+ const message = { path: [], span: [], leadingDetachedComments: [] };
2174
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
2175
+ if (value !== undefined)
2176
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
2177
+ return message;
2178
+ }
2179
+ internalBinaryRead(reader, length, options, target) {
2180
+ let message = target ?? this.create(), end = reader.pos + length;
2181
+ while (reader.pos < end) {
2182
+ let [fieldNo, wireType] = reader.tag();
2183
+ switch (fieldNo) {
2184
+ case /* repeated int32 path = 1 [packed = true];*/ 1:
2185
+ if (wireType === runtime_1.WireType.LengthDelimited)
2186
+ for (let e = reader.int32() + reader.pos; reader.pos < e;)
2187
+ message.path.push(reader.int32());
2188
+ else
2189
+ message.path.push(reader.int32());
2190
+ break;
2191
+ case /* repeated int32 span = 2 [packed = true];*/ 2:
2192
+ if (wireType === runtime_1.WireType.LengthDelimited)
2193
+ for (let e = reader.int32() + reader.pos; reader.pos < e;)
2194
+ message.span.push(reader.int32());
2195
+ else
2196
+ message.span.push(reader.int32());
2197
+ break;
2198
+ case /* optional string leading_comments */ 3:
2199
+ message.leadingComments = reader.string();
2200
+ break;
2201
+ case /* optional string trailing_comments */ 4:
2202
+ message.trailingComments = reader.string();
2203
+ break;
2204
+ case /* repeated string leading_detached_comments */ 6:
2205
+ message.leadingDetachedComments.push(reader.string());
2206
+ break;
2207
+ default:
2208
+ let u = options.readUnknownField;
2209
+ if (u === "throw")
2210
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2211
+ let d = reader.skip(wireType);
2212
+ if (u !== false)
2213
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2214
+ }
2215
+ }
2216
+ return message;
2217
+ }
2218
+ internalBinaryWrite(message, writer, options) {
2219
+ /* repeated int32 path = 1 [packed = true]; */
2220
+ if (message.path.length) {
2221
+ writer.tag(1, runtime_1.WireType.LengthDelimited).fork();
2222
+ for (let i = 0; i < message.path.length; i++)
2223
+ writer.int32(message.path[i]);
2224
+ writer.join();
2225
+ }
2226
+ /* repeated int32 span = 2 [packed = true]; */
2227
+ if (message.span.length) {
2228
+ writer.tag(2, runtime_1.WireType.LengthDelimited).fork();
2229
+ for (let i = 0; i < message.span.length; i++)
2230
+ writer.int32(message.span[i]);
2231
+ writer.join();
2232
+ }
2233
+ /* optional string leading_comments = 3; */
2234
+ if (message.leadingComments !== undefined)
2235
+ writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.leadingComments);
2236
+ /* optional string trailing_comments = 4; */
2237
+ if (message.trailingComments !== undefined)
2238
+ writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.trailingComments);
2239
+ /* repeated string leading_detached_comments = 6; */
2240
+ for (let i = 0; i < message.leadingDetachedComments.length; i++)
2241
+ writer.tag(6, runtime_1.WireType.LengthDelimited).string(message.leadingDetachedComments[i]);
2242
+ let u = options.writeUnknownFields;
2243
+ if (u !== false)
2244
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2245
+ return writer;
2246
+ }
2247
+ }
2248
+ /**
2249
+ * @generated MessageType for protobuf message google.protobuf.SourceCodeInfo.Location
2250
+ */
2251
+ exports.SourceCodeInfo_Location = new SourceCodeInfo_Location$Type();
2252
+ // @generated message type with reflection information, may provide speed optimized methods
2253
+ class GeneratedCodeInfo$Type extends runtime_5.MessageType {
2254
+ constructor() {
2255
+ super("google.protobuf.GeneratedCodeInfo", [
2256
+ { no: 1, name: "annotation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.GeneratedCodeInfo_Annotation }
2257
+ ]);
2258
+ }
2259
+ create(value) {
2260
+ const message = { annotation: [] };
2261
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
2262
+ if (value !== undefined)
2263
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
2264
+ return message;
2265
+ }
2266
+ internalBinaryRead(reader, length, options, target) {
2267
+ let message = target ?? this.create(), end = reader.pos + length;
2268
+ while (reader.pos < end) {
2269
+ let [fieldNo, wireType] = reader.tag();
2270
+ switch (fieldNo) {
2271
+ case /* repeated google.protobuf.GeneratedCodeInfo.Annotation annotation */ 1:
2272
+ message.annotation.push(exports.GeneratedCodeInfo_Annotation.internalBinaryRead(reader, reader.uint32(), options));
2273
+ break;
2274
+ default:
2275
+ let u = options.readUnknownField;
2276
+ if (u === "throw")
2277
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2278
+ let d = reader.skip(wireType);
2279
+ if (u !== false)
2280
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2281
+ }
2282
+ }
2283
+ return message;
2284
+ }
2285
+ internalBinaryWrite(message, writer, options) {
2286
+ /* repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; */
2287
+ for (let i = 0; i < message.annotation.length; i++)
2288
+ exports.GeneratedCodeInfo_Annotation.internalBinaryWrite(message.annotation[i], writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
2289
+ let u = options.writeUnknownFields;
2290
+ if (u !== false)
2291
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2292
+ return writer;
2293
+ }
2294
+ }
2295
+ /**
2296
+ * @generated MessageType for protobuf message google.protobuf.GeneratedCodeInfo
2297
+ */
2298
+ exports.GeneratedCodeInfo = new GeneratedCodeInfo$Type();
2299
+ // @generated message type with reflection information, may provide speed optimized methods
2300
+ class GeneratedCodeInfo_Annotation$Type extends runtime_5.MessageType {
2301
+ constructor() {
2302
+ super("google.protobuf.GeneratedCodeInfo.Annotation", [
2303
+ { no: 1, name: "path", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
2304
+ { no: 2, name: "source_file", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
2305
+ { no: 3, name: "begin", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
2306
+ { no: 4, name: "end", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
2307
+ { no: 5, name: "semantic", kind: "enum", opt: true, T: () => ["google.protobuf.GeneratedCodeInfo.Annotation.Semantic", GeneratedCodeInfo_Annotation_Semantic] }
2308
+ ]);
2309
+ }
2310
+ create(value) {
2311
+ const message = { path: [] };
2312
+ globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
2313
+ if (value !== undefined)
2314
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
2315
+ return message;
2316
+ }
2317
+ internalBinaryRead(reader, length, options, target) {
2318
+ let message = target ?? this.create(), end = reader.pos + length;
2319
+ while (reader.pos < end) {
2320
+ let [fieldNo, wireType] = reader.tag();
2321
+ switch (fieldNo) {
2322
+ case /* repeated int32 path = 1 [packed = true];*/ 1:
2323
+ if (wireType === runtime_1.WireType.LengthDelimited)
2324
+ for (let e = reader.int32() + reader.pos; reader.pos < e;)
2325
+ message.path.push(reader.int32());
2326
+ else
2327
+ message.path.push(reader.int32());
2328
+ break;
2329
+ case /* optional string source_file */ 2:
2330
+ message.sourceFile = reader.string();
2331
+ break;
2332
+ case /* optional int32 begin */ 3:
2333
+ message.begin = reader.int32();
2334
+ break;
2335
+ case /* optional int32 end */ 4:
2336
+ message.end = reader.int32();
2337
+ break;
2338
+ case /* optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic */ 5:
2339
+ message.semantic = reader.int32();
2340
+ break;
2341
+ default:
2342
+ let u = options.readUnknownField;
2343
+ if (u === "throw")
2344
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2345
+ let d = reader.skip(wireType);
2346
+ if (u !== false)
2347
+ (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2348
+ }
2349
+ }
2350
+ return message;
2351
+ }
2352
+ internalBinaryWrite(message, writer, options) {
2353
+ /* repeated int32 path = 1 [packed = true]; */
2354
+ if (message.path.length) {
2355
+ writer.tag(1, runtime_1.WireType.LengthDelimited).fork();
2356
+ for (let i = 0; i < message.path.length; i++)
2357
+ writer.int32(message.path[i]);
2358
+ writer.join();
2359
+ }
2360
+ /* optional string source_file = 2; */
2361
+ if (message.sourceFile !== undefined)
2362
+ writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.sourceFile);
2363
+ /* optional int32 begin = 3; */
2364
+ if (message.begin !== undefined)
2365
+ writer.tag(3, runtime_1.WireType.Varint).int32(message.begin);
2366
+ /* optional int32 end = 4; */
2367
+ if (message.end !== undefined)
2368
+ writer.tag(4, runtime_1.WireType.Varint).int32(message.end);
2369
+ /* optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; */
2370
+ if (message.semantic !== undefined)
2371
+ writer.tag(5, runtime_1.WireType.Varint).int32(message.semantic);
2372
+ let u = options.writeUnknownFields;
2373
+ if (u !== false)
2374
+ (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2375
+ return writer;
2376
+ }
2377
+ }
2378
+ /**
2379
+ * @generated MessageType for protobuf message google.protobuf.GeneratedCodeInfo.Annotation
2380
+ */
2381
+ exports.GeneratedCodeInfo_Annotation = new GeneratedCodeInfo_Annotation$Type();