@milaboratories/pl-drivers 1.11.19 → 1.11.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/dist/clients/constructors.cjs +5 -5
  2. package/dist/clients/constructors.cjs.map +1 -1
  3. package/dist/clients/constructors.js +5 -5
  4. package/dist/clients/constructors.js.map +1 -1
  5. package/dist/clients/download.cjs +29 -5
  6. package/dist/clients/download.cjs.map +1 -1
  7. package/dist/clients/download.d.ts +5 -4
  8. package/dist/clients/download.d.ts.map +1 -1
  9. package/dist/clients/download.js +30 -6
  10. package/dist/clients/download.js.map +1 -1
  11. package/dist/clients/logs.cjs +57 -16
  12. package/dist/clients/logs.cjs.map +1 -1
  13. package/dist/clients/logs.d.ts +6 -5
  14. package/dist/clients/logs.d.ts.map +1 -1
  15. package/dist/clients/logs.js +58 -17
  16. package/dist/clients/logs.js.map +1 -1
  17. package/dist/clients/ls_api.cjs +44 -8
  18. package/dist/clients/ls_api.cjs.map +1 -1
  19. package/dist/clients/ls_api.d.ts +4 -4
  20. package/dist/clients/ls_api.d.ts.map +1 -1
  21. package/dist/clients/ls_api.js +45 -9
  22. package/dist/clients/ls_api.js.map +1 -1
  23. package/dist/clients/progress.cjs +32 -29
  24. package/dist/clients/progress.cjs.map +1 -1
  25. package/dist/clients/progress.d.ts +5 -5
  26. package/dist/clients/progress.d.ts.map +1 -1
  27. package/dist/clients/progress.js +33 -30
  28. package/dist/clients/progress.js.map +1 -1
  29. package/dist/clients/upload.cjs +96 -30
  30. package/dist/clients/upload.cjs.map +1 -1
  31. package/dist/clients/upload.d.ts +8 -11
  32. package/dist/clients/upload.d.ts.map +1 -1
  33. package/dist/clients/upload.js +97 -31
  34. package/dist/clients/upload.js.map +1 -1
  35. package/dist/drivers/download_blob/download_blob.cjs +2 -2
  36. package/dist/drivers/download_blob/download_blob.cjs.map +1 -1
  37. package/dist/drivers/download_blob/download_blob.js +1 -1
  38. package/dist/drivers/download_blob/download_blob.js.map +1 -1
  39. package/dist/drivers/download_blob/download_blob_task.cjs +5 -5
  40. package/dist/drivers/download_blob/download_blob_task.cjs.map +1 -1
  41. package/dist/drivers/download_blob/download_blob_task.js +2 -2
  42. package/dist/drivers/download_blob/download_blob_task.js.map +1 -1
  43. package/dist/drivers/download_blob_url/task.cjs +5 -5
  44. package/dist/drivers/download_blob_url/task.cjs.map +1 -1
  45. package/dist/drivers/download_blob_url/task.js +2 -2
  46. package/dist/drivers/download_blob_url/task.js.map +1 -1
  47. package/dist/drivers/download_url/task.cjs +2 -2
  48. package/dist/drivers/download_url/task.cjs.map +1 -1
  49. package/dist/drivers/download_url/task.js +2 -2
  50. package/dist/drivers/download_url/task.js.map +1 -1
  51. package/dist/drivers/logs_stream.cjs.map +1 -1
  52. package/dist/drivers/logs_stream.js.map +1 -1
  53. package/dist/helpers/download.cjs +5 -24
  54. package/dist/helpers/download.cjs.map +1 -1
  55. package/dist/helpers/download.d.ts +0 -13
  56. package/dist/helpers/download.d.ts.map +1 -1
  57. package/dist/helpers/download.js +5 -21
  58. package/dist/helpers/download.js.map +1 -1
  59. package/dist/helpers/download_errors.cjs +43 -0
  60. package/dist/helpers/download_errors.cjs.map +1 -0
  61. package/dist/helpers/download_errors.d.ts +23 -0
  62. package/dist/helpers/download_errors.d.ts.map +1 -0
  63. package/dist/helpers/download_errors.js +36 -0
  64. package/dist/helpers/download_errors.js.map +1 -0
  65. package/dist/index.cjs +7 -0
  66. package/dist/index.cjs.map +1 -1
  67. package/dist/index.d.ts +1 -0
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +1 -0
  70. package/dist/index.js.map +1 -1
  71. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs +2 -2
  72. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs.map +1 -0
  73. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs.map +1 -0
  74. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -0
  75. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js.map +1 -0
  76. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -0
  77. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js +2 -2
  78. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js.map +1 -0
  79. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs +2 -2
  80. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs.map +1 -0
  81. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs.map +1 -0
  82. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -0
  83. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js.map +1 -0
  84. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -0
  85. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js +2 -2
  86. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js.map +1 -0
  87. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs +3 -3
  88. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs.map +1 -0
  89. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs.map +1 -0
  90. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -0
  91. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js.map +1 -0
  92. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -0
  93. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js +3 -3
  94. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js.map +1 -0
  95. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs +6 -6
  96. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs.map +1 -0
  97. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs.map +1 -0
  98. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -0
  99. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js.map +1 -0
  100. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -0
  101. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js +6 -6
  102. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js.map +1 -0
  103. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs +84 -84
  104. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs.map +1 -0
  105. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs.map +1 -0
  106. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts +16 -16
  107. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts.map +1 -0
  108. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js.map +1 -0
  109. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts +118 -118
  110. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts.map +1 -0
  111. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js +76 -76
  112. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js.map +1 -0
  113. package/dist/proto-grpc/google/api/http.d.ts.map +1 -0
  114. package/dist/{proto → proto-grpc}/google/protobuf/descriptor.d.ts +5 -149
  115. package/dist/proto-grpc/google/protobuf/descriptor.d.ts.map +1 -0
  116. package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -0
  117. package/dist/proto-grpc/google/protobuf/duration.d.ts.map +1 -0
  118. package/dist/proto-grpc/google/protobuf/duration.js.map +1 -0
  119. package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -0
  120. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -0
  121. package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -0
  122. package/dist/proto-rest/downloadapi.d.ts +105 -0
  123. package/dist/proto-rest/downloadapi.d.ts.map +1 -0
  124. package/dist/proto-rest/index.d.ts +17 -0
  125. package/dist/proto-rest/index.d.ts.map +1 -0
  126. package/dist/proto-rest/lsapi.d.ts +148 -0
  127. package/dist/proto-rest/lsapi.d.ts.map +1 -0
  128. package/dist/proto-rest/progressapi.d.ts +159 -0
  129. package/dist/proto-rest/progressapi.d.ts.map +1 -0
  130. package/dist/proto-rest/streamingapi.d.ts +469 -0
  131. package/dist/proto-rest/streamingapi.d.ts.map +1 -0
  132. package/dist/proto-rest/uploadapi.d.ts +355 -0
  133. package/dist/proto-rest/uploadapi.d.ts.map +1 -0
  134. package/package.json +12 -8
  135. package/src/clients/constructors.ts +11 -11
  136. package/src/clients/download.ts +34 -11
  137. package/src/clients/logs.ts +69 -21
  138. package/src/clients/ls_api.ts +58 -14
  139. package/src/clients/progress.ts +41 -44
  140. package/src/clients/upload.ts +117 -53
  141. package/src/drivers/download_blob/download_blob.ts +1 -1
  142. package/src/drivers/download_blob/download_blob_task.ts +2 -2
  143. package/src/drivers/download_blob_url/task.ts +2 -2
  144. package/src/drivers/download_url/task.ts +2 -2
  145. package/src/drivers/logs_stream.ts +1 -1
  146. package/src/drivers/upload.test.ts +6 -25
  147. package/src/helpers/download.ts +4 -26
  148. package/src/helpers/download_errors.ts +40 -0
  149. package/src/index.ts +1 -0
  150. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +1 -1
  151. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +2 -2
  152. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +1 -1
  153. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +2 -2
  154. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +1 -1
  155. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +3 -3
  156. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +1 -1
  157. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +6 -6
  158. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts +21 -21
  159. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts +159 -159
  160. package/src/{proto → proto-grpc}/google/api/http.ts +1 -1
  161. package/src/{proto → proto-grpc}/google/protobuf/descriptor.ts +9 -217
  162. package/src/{proto → proto-grpc}/google/protobuf/duration.ts +1 -1
  163. package/src/{proto → proto-grpc}/google/protobuf/timestamp.ts +1 -1
  164. package/src/proto-rest/downloadapi.ts +105 -0
  165. package/src/proto-rest/index.ts +28 -0
  166. package/src/proto-rest/lsapi.ts +148 -0
  167. package/src/proto-rest/progressapi.ts +159 -0
  168. package/src/proto-rest/streamingapi.ts +469 -0
  169. package/src/proto-rest/uploadapi.ts +355 -0
  170. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +0 -53
  171. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +0 -1
  172. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs.map +0 -1
  173. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs.map +0 -1
  174. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +0 -1
  175. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js.map +0 -1
  176. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +0 -1
  177. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js.map +0 -1
  178. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs.map +0 -1
  179. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs.map +0 -1
  180. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +0 -1
  181. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js.map +0 -1
  182. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +0 -1
  183. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js.map +0 -1
  184. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs.map +0 -1
  185. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs.map +0 -1
  186. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +0 -1
  187. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js.map +0 -1
  188. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +0 -1
  189. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js.map +0 -1
  190. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs.map +0 -1
  191. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs.map +0 -1
  192. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +0 -1
  193. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js.map +0 -1
  194. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +0 -1
  195. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js.map +0 -1
  196. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs.map +0 -1
  197. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs.map +0 -1
  198. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts.map +0 -1
  199. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js.map +0 -1
  200. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts.map +0 -1
  201. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js.map +0 -1
  202. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +0 -329
  203. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +0 -1
  204. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +0 -5358
  205. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +0 -1
  206. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +0 -537
  207. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +0 -1
  208. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +0 -87
  209. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +0 -1
  210. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +0 -106
  211. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +0 -1
  212. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +0 -256
  213. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +0 -1
  214. package/dist/proto/google/api/http.d.ts.map +0 -1
  215. package/dist/proto/google/protobuf/any.d.ts +0 -181
  216. package/dist/proto/google/protobuf/any.d.ts.map +0 -1
  217. package/dist/proto/google/protobuf/descriptor.d.ts.map +0 -1
  218. package/dist/proto/google/protobuf/duration.cjs.map +0 -1
  219. package/dist/proto/google/protobuf/duration.d.ts.map +0 -1
  220. package/dist/proto/google/protobuf/duration.js.map +0 -1
  221. package/dist/proto/google/protobuf/empty.d.ts +0 -32
  222. package/dist/proto/google/protobuf/empty.d.ts.map +0 -1
  223. package/dist/proto/google/protobuf/struct.d.ts +0 -187
  224. package/dist/proto/google/protobuf/struct.d.ts.map +0 -1
  225. package/dist/proto/google/protobuf/timestamp.cjs.map +0 -1
  226. package/dist/proto/google/protobuf/timestamp.d.ts.map +0 -1
  227. package/dist/proto/google/protobuf/timestamp.js.map +0 -1
  228. package/dist/proto/google/protobuf/wrappers.d.ts +0 -335
  229. package/dist/proto/google/protobuf/wrappers.d.ts.map +0 -1
  230. package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +0 -125
  231. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +0 -406
  232. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +0 -14986
  233. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +0 -1474
  234. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +0 -181
  235. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +0 -251
  236. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +0 -693
  237. package/src/proto/google/protobuf/any.ts +0 -326
  238. package/src/proto/google/protobuf/empty.ts +0 -94
  239. package/src/proto/google/protobuf/struct.ts +0 -484
  240. package/src/proto/google/protobuf/wrappers.ts +0 -785
  241. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs +0 -0
  242. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +0 -0
  243. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js +0 -0
  244. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +0 -0
  245. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs +0 -0
  246. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +0 -0
  247. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js +0 -0
  248. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +0 -0
  249. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs +0 -0
  250. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +0 -0
  251. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js +0 -0
  252. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +0 -0
  253. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs +0 -0
  254. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +0 -0
  255. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js +0 -0
  256. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +0 -0
  257. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs +0 -0
  258. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js +0 -0
  259. /package/dist/{proto → proto-grpc}/google/api/http.d.ts +0 -0
  260. /package/dist/{proto → proto-grpc}/google/protobuf/duration.cjs +0 -0
  261. /package/dist/{proto → proto-grpc}/google/protobuf/duration.d.ts +0 -0
  262. /package/dist/{proto → proto-grpc}/google/protobuf/duration.js +0 -0
  263. /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.cjs +0 -0
  264. /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.d.ts +0 -0
  265. /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.js +0 -0
@@ -1,785 +0,0 @@
1
- // @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
- // @generated from protobuf file "google/protobuf/wrappers.proto" (package "google.protobuf", syntax proto3)
3
- // tslint:disable
4
- //
5
- // Protocol Buffers - Google's data interchange format
6
- // Copyright 2008 Google Inc. All rights reserved.
7
- // https://developers.google.com/protocol-buffers/
8
- //
9
- // Redistribution and use in source and binary forms, with or without
10
- // modification, are permitted provided that the following conditions are
11
- // met:
12
- //
13
- // * Redistributions of source code must retain the above copyright
14
- // notice, this list of conditions and the following disclaimer.
15
- // * Redistributions in binary form must reproduce the above
16
- // copyright notice, this list of conditions and the following disclaimer
17
- // in the documentation and/or other materials provided with the
18
- // distribution.
19
- // * Neither the name of Google Inc. nor the names of its
20
- // contributors may be used to endorse or promote products derived from
21
- // this software without specific prior written permission.
22
- //
23
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
- //
35
- // Wrappers for primitive (non-message) types. These types were needed
36
- // for legacy reasons and are not recommended for use in new APIs.
37
- //
38
- // Historically these wrappers were useful to have presence on proto3 primitive
39
- // fields, but proto3 syntax has been updated to support the `optional` keyword.
40
- // Using that keyword is now the strongly preferred way to add presence to
41
- // proto3 primitive fields.
42
- //
43
- // A secondary usecase was to embed primitives in the `google.protobuf.Any`
44
- // type: it is now recommended that you embed your value in your own wrapper
45
- // message which can be specifically documented.
46
- //
47
- // These wrappers have no meaningful use within repeated fields as they lack
48
- // the ability to detect presence on individual elements.
49
- // These wrappers have no meaningful use within a map or a oneof since
50
- // individual entries of a map or fields of a oneof can already detect presence.
51
- //
52
- import { ScalarType } from "@protobuf-ts/runtime";
53
- import { LongType } from "@protobuf-ts/runtime";
54
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
55
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
56
- import { WireType } from "@protobuf-ts/runtime";
57
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
58
- import type { IBinaryReader } from "@protobuf-ts/runtime";
59
- import { UnknownFieldHandler } from "@protobuf-ts/runtime";
60
- import type { PartialMessage } from "@protobuf-ts/runtime";
61
- import { reflectionMergePartial } from "@protobuf-ts/runtime";
62
- import type { JsonValue } from "@protobuf-ts/runtime";
63
- import type { JsonReadOptions } from "@protobuf-ts/runtime";
64
- import type { JsonWriteOptions } from "@protobuf-ts/runtime";
65
- import { MessageType } from "@protobuf-ts/runtime";
66
- /**
67
- * Wrapper message for `double`.
68
- *
69
- * The JSON representation for `DoubleValue` is JSON number.
70
- *
71
- * Not recommended for use in new APIs, but still useful for legacy APIs and
72
- * has no plan to be removed.
73
- *
74
- * @generated from protobuf message google.protobuf.DoubleValue
75
- */
76
- export interface DoubleValue {
77
- /**
78
- * The double value.
79
- *
80
- * @generated from protobuf field: double value = 1
81
- */
82
- value: number;
83
- }
84
- /**
85
- * Wrapper message for `float`.
86
- *
87
- * The JSON representation for `FloatValue` is JSON number.
88
- *
89
- * Not recommended for use in new APIs, but still useful for legacy APIs and
90
- * has no plan to be removed.
91
- *
92
- * @generated from protobuf message google.protobuf.FloatValue
93
- */
94
- export interface FloatValue {
95
- /**
96
- * The float value.
97
- *
98
- * @generated from protobuf field: float value = 1
99
- */
100
- value: number;
101
- }
102
- /**
103
- * Wrapper message for `int64`.
104
- *
105
- * The JSON representation for `Int64Value` is JSON string.
106
- *
107
- * Not recommended for use in new APIs, but still useful for legacy APIs and
108
- * has no plan to be removed.
109
- *
110
- * @generated from protobuf message google.protobuf.Int64Value
111
- */
112
- export interface Int64Value {
113
- /**
114
- * The int64 value.
115
- *
116
- * @generated from protobuf field: int64 value = 1
117
- */
118
- value: bigint;
119
- }
120
- /**
121
- * Wrapper message for `uint64`.
122
- *
123
- * The JSON representation for `UInt64Value` is JSON string.
124
- *
125
- * Not recommended for use in new APIs, but still useful for legacy APIs and
126
- * has no plan to be removed.
127
- *
128
- * @generated from protobuf message google.protobuf.UInt64Value
129
- */
130
- export interface UInt64Value {
131
- /**
132
- * The uint64 value.
133
- *
134
- * @generated from protobuf field: uint64 value = 1
135
- */
136
- value: bigint;
137
- }
138
- /**
139
- * Wrapper message for `int32`.
140
- *
141
- * The JSON representation for `Int32Value` is JSON number.
142
- *
143
- * Not recommended for use in new APIs, but still useful for legacy APIs and
144
- * has no plan to be removed.
145
- *
146
- * @generated from protobuf message google.protobuf.Int32Value
147
- */
148
- export interface Int32Value {
149
- /**
150
- * The int32 value.
151
- *
152
- * @generated from protobuf field: int32 value = 1
153
- */
154
- value: number;
155
- }
156
- /**
157
- * Wrapper message for `uint32`.
158
- *
159
- * The JSON representation for `UInt32Value` is JSON number.
160
- *
161
- * Not recommended for use in new APIs, but still useful for legacy APIs and
162
- * has no plan to be removed.
163
- *
164
- * @generated from protobuf message google.protobuf.UInt32Value
165
- */
166
- export interface UInt32Value {
167
- /**
168
- * The uint32 value.
169
- *
170
- * @generated from protobuf field: uint32 value = 1
171
- */
172
- value: number;
173
- }
174
- /**
175
- * Wrapper message for `bool`.
176
- *
177
- * The JSON representation for `BoolValue` is JSON `true` and `false`.
178
- *
179
- * Not recommended for use in new APIs, but still useful for legacy APIs and
180
- * has no plan to be removed.
181
- *
182
- * @generated from protobuf message google.protobuf.BoolValue
183
- */
184
- export interface BoolValue {
185
- /**
186
- * The bool value.
187
- *
188
- * @generated from protobuf field: bool value = 1
189
- */
190
- value: boolean;
191
- }
192
- /**
193
- * Wrapper message for `string`.
194
- *
195
- * The JSON representation for `StringValue` is JSON string.
196
- *
197
- * Not recommended for use in new APIs, but still useful for legacy APIs and
198
- * has no plan to be removed.
199
- *
200
- * @generated from protobuf message google.protobuf.StringValue
201
- */
202
- export interface StringValue {
203
- /**
204
- * The string value.
205
- *
206
- * @generated from protobuf field: string value = 1
207
- */
208
- value: string;
209
- }
210
- /**
211
- * Wrapper message for `bytes`.
212
- *
213
- * The JSON representation for `BytesValue` is JSON string.
214
- *
215
- * Not recommended for use in new APIs, but still useful for legacy APIs and
216
- * has no plan to be removed.
217
- *
218
- * @generated from protobuf message google.protobuf.BytesValue
219
- */
220
- export interface BytesValue {
221
- /**
222
- * The bytes value.
223
- *
224
- * @generated from protobuf field: bytes value = 1
225
- */
226
- value: Uint8Array;
227
- }
228
- // @generated message type with reflection information, may provide speed optimized methods
229
- class DoubleValue$Type extends MessageType<DoubleValue> {
230
- constructor() {
231
- super("google.protobuf.DoubleValue", [
232
- { no: 1, name: "value", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ }
233
- ]);
234
- }
235
- /**
236
- * Encode `DoubleValue` to JSON number.
237
- */
238
- internalJsonWrite(message: DoubleValue, options: JsonWriteOptions): JsonValue {
239
- return this.refJsonWriter.scalar(2, message.value, "value", false, true);
240
- }
241
- /**
242
- * Decode `DoubleValue` from JSON number.
243
- */
244
- internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: DoubleValue): DoubleValue {
245
- if (!target)
246
- target = this.create();
247
- target.value = this.refJsonReader.scalar(json, 1, undefined, "value") as number;
248
- return target;
249
- }
250
- create(value?: PartialMessage<DoubleValue>): DoubleValue {
251
- const message = globalThis.Object.create((this.messagePrototype!));
252
- message.value = 0;
253
- if (value !== undefined)
254
- reflectionMergePartial<DoubleValue>(this, message, value);
255
- return message;
256
- }
257
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DoubleValue): DoubleValue {
258
- let message = target ?? this.create(), end = reader.pos + length;
259
- while (reader.pos < end) {
260
- let [fieldNo, wireType] = reader.tag();
261
- switch (fieldNo) {
262
- case /* double value */ 1:
263
- message.value = reader.double();
264
- break;
265
- default:
266
- let u = options.readUnknownField;
267
- if (u === "throw")
268
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
269
- let d = reader.skip(wireType);
270
- if (u !== false)
271
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
272
- }
273
- }
274
- return message;
275
- }
276
- internalBinaryWrite(message: DoubleValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
277
- /* double value = 1; */
278
- if (message.value !== 0)
279
- writer.tag(1, WireType.Bit64).double(message.value);
280
- let u = options.writeUnknownFields;
281
- if (u !== false)
282
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
283
- return writer;
284
- }
285
- }
286
- /**
287
- * @generated MessageType for protobuf message google.protobuf.DoubleValue
288
- */
289
- export const DoubleValue = new DoubleValue$Type();
290
- // @generated message type with reflection information, may provide speed optimized methods
291
- class FloatValue$Type extends MessageType<FloatValue> {
292
- constructor() {
293
- super("google.protobuf.FloatValue", [
294
- { no: 1, name: "value", kind: "scalar", T: 2 /*ScalarType.FLOAT*/ }
295
- ]);
296
- }
297
- /**
298
- * Encode `FloatValue` to JSON number.
299
- */
300
- internalJsonWrite(message: FloatValue, options: JsonWriteOptions): JsonValue {
301
- return this.refJsonWriter.scalar(1, message.value, "value", false, true);
302
- }
303
- /**
304
- * Decode `FloatValue` from JSON number.
305
- */
306
- internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: FloatValue): FloatValue {
307
- if (!target)
308
- target = this.create();
309
- target.value = this.refJsonReader.scalar(json, 1, undefined, "value") as number;
310
- return target;
311
- }
312
- create(value?: PartialMessage<FloatValue>): FloatValue {
313
- const message = globalThis.Object.create((this.messagePrototype!));
314
- message.value = 0;
315
- if (value !== undefined)
316
- reflectionMergePartial<FloatValue>(this, message, value);
317
- return message;
318
- }
319
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FloatValue): FloatValue {
320
- let message = target ?? this.create(), end = reader.pos + length;
321
- while (reader.pos < end) {
322
- let [fieldNo, wireType] = reader.tag();
323
- switch (fieldNo) {
324
- case /* float value */ 1:
325
- message.value = reader.float();
326
- break;
327
- default:
328
- let u = options.readUnknownField;
329
- if (u === "throw")
330
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
331
- let d = reader.skip(wireType);
332
- if (u !== false)
333
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
334
- }
335
- }
336
- return message;
337
- }
338
- internalBinaryWrite(message: FloatValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
339
- /* float value = 1; */
340
- if (message.value !== 0)
341
- writer.tag(1, WireType.Bit32).float(message.value);
342
- let u = options.writeUnknownFields;
343
- if (u !== false)
344
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
345
- return writer;
346
- }
347
- }
348
- /**
349
- * @generated MessageType for protobuf message google.protobuf.FloatValue
350
- */
351
- export const FloatValue = new FloatValue$Type();
352
- // @generated message type with reflection information, may provide speed optimized methods
353
- class Int64Value$Type extends MessageType<Int64Value> {
354
- constructor() {
355
- super("google.protobuf.Int64Value", [
356
- { no: 1, name: "value", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
357
- ]);
358
- }
359
- /**
360
- * Encode `Int64Value` to JSON string.
361
- */
362
- internalJsonWrite(message: Int64Value, options: JsonWriteOptions): JsonValue {
363
- return this.refJsonWriter.scalar(ScalarType.INT64, message.value, "value", false, true);
364
- }
365
- /**
366
- * Decode `Int64Value` from JSON string.
367
- */
368
- internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Int64Value): Int64Value {
369
- if (!target)
370
- target = this.create();
371
- target.value = this.refJsonReader.scalar(json, ScalarType.INT64, LongType.BIGINT, "value") as any;
372
- return target;
373
- }
374
- create(value?: PartialMessage<Int64Value>): Int64Value {
375
- const message = globalThis.Object.create((this.messagePrototype!));
376
- message.value = 0n;
377
- if (value !== undefined)
378
- reflectionMergePartial<Int64Value>(this, message, value);
379
- return message;
380
- }
381
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Int64Value): Int64Value {
382
- let message = target ?? this.create(), end = reader.pos + length;
383
- while (reader.pos < end) {
384
- let [fieldNo, wireType] = reader.tag();
385
- switch (fieldNo) {
386
- case /* int64 value */ 1:
387
- message.value = reader.int64().toBigInt();
388
- break;
389
- default:
390
- let u = options.readUnknownField;
391
- if (u === "throw")
392
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
393
- let d = reader.skip(wireType);
394
- if (u !== false)
395
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
396
- }
397
- }
398
- return message;
399
- }
400
- internalBinaryWrite(message: Int64Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
401
- /* int64 value = 1; */
402
- if (message.value !== 0n)
403
- writer.tag(1, WireType.Varint).int64(message.value);
404
- let u = options.writeUnknownFields;
405
- if (u !== false)
406
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
407
- return writer;
408
- }
409
- }
410
- /**
411
- * @generated MessageType for protobuf message google.protobuf.Int64Value
412
- */
413
- export const Int64Value = new Int64Value$Type();
414
- // @generated message type with reflection information, may provide speed optimized methods
415
- class UInt64Value$Type extends MessageType<UInt64Value> {
416
- constructor() {
417
- super("google.protobuf.UInt64Value", [
418
- { no: 1, name: "value", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
419
- ]);
420
- }
421
- /**
422
- * Encode `UInt64Value` to JSON string.
423
- */
424
- internalJsonWrite(message: UInt64Value, options: JsonWriteOptions): JsonValue {
425
- return this.refJsonWriter.scalar(ScalarType.UINT64, message.value, "value", false, true);
426
- }
427
- /**
428
- * Decode `UInt64Value` from JSON string.
429
- */
430
- internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: UInt64Value): UInt64Value {
431
- if (!target)
432
- target = this.create();
433
- target.value = this.refJsonReader.scalar(json, ScalarType.UINT64, LongType.BIGINT, "value") as any;
434
- return target;
435
- }
436
- create(value?: PartialMessage<UInt64Value>): UInt64Value {
437
- const message = globalThis.Object.create((this.messagePrototype!));
438
- message.value = 0n;
439
- if (value !== undefined)
440
- reflectionMergePartial<UInt64Value>(this, message, value);
441
- return message;
442
- }
443
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UInt64Value): UInt64Value {
444
- let message = target ?? this.create(), end = reader.pos + length;
445
- while (reader.pos < end) {
446
- let [fieldNo, wireType] = reader.tag();
447
- switch (fieldNo) {
448
- case /* uint64 value */ 1:
449
- message.value = reader.uint64().toBigInt();
450
- break;
451
- default:
452
- let u = options.readUnknownField;
453
- if (u === "throw")
454
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
455
- let d = reader.skip(wireType);
456
- if (u !== false)
457
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
458
- }
459
- }
460
- return message;
461
- }
462
- internalBinaryWrite(message: UInt64Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
463
- /* uint64 value = 1; */
464
- if (message.value !== 0n)
465
- writer.tag(1, WireType.Varint).uint64(message.value);
466
- let u = options.writeUnknownFields;
467
- if (u !== false)
468
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
469
- return writer;
470
- }
471
- }
472
- /**
473
- * @generated MessageType for protobuf message google.protobuf.UInt64Value
474
- */
475
- export const UInt64Value = new UInt64Value$Type();
476
- // @generated message type with reflection information, may provide speed optimized methods
477
- class Int32Value$Type extends MessageType<Int32Value> {
478
- constructor() {
479
- super("google.protobuf.Int32Value", [
480
- { no: 1, name: "value", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
481
- ]);
482
- }
483
- /**
484
- * Encode `Int32Value` to JSON string.
485
- */
486
- internalJsonWrite(message: Int32Value, options: JsonWriteOptions): JsonValue {
487
- return this.refJsonWriter.scalar(5, message.value, "value", false, true);
488
- }
489
- /**
490
- * Decode `Int32Value` from JSON string.
491
- */
492
- internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Int32Value): Int32Value {
493
- if (!target)
494
- target = this.create();
495
- target.value = this.refJsonReader.scalar(json, 5, undefined, "value") as number;
496
- return target;
497
- }
498
- create(value?: PartialMessage<Int32Value>): Int32Value {
499
- const message = globalThis.Object.create((this.messagePrototype!));
500
- message.value = 0;
501
- if (value !== undefined)
502
- reflectionMergePartial<Int32Value>(this, message, value);
503
- return message;
504
- }
505
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Int32Value): Int32Value {
506
- let message = target ?? this.create(), end = reader.pos + length;
507
- while (reader.pos < end) {
508
- let [fieldNo, wireType] = reader.tag();
509
- switch (fieldNo) {
510
- case /* int32 value */ 1:
511
- message.value = reader.int32();
512
- break;
513
- default:
514
- let u = options.readUnknownField;
515
- if (u === "throw")
516
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
517
- let d = reader.skip(wireType);
518
- if (u !== false)
519
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
520
- }
521
- }
522
- return message;
523
- }
524
- internalBinaryWrite(message: Int32Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
525
- /* int32 value = 1; */
526
- if (message.value !== 0)
527
- writer.tag(1, WireType.Varint).int32(message.value);
528
- let u = options.writeUnknownFields;
529
- if (u !== false)
530
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
531
- return writer;
532
- }
533
- }
534
- /**
535
- * @generated MessageType for protobuf message google.protobuf.Int32Value
536
- */
537
- export const Int32Value = new Int32Value$Type();
538
- // @generated message type with reflection information, may provide speed optimized methods
539
- class UInt32Value$Type extends MessageType<UInt32Value> {
540
- constructor() {
541
- super("google.protobuf.UInt32Value", [
542
- { no: 1, name: "value", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
543
- ]);
544
- }
545
- /**
546
- * Encode `UInt32Value` to JSON string.
547
- */
548
- internalJsonWrite(message: UInt32Value, options: JsonWriteOptions): JsonValue {
549
- return this.refJsonWriter.scalar(13, message.value, "value", false, true);
550
- }
551
- /**
552
- * Decode `UInt32Value` from JSON string.
553
- */
554
- internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: UInt32Value): UInt32Value {
555
- if (!target)
556
- target = this.create();
557
- target.value = this.refJsonReader.scalar(json, 13, undefined, "value") as number;
558
- return target;
559
- }
560
- create(value?: PartialMessage<UInt32Value>): UInt32Value {
561
- const message = globalThis.Object.create((this.messagePrototype!));
562
- message.value = 0;
563
- if (value !== undefined)
564
- reflectionMergePartial<UInt32Value>(this, message, value);
565
- return message;
566
- }
567
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UInt32Value): UInt32Value {
568
- let message = target ?? this.create(), end = reader.pos + length;
569
- while (reader.pos < end) {
570
- let [fieldNo, wireType] = reader.tag();
571
- switch (fieldNo) {
572
- case /* uint32 value */ 1:
573
- message.value = reader.uint32();
574
- break;
575
- default:
576
- let u = options.readUnknownField;
577
- if (u === "throw")
578
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
579
- let d = reader.skip(wireType);
580
- if (u !== false)
581
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
582
- }
583
- }
584
- return message;
585
- }
586
- internalBinaryWrite(message: UInt32Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
587
- /* uint32 value = 1; */
588
- if (message.value !== 0)
589
- writer.tag(1, WireType.Varint).uint32(message.value);
590
- let u = options.writeUnknownFields;
591
- if (u !== false)
592
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
593
- return writer;
594
- }
595
- }
596
- /**
597
- * @generated MessageType for protobuf message google.protobuf.UInt32Value
598
- */
599
- export const UInt32Value = new UInt32Value$Type();
600
- // @generated message type with reflection information, may provide speed optimized methods
601
- class BoolValue$Type extends MessageType<BoolValue> {
602
- constructor() {
603
- super("google.protobuf.BoolValue", [
604
- { no: 1, name: "value", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
605
- ]);
606
- }
607
- /**
608
- * Encode `BoolValue` to JSON bool.
609
- */
610
- internalJsonWrite(message: BoolValue, options: JsonWriteOptions): JsonValue {
611
- return message.value;
612
- }
613
- /**
614
- * Decode `BoolValue` from JSON bool.
615
- */
616
- internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: BoolValue): BoolValue {
617
- if (!target)
618
- target = this.create();
619
- target.value = this.refJsonReader.scalar(json, 8, undefined, "value") as boolean;
620
- return target;
621
- }
622
- create(value?: PartialMessage<BoolValue>): BoolValue {
623
- const message = globalThis.Object.create((this.messagePrototype!));
624
- message.value = false;
625
- if (value !== undefined)
626
- reflectionMergePartial<BoolValue>(this, message, value);
627
- return message;
628
- }
629
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BoolValue): BoolValue {
630
- let message = target ?? this.create(), end = reader.pos + length;
631
- while (reader.pos < end) {
632
- let [fieldNo, wireType] = reader.tag();
633
- switch (fieldNo) {
634
- case /* bool value */ 1:
635
- message.value = reader.bool();
636
- break;
637
- default:
638
- let u = options.readUnknownField;
639
- if (u === "throw")
640
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
641
- let d = reader.skip(wireType);
642
- if (u !== false)
643
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
644
- }
645
- }
646
- return message;
647
- }
648
- internalBinaryWrite(message: BoolValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
649
- /* bool value = 1; */
650
- if (message.value !== false)
651
- writer.tag(1, WireType.Varint).bool(message.value);
652
- let u = options.writeUnknownFields;
653
- if (u !== false)
654
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
655
- return writer;
656
- }
657
- }
658
- /**
659
- * @generated MessageType for protobuf message google.protobuf.BoolValue
660
- */
661
- export const BoolValue = new BoolValue$Type();
662
- // @generated message type with reflection information, may provide speed optimized methods
663
- class StringValue$Type extends MessageType<StringValue> {
664
- constructor() {
665
- super("google.protobuf.StringValue", [
666
- { no: 1, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
667
- ]);
668
- }
669
- /**
670
- * Encode `StringValue` to JSON string.
671
- */
672
- internalJsonWrite(message: StringValue, options: JsonWriteOptions): JsonValue {
673
- return message.value;
674
- }
675
- /**
676
- * Decode `StringValue` from JSON string.
677
- */
678
- internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: StringValue): StringValue {
679
- if (!target)
680
- target = this.create();
681
- target.value = this.refJsonReader.scalar(json, 9, undefined, "value") as string;
682
- return target;
683
- }
684
- create(value?: PartialMessage<StringValue>): StringValue {
685
- const message = globalThis.Object.create((this.messagePrototype!));
686
- message.value = "";
687
- if (value !== undefined)
688
- reflectionMergePartial<StringValue>(this, message, value);
689
- return message;
690
- }
691
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StringValue): StringValue {
692
- let message = target ?? this.create(), end = reader.pos + length;
693
- while (reader.pos < end) {
694
- let [fieldNo, wireType] = reader.tag();
695
- switch (fieldNo) {
696
- case /* string value */ 1:
697
- message.value = reader.string();
698
- break;
699
- default:
700
- let u = options.readUnknownField;
701
- if (u === "throw")
702
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
703
- let d = reader.skip(wireType);
704
- if (u !== false)
705
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
706
- }
707
- }
708
- return message;
709
- }
710
- internalBinaryWrite(message: StringValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
711
- /* string value = 1; */
712
- if (message.value !== "")
713
- writer.tag(1, WireType.LengthDelimited).string(message.value);
714
- let u = options.writeUnknownFields;
715
- if (u !== false)
716
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
717
- return writer;
718
- }
719
- }
720
- /**
721
- * @generated MessageType for protobuf message google.protobuf.StringValue
722
- */
723
- export const StringValue = new StringValue$Type();
724
- // @generated message type with reflection information, may provide speed optimized methods
725
- class BytesValue$Type extends MessageType<BytesValue> {
726
- constructor() {
727
- super("google.protobuf.BytesValue", [
728
- { no: 1, name: "value", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
729
- ]);
730
- }
731
- /**
732
- * Encode `BytesValue` to JSON string.
733
- */
734
- internalJsonWrite(message: BytesValue, options: JsonWriteOptions): JsonValue {
735
- return this.refJsonWriter.scalar(12, message.value, "value", false, true);
736
- }
737
- /**
738
- * Decode `BytesValue` from JSON string.
739
- */
740
- internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: BytesValue): BytesValue {
741
- if (!target)
742
- target = this.create();
743
- target.value = this.refJsonReader.scalar(json, 12, undefined, "value") as Uint8Array;
744
- return target;
745
- }
746
- create(value?: PartialMessage<BytesValue>): BytesValue {
747
- const message = globalThis.Object.create((this.messagePrototype!));
748
- message.value = new Uint8Array(0);
749
- if (value !== undefined)
750
- reflectionMergePartial<BytesValue>(this, message, value);
751
- return message;
752
- }
753
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BytesValue): BytesValue {
754
- let message = target ?? this.create(), end = reader.pos + length;
755
- while (reader.pos < end) {
756
- let [fieldNo, wireType] = reader.tag();
757
- switch (fieldNo) {
758
- case /* bytes value */ 1:
759
- message.value = reader.bytes();
760
- break;
761
- default:
762
- let u = options.readUnknownField;
763
- if (u === "throw")
764
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
765
- let d = reader.skip(wireType);
766
- if (u !== false)
767
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
768
- }
769
- }
770
- return message;
771
- }
772
- internalBinaryWrite(message: BytesValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
773
- /* bytes value = 1; */
774
- if (message.value.length)
775
- writer.tag(1, WireType.LengthDelimited).bytes(message.value);
776
- let u = options.writeUnknownFields;
777
- if (u !== false)
778
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
779
- return writer;
780
- }
781
- }
782
- /**
783
- * @generated MessageType for protobuf message google.protobuf.BytesValue
784
- */
785
- export const BytesValue = new BytesValue$Type();