@milaboratories/pl-client 2.16.8 → 2.16.10

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 (253) hide show
  1. package/dist/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.cjs +2 -2
  2. package/dist/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.cjs.map +1 -1
  3. package/dist/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.js +2 -2
  4. package/dist/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.js.map +1 -1
  5. package/dist/core/abstract_stream.d.ts +18 -0
  6. package/dist/core/abstract_stream.d.ts.map +1 -0
  7. package/dist/core/client.cjs +6 -6
  8. package/dist/core/client.cjs.map +1 -1
  9. package/dist/core/client.d.ts +3 -3
  10. package/dist/core/client.d.ts.map +1 -1
  11. package/dist/core/client.js +6 -6
  12. package/dist/core/client.js.map +1 -1
  13. package/dist/core/config.cjs +3 -0
  14. package/dist/core/config.cjs.map +1 -1
  15. package/dist/core/config.d.ts +4 -0
  16. package/dist/core/config.d.ts.map +1 -1
  17. package/dist/core/config.js +3 -1
  18. package/dist/core/config.js.map +1 -1
  19. package/dist/core/driver.cjs +11 -0
  20. package/dist/core/driver.cjs.map +1 -1
  21. package/dist/core/driver.d.ts +8 -2
  22. package/dist/core/driver.d.ts.map +1 -1
  23. package/dist/core/driver.js +11 -1
  24. package/dist/core/driver.js.map +1 -1
  25. package/dist/core/errors.cjs +9 -0
  26. package/dist/core/errors.cjs.map +1 -1
  27. package/dist/core/errors.d.ts +1 -1
  28. package/dist/core/errors.d.ts.map +1 -1
  29. package/dist/core/errors.js +9 -0
  30. package/dist/core/errors.js.map +1 -1
  31. package/dist/core/ll_client.cjs +194 -39
  32. package/dist/core/ll_client.cjs.map +1 -1
  33. package/dist/core/ll_client.d.ts +36 -15
  34. package/dist/core/ll_client.d.ts.map +1 -1
  35. package/dist/core/ll_client.js +195 -40
  36. package/dist/core/ll_client.js.map +1 -1
  37. package/dist/core/ll_transaction.cjs.map +1 -1
  38. package/dist/core/ll_transaction.d.ts +3 -3
  39. package/dist/core/ll_transaction.d.ts.map +1 -1
  40. package/dist/core/ll_transaction.js.map +1 -1
  41. package/dist/core/transaction.cjs +2 -2
  42. package/dist/core/transaction.cjs.map +1 -1
  43. package/dist/core/transaction.js +2 -2
  44. package/dist/core/transaction.js.map +1 -1
  45. package/dist/core/type_conversion.cjs +2 -2
  46. package/dist/core/type_conversion.cjs.map +1 -1
  47. package/dist/core/type_conversion.d.ts +2 -2
  48. package/dist/core/type_conversion.d.ts.map +1 -1
  49. package/dist/core/type_conversion.js +2 -2
  50. package/dist/core/type_conversion.js.map +1 -1
  51. package/dist/core/unauth_client.cjs +4 -8
  52. package/dist/core/unauth_client.cjs.map +1 -1
  53. package/dist/core/unauth_client.d.ts +1 -1
  54. package/dist/core/unauth_client.d.ts.map +1 -1
  55. package/dist/core/unauth_client.js +4 -8
  56. package/dist/core/unauth_client.js.map +1 -1
  57. package/dist/core/wire.d.ts +34 -0
  58. package/dist/core/wire.d.ts.map +1 -0
  59. package/dist/index.cjs +4 -0
  60. package/dist/index.cjs.map +1 -1
  61. package/dist/index.d.ts +2 -1
  62. package/dist/index.d.ts.map +1 -1
  63. package/dist/index.js +4 -2
  64. package/dist/index.js.map +1 -1
  65. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -0
  66. package/dist/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.d.ts +4 -2
  67. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
  68. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -0
  69. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +25 -25
  70. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -0
  71. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -0
  72. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
  73. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -0
  74. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -0
  75. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.js +25 -25
  76. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -0
  77. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -0
  78. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -0
  79. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -0
  80. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -0
  81. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -0
  82. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -0
  83. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -0
  84. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -0
  85. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -0
  86. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -0
  87. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts +73 -0
  88. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts.map +1 -0
  89. package/dist/{proto → proto-grpc}/google/api/http.d.ts +28 -32
  90. package/dist/proto-grpc/google/api/http.d.ts.map +1 -0
  91. package/dist/proto-grpc/google/protobuf/any.cjs.map +1 -0
  92. package/dist/proto-grpc/google/protobuf/any.d.ts.map +1 -0
  93. package/dist/proto-grpc/google/protobuf/any.js.map +1 -0
  94. package/dist/{proto → proto-grpc}/google/protobuf/descriptor.d.ts +6 -152
  95. package/dist/proto-grpc/google/protobuf/descriptor.d.ts.map +1 -0
  96. package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -0
  97. package/dist/proto-grpc/google/protobuf/duration.d.ts.map +1 -0
  98. package/dist/proto-grpc/google/protobuf/duration.js.map +1 -0
  99. package/dist/proto-grpc/google/protobuf/empty.d.ts.map +1 -0
  100. package/dist/proto-grpc/google/protobuf/struct.d.ts.map +1 -0
  101. package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -0
  102. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -0
  103. package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -0
  104. package/dist/{proto → proto-grpc}/google/protobuf/wrappers.d.ts +0 -27
  105. package/dist/proto-grpc/google/protobuf/wrappers.d.ts.map +1 -0
  106. package/dist/proto-grpc/google/rpc/code.cjs +240 -0
  107. package/dist/proto-grpc/google/rpc/code.cjs.map +1 -0
  108. package/dist/proto-grpc/google/rpc/code.d.ts +219 -0
  109. package/dist/proto-grpc/google/rpc/code.d.ts.map +1 -0
  110. package/dist/proto-grpc/google/rpc/code.js +240 -0
  111. package/dist/proto-grpc/google/rpc/code.js.map +1 -0
  112. package/dist/proto-grpc/google/rpc/error_details.d.ts +654 -0
  113. package/dist/proto-grpc/google/rpc/error_details.d.ts.map +1 -0
  114. package/dist/proto-grpc/google/rpc/http.d.ts +121 -0
  115. package/dist/proto-grpc/google/rpc/http.d.ts.map +1 -0
  116. package/dist/proto-grpc/google/rpc/status.d.ts +55 -0
  117. package/dist/proto-grpc/google/rpc/status.d.ts.map +1 -0
  118. package/dist/proto-rest/index.cjs +64 -0
  119. package/dist/proto-rest/index.cjs.map +1 -0
  120. package/dist/proto-rest/index.d.ts +23 -0
  121. package/dist/proto-rest/index.d.ts.map +1 -0
  122. package/dist/proto-rest/index.js +61 -0
  123. package/dist/proto-rest/index.js.map +1 -0
  124. package/dist/proto-rest/plapi.d.ts +1488 -0
  125. package/dist/proto-rest/plapi.d.ts.map +1 -0
  126. package/package.json +8 -5
  127. package/src/core/abstract_stream.ts +25 -0
  128. package/src/core/client.ts +8 -8
  129. package/src/core/config.ts +9 -0
  130. package/src/core/driver.ts +13 -2
  131. package/src/core/errors.ts +7 -1
  132. package/src/core/ll_client.test.ts +1 -1
  133. package/src/core/ll_client.ts +212 -42
  134. package/src/core/ll_transaction.test.ts +1 -1
  135. package/src/core/ll_transaction.ts +4 -4
  136. package/src/core/transaction.ts +1 -1
  137. package/src/core/type_conversion.ts +3 -3
  138. package/src/core/unauth_client.test.ts +6 -0
  139. package/src/core/unauth_client.ts +8 -12
  140. package/src/core/wire.ts +40 -0
  141. package/src/index.ts +3 -1
  142. package/src/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.ts +5 -3
  143. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.ts +25 -25
  144. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.ts +209 -0
  145. package/src/{proto → proto-grpc}/google/api/http.ts +29 -33
  146. package/src/{proto → proto-grpc}/google/protobuf/descriptor.ts +11 -221
  147. package/src/{proto → proto-grpc}/google/protobuf/wrappers.ts +4 -38
  148. package/src/proto-grpc/google/rpc/code.ts +236 -0
  149. package/src/proto-grpc/google/rpc/error_details.ts +1386 -0
  150. package/src/proto-grpc/google/rpc/http.ts +307 -0
  151. package/src/proto-grpc/google/rpc/status.ts +127 -0
  152. package/src/proto-rest/index.ts +83 -0
  153. package/src/proto-rest/plapi.ts +1488 -0
  154. package/dist/core/grpc.d.ts +0 -16
  155. package/dist/core/grpc.d.ts.map +0 -1
  156. package/dist/core/http.d.ts +0 -2
  157. package/dist/core/http.d.ts.map +0 -1
  158. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.cjs.map +0 -1
  159. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +0 -1
  160. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.js.map +0 -1
  161. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +0 -40
  162. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +0 -1
  163. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +0 -116
  164. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +0 -1
  165. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +0 -46
  166. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +0 -1
  167. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +0 -170
  168. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +0 -1
  169. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +0 -51
  170. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +0 -1
  171. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +0 -176
  172. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +0 -1
  173. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +0 -131
  174. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +0 -1
  175. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +0 -320
  176. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +0 -1
  177. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +0 -1
  178. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +0 -1
  179. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +0 -1
  180. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +0 -1
  181. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +0 -1
  182. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +0 -1
  183. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +0 -1
  184. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +0 -1
  185. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +0 -1
  186. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +0 -1
  187. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +0 -1
  188. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +0 -1
  189. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +0 -1
  190. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +0 -1
  191. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +0 -1
  192. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +0 -1
  193. package/dist/proto/google/api/http.d.ts.map +0 -1
  194. package/dist/proto/google/protobuf/any.cjs.map +0 -1
  195. package/dist/proto/google/protobuf/any.d.ts.map +0 -1
  196. package/dist/proto/google/protobuf/any.js.map +0 -1
  197. package/dist/proto/google/protobuf/descriptor.d.ts.map +0 -1
  198. package/dist/proto/google/protobuf/duration.cjs.map +0 -1
  199. package/dist/proto/google/protobuf/duration.d.ts.map +0 -1
  200. package/dist/proto/google/protobuf/duration.js.map +0 -1
  201. package/dist/proto/google/protobuf/empty.d.ts.map +0 -1
  202. package/dist/proto/google/protobuf/struct.d.ts.map +0 -1
  203. package/dist/proto/google/protobuf/timestamp.cjs.map +0 -1
  204. package/dist/proto/google/protobuf/timestamp.d.ts.map +0 -1
  205. package/dist/proto/google/protobuf/timestamp.js.map +0 -1
  206. package/dist/proto/google/protobuf/wrappers.d.ts.map +0 -1
  207. package/src/core/grpc.ts +0 -17
  208. package/src/core/http.ts +0 -178
  209. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +0 -45
  210. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +0 -313
  211. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +0 -51
  212. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +0 -406
  213. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +0 -59
  214. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +0 -489
  215. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +0 -148
  216. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +0 -719
  217. /package/dist/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.cjs +0 -0
  218. /package/dist/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.js +0 -0
  219. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +0 -0
  220. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +0 -0
  221. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +0 -0
  222. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +0 -0
  223. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs +0 -0
  224. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +0 -0
  225. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.js +0 -0
  226. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs +0 -0
  227. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +0 -0
  228. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.js +0 -0
  229. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +0 -0
  230. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs +0 -0
  231. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +0 -0
  232. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js +0 -0
  233. /package/dist/{proto → proto-grpc}/google/protobuf/any.cjs +0 -0
  234. /package/dist/{proto → proto-grpc}/google/protobuf/any.d.ts +0 -0
  235. /package/dist/{proto → proto-grpc}/google/protobuf/any.js +0 -0
  236. /package/dist/{proto → proto-grpc}/google/protobuf/duration.cjs +0 -0
  237. /package/dist/{proto → proto-grpc}/google/protobuf/duration.d.ts +0 -0
  238. /package/dist/{proto → proto-grpc}/google/protobuf/duration.js +0 -0
  239. /package/dist/{proto → proto-grpc}/google/protobuf/empty.d.ts +0 -0
  240. /package/dist/{proto → proto-grpc}/google/protobuf/struct.d.ts +0 -0
  241. /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.cjs +0 -0
  242. /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.d.ts +0 -0
  243. /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.js +0 -0
  244. /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +0 -0
  245. /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +0 -0
  246. /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +0 -0
  247. /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/import.ts +0 -0
  248. /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +0 -0
  249. /package/src/{proto → proto-grpc}/google/protobuf/any.ts +0 -0
  250. /package/src/{proto → proto-grpc}/google/protobuf/duration.ts +0 -0
  251. /package/src/{proto → proto-grpc}/google/protobuf/empty.ts +0 -0
  252. /package/src/{proto → proto-grpc}/google/protobuf/struct.ts +0 -0
  253. /package/src/{proto → proto-grpc}/google/protobuf/timestamp.ts +0 -0
@@ -95,13 +95,6 @@ export interface FileDescriptorProto {
95
95
  * @generated from protobuf field: repeated int32 weak_dependency = 11
96
96
  */
97
97
  weakDependency: number[];
98
- /**
99
- * Names of files imported by this file purely for the purpose of providing
100
- * option extensions. These are excluded from the dependency list above.
101
- *
102
- * @generated from protobuf field: repeated string option_dependency = 15
103
- */
104
- optionDependency: string[];
105
98
  /**
106
99
  * All top-level definitions in this file.
107
100
  *
@@ -138,18 +131,12 @@ export interface FileDescriptorProto {
138
131
  * The supported values are "proto2", "proto3", and "editions".
139
132
  *
140
133
  * If `edition` is present, this value must be "editions".
141
- * WARNING: This field should only be used by protobuf plugins or special
142
- * cases like the proto compiler. Other uses are discouraged and
143
- * developers should rely on the protoreflect APIs for their client language.
144
134
  *
145
135
  * @generated from protobuf field: optional string syntax = 12
146
136
  */
147
137
  syntax?: string;
148
138
  /**
149
139
  * The edition of the proto file.
150
- * WARNING: This field should only be used by protobuf plugins or special
151
- * cases like the proto compiler. Other uses are discouraged and
152
- * developers should rely on the protoreflect APIs for their client language.
153
140
  *
154
141
  * @generated from protobuf field: optional google.protobuf.Edition edition = 14
155
142
  */
@@ -204,12 +191,6 @@ export interface DescriptorProto {
204
191
  * @generated from protobuf field: repeated string reserved_name = 10
205
192
  */
206
193
  reservedName: string[];
207
- /**
208
- * Support for `export` and `local` keywords on enums.
209
- *
210
- * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 11
211
- */
212
- visibility?: SymbolVisibility;
213
194
  }
214
195
  /**
215
196
  * @generated from protobuf message google.protobuf.DescriptorProto.ExtensionRange
@@ -613,12 +594,6 @@ export interface EnumDescriptorProto {
613
594
  * @generated from protobuf field: repeated string reserved_name = 5
614
595
  */
615
596
  reservedName: string[];
616
- /**
617
- * Support for `export` and `local` keywords on enums.
618
- *
619
- * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 6
620
- */
621
- visibility?: SymbolVisibility;
622
597
  }
623
598
  /**
624
599
  * Range of reserved numeric values. Reserved values may not be used by
@@ -912,9 +887,6 @@ export interface FileOptions {
912
887
  rubyPackage?: string;
913
888
  /**
914
889
  * Any features defined in the specific edition.
915
- * WARNING: This field should only be used by protobuf plugins or special
916
- * cases like the proto compiler. Other uses are discouraged and
917
- * developers should rely on the protoreflect APIs for their client language.
918
890
  *
919
891
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50
920
892
  */
@@ -1046,9 +1018,6 @@ export interface MessageOptions {
1046
1018
  deprecatedLegacyJsonFieldConflicts?: boolean;
1047
1019
  /**
1048
1020
  * Any features defined in the specific edition.
1049
- * WARNING: This field should only be used by protobuf plugins or special
1050
- * cases like the proto compiler. Other uses are discouraged and
1051
- * developers should rely on the protoreflect APIs for their client language.
1052
1021
  *
1053
1022
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 12
1054
1023
  */
@@ -1149,11 +1118,9 @@ export interface FieldOptions {
1149
1118
  */
1150
1119
  deprecated?: boolean;
1151
1120
  /**
1152
- * DEPRECATED. DO NOT USE!
1153
1121
  * For Google-internal migration only. Do not use.
1154
1122
  *
1155
- * @deprecated
1156
- * @generated from protobuf field: optional bool weak = 10 [default = false, deprecated = true]
1123
+ * @generated from protobuf field: optional bool weak = 10 [default = false]
1157
1124
  */
1158
1125
  weak?: boolean;
1159
1126
  /**
@@ -1177,9 +1144,6 @@ export interface FieldOptions {
1177
1144
  editionDefaults: FieldOptions_EditionDefault[];
1178
1145
  /**
1179
1146
  * Any features defined in the specific edition.
1180
- * WARNING: This field should only be used by protobuf plugins or special
1181
- * cases like the proto compiler. Other uses are discouraged and
1182
- * developers should rely on the protoreflect APIs for their client language.
1183
1147
  *
1184
1148
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 21
1185
1149
  */
@@ -1296,6 +1260,8 @@ export enum FieldOptions_JSType {
1296
1260
  }
1297
1261
  /**
1298
1262
  * If set to RETENTION_SOURCE, the option will be omitted from the binary.
1263
+ * Note: as of January 2023, support for this is in progress and does not yet
1264
+ * have an effect (b/264593489).
1299
1265
  *
1300
1266
  * @generated from protobuf enum google.protobuf.FieldOptions.OptionRetention
1301
1267
  */
@@ -1316,7 +1282,8 @@ export enum FieldOptions_OptionRetention {
1316
1282
  /**
1317
1283
  * This indicates the types of entities that the field may apply to when used
1318
1284
  * as an option. If it is unset, then the field may be freely used as an
1319
- * option on any kind of entity.
1285
+ * option on any kind of entity. Note: as of January 2023, support for this is
1286
+ * in progress and does not yet have an effect (b/264593489).
1320
1287
  *
1321
1288
  * @generated from protobuf enum google.protobuf.FieldOptions.OptionTargetType
1322
1289
  */
@@ -1368,9 +1335,6 @@ export enum FieldOptions_OptionTargetType {
1368
1335
  export interface OneofOptions {
1369
1336
  /**
1370
1337
  * Any features defined in the specific edition.
1371
- * WARNING: This field should only be used by protobuf plugins or special
1372
- * cases like the proto compiler. Other uses are discouraged and
1373
- * developers should rely on the protoreflect APIs for their client language.
1374
1338
  *
1375
1339
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 1
1376
1340
  */
@@ -1416,9 +1380,6 @@ export interface EnumOptions {
1416
1380
  deprecatedLegacyJsonFieldConflicts?: boolean;
1417
1381
  /**
1418
1382
  * Any features defined in the specific edition.
1419
- * WARNING: This field should only be used by protobuf plugins or special
1420
- * cases like the proto compiler. Other uses are discouraged and
1421
- * developers should rely on the protoreflect APIs for their client language.
1422
1383
  *
1423
1384
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 7
1424
1385
  */
@@ -1445,9 +1406,6 @@ export interface EnumValueOptions {
1445
1406
  deprecated?: boolean;
1446
1407
  /**
1447
1408
  * Any features defined in the specific edition.
1448
- * WARNING: This field should only be used by protobuf plugins or special
1449
- * cases like the proto compiler. Other uses are discouraged and
1450
- * developers should rely on the protoreflect APIs for their client language.
1451
1409
  *
1452
1410
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 2
1453
1411
  */
@@ -1479,9 +1437,6 @@ export interface EnumValueOptions {
1479
1437
  export interface ServiceOptions {
1480
1438
  /**
1481
1439
  * Any features defined in the specific edition.
1482
- * WARNING: This field should only be used by protobuf plugins or special
1483
- * cases like the proto compiler. Other uses are discouraged and
1484
- * developers should rely on the protoreflect APIs for their client language.
1485
1440
  *
1486
1441
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 34
1487
1442
  */
@@ -1531,9 +1486,6 @@ export interface MethodOptions {
1531
1486
  idempotencyLevel?: MethodOptions_IdempotencyLevel;
1532
1487
  /**
1533
1488
  * Any features defined in the specific edition.
1534
- * WARNING: This field should only be used by protobuf plugins or special
1535
- * cases like the proto compiler. Other uses are discouraged and
1536
- * developers should rely on the protoreflect APIs for their client language.
1537
1489
  *
1538
1490
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 35
1539
1491
  */
@@ -1670,54 +1622,6 @@ export interface FeatureSet {
1670
1622
  * @generated from protobuf field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6
1671
1623
  */
1672
1624
  jsonFormat?: FeatureSet_JsonFormat;
1673
- /**
1674
- * @generated from protobuf field: optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7
1675
- */
1676
- enforceNamingStyle?: FeatureSet_EnforceNamingStyle;
1677
- /**
1678
- * @generated from protobuf field: optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8
1679
- */
1680
- defaultSymbolVisibility?: FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
1681
- }
1682
- /**
1683
- * @generated from protobuf message google.protobuf.FeatureSet.VisibilityFeature
1684
- */
1685
- export interface FeatureSet_VisibilityFeature {
1686
- }
1687
- /**
1688
- * @generated from protobuf enum google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
1689
- */
1690
- export enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility {
1691
- /**
1692
- * @generated from protobuf enum value: DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
1693
- */
1694
- DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
1695
- /**
1696
- * Default pre-EDITION_2024, all UNSET visibility are export.
1697
- *
1698
- * @generated from protobuf enum value: EXPORT_ALL = 1;
1699
- */
1700
- EXPORT_ALL = 1,
1701
- /**
1702
- * All top-level symbols default to export, nested default to local.
1703
- *
1704
- * @generated from protobuf enum value: EXPORT_TOP_LEVEL = 2;
1705
- */
1706
- EXPORT_TOP_LEVEL = 2,
1707
- /**
1708
- * All symbols default to local.
1709
- *
1710
- * @generated from protobuf enum value: LOCAL_ALL = 3;
1711
- */
1712
- LOCAL_ALL = 3,
1713
- /**
1714
- * All symbols local by default. Nested types cannot be exported.
1715
- * With special case caveat for message { enum {} reserved 1 to max; }
1716
- * This is the recommended setting for new protos.
1717
- *
1718
- * @generated from protobuf enum value: STRICT = 4;
1719
- */
1720
- STRICT = 4
1721
1625
  }
1722
1626
  /**
1723
1627
  * @generated from protobuf enum google.protobuf.FeatureSet.FieldPresence
@@ -1825,23 +1729,6 @@ export enum FeatureSet_JsonFormat {
1825
1729
  */
1826
1730
  LEGACY_BEST_EFFORT = 2
1827
1731
  }
1828
- /**
1829
- * @generated from protobuf enum google.protobuf.FeatureSet.EnforceNamingStyle
1830
- */
1831
- export enum FeatureSet_EnforceNamingStyle {
1832
- /**
1833
- * @generated from protobuf enum value: ENFORCE_NAMING_STYLE_UNKNOWN = 0;
1834
- */
1835
- ENFORCE_NAMING_STYLE_UNKNOWN = 0,
1836
- /**
1837
- * @generated from protobuf enum value: STYLE2024 = 1;
1838
- */
1839
- STYLE2024 = 1,
1840
- /**
1841
- * @generated from protobuf enum value: STYLE_LEGACY = 2;
1842
- */
1843
- STYLE_LEGACY = 2
1844
- }
1845
1732
  /**
1846
1733
  * A compiled specification for the defaults of a set of features. These
1847
1734
  * messages are generated from FeatureSet extensions and can be used to seed
@@ -2183,7 +2070,7 @@ export enum Edition {
2183
2070
  EDITION_2024 = 1001,
2184
2071
  /**
2185
2072
  * Placeholder editions for testing feature resolution. These should not be
2186
- * used or relied on outside of tests.
2073
+ * used or relyed on outside of tests.
2187
2074
  *
2188
2075
  * @generated from protobuf enum value: EDITION_1_TEST_ONLY = 1;
2189
2076
  */
@@ -2213,29 +2100,6 @@ export enum Edition {
2213
2100
  */
2214
2101
  EDITION_MAX = 2147483647
2215
2102
  }
2216
- /**
2217
- * Describes the 'visibility' of a symbol with respect to the proto import
2218
- * system. Symbols can only be imported when the visibility rules do not prevent
2219
- * it (ex: local symbols cannot be imported). Visibility modifiers can only set
2220
- * on `message` and `enum` as they are the only types available to be referenced
2221
- * from other files.
2222
- *
2223
- * @generated from protobuf enum google.protobuf.SymbolVisibility
2224
- */
2225
- export enum SymbolVisibility {
2226
- /**
2227
- * @generated from protobuf enum value: VISIBILITY_UNSET = 0;
2228
- */
2229
- VISIBILITY_UNSET = 0,
2230
- /**
2231
- * @generated from protobuf enum value: VISIBILITY_LOCAL = 1;
2232
- */
2233
- VISIBILITY_LOCAL = 1,
2234
- /**
2235
- * @generated from protobuf enum value: VISIBILITY_EXPORT = 2;
2236
- */
2237
- VISIBILITY_EXPORT = 2
2238
- }
2239
2103
  // @generated message type with reflection information, may provide speed optimized methods
2240
2104
  class FileDescriptorSet$Type extends MessageType<FileDescriptorSet> {
2241
2105
  constructor() {
@@ -2292,7 +2156,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2292
2156
  { no: 3, name: "dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2293
2157
  { no: 10, name: "public_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
2294
2158
  { no: 11, name: "weak_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
2295
- { no: 15, name: "option_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2296
2159
  { no: 4, name: "message_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto },
2297
2160
  { no: 5, name: "enum_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto },
2298
2161
  { no: 6, name: "service", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ServiceDescriptorProto },
@@ -2308,7 +2171,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2308
2171
  message.dependency = [];
2309
2172
  message.publicDependency = [];
2310
2173
  message.weakDependency = [];
2311
- message.optionDependency = [];
2312
2174
  message.messageType = [];
2313
2175
  message.enumType = [];
2314
2176
  message.service = [];
@@ -2345,9 +2207,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2345
2207
  else
2346
2208
  message.weakDependency.push(reader.int32());
2347
2209
  break;
2348
- case /* repeated string option_dependency */ 15:
2349
- message.optionDependency.push(reader.string());
2350
- break;
2351
2210
  case /* repeated google.protobuf.DescriptorProto message_type */ 4:
2352
2211
  message.messageType.push(DescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
2353
2212
  break;
@@ -2423,9 +2282,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2423
2282
  /* optional google.protobuf.Edition edition = 14; */
2424
2283
  if (message.edition !== undefined)
2425
2284
  writer.tag(14, WireType.Varint).int32(message.edition);
2426
- /* repeated string option_dependency = 15; */
2427
- for (let i = 0; i < message.optionDependency.length; i++)
2428
- writer.tag(15, WireType.LengthDelimited).string(message.optionDependency[i]);
2429
2285
  let u = options.writeUnknownFields;
2430
2286
  if (u !== false)
2431
2287
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2449,8 +2305,7 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2449
2305
  { no: 8, name: "oneof_decl", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OneofDescriptorProto },
2450
2306
  { no: 7, name: "options", kind: "message", T: () => MessageOptions },
2451
2307
  { no: 9, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto_ReservedRange },
2452
- { no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2453
- { no: 11, name: "visibility", kind: "enum", opt: true, T: () => ["google.protobuf.SymbolVisibility", SymbolVisibility] }
2308
+ { no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
2454
2309
  ]);
2455
2310
  }
2456
2311
  create(value?: PartialMessage<DescriptorProto>): DescriptorProto {
@@ -2502,9 +2357,6 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2502
2357
  case /* repeated string reserved_name */ 10:
2503
2358
  message.reservedName.push(reader.string());
2504
2359
  break;
2505
- case /* optional google.protobuf.SymbolVisibility visibility */ 11:
2506
- message.visibility = reader.int32();
2507
- break;
2508
2360
  default:
2509
2361
  let u = options.readUnknownField;
2510
2362
  if (u === "throw")
@@ -2547,9 +2399,6 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2547
2399
  /* repeated string reserved_name = 10; */
2548
2400
  for (let i = 0; i < message.reservedName.length; i++)
2549
2401
  writer.tag(10, WireType.LengthDelimited).string(message.reservedName[i]);
2550
- /* optional google.protobuf.SymbolVisibility visibility = 11; */
2551
- if (message.visibility !== undefined)
2552
- writer.tag(11, WireType.Varint).int32(message.visibility);
2553
2402
  let u = options.writeUnknownFields;
2554
2403
  if (u !== false)
2555
2404
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2993,8 +2842,7 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
2993
2842
  { no: 2, name: "value", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumValueDescriptorProto },
2994
2843
  { no: 3, name: "options", kind: "message", T: () => EnumOptions },
2995
2844
  { no: 4, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto_EnumReservedRange },
2996
- { no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2997
- { no: 6, name: "visibility", kind: "enum", opt: true, T: () => ["google.protobuf.SymbolVisibility", SymbolVisibility] }
2845
+ { no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
2998
2846
  ]);
2999
2847
  }
3000
2848
  create(value?: PartialMessage<EnumDescriptorProto>): EnumDescriptorProto {
@@ -3026,9 +2874,6 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
3026
2874
  case /* repeated string reserved_name */ 5:
3027
2875
  message.reservedName.push(reader.string());
3028
2876
  break;
3029
- case /* optional google.protobuf.SymbolVisibility visibility */ 6:
3030
- message.visibility = reader.int32();
3031
- break;
3032
2877
  default:
3033
2878
  let u = options.readUnknownField;
3034
2879
  if (u === "throw")
@@ -3056,9 +2901,6 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
3056
2901
  /* repeated string reserved_name = 5; */
3057
2902
  for (let i = 0; i < message.reservedName.length; i++)
3058
2903
  writer.tag(5, WireType.LengthDelimited).string(message.reservedName[i]);
3059
- /* optional google.protobuf.SymbolVisibility visibility = 6; */
3060
- if (message.visibility !== undefined)
3061
- writer.tag(6, WireType.Varint).int32(message.visibility);
3062
2904
  let u = options.writeUnknownFields;
3063
2905
  if (u !== false)
3064
2906
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3652,7 +3494,7 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
3652
3494
  case /* optional bool deprecated = 3 [default = false] */ 3:
3653
3495
  message.deprecated = reader.bool();
3654
3496
  break;
3655
- case /* optional bool weak = 10 [default = false, deprecated = true] */ 10:
3497
+ case /* optional bool weak = 10 [default = false] */ 10:
3656
3498
  message.weak = reader.bool();
3657
3499
  break;
3658
3500
  case /* optional bool debug_redact = 16 [default = false] */ 16:
@@ -3707,7 +3549,7 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
3707
3549
  /* optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; */
3708
3550
  if (message.jstype !== undefined)
3709
3551
  writer.tag(6, WireType.Varint).int32(message.jstype);
3710
- /* optional bool weak = 10 [default = false, deprecated = true]; */
3552
+ /* optional bool weak = 10 [default = false]; */
3711
3553
  if (message.weak !== undefined)
3712
3554
  writer.tag(10, WireType.Varint).bool(message.weak);
3713
3555
  /* optional bool unverified_lazy = 15 [default = false]; */
@@ -4350,9 +4192,7 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4350
4192
  { no: 3, name: "repeated_field_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.RepeatedFieldEncoding", FeatureSet_RepeatedFieldEncoding] },
4351
4193
  { no: 4, name: "utf8_validation", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.Utf8Validation", FeatureSet_Utf8Validation] },
4352
4194
  { no: 5, name: "message_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.MessageEncoding", FeatureSet_MessageEncoding] },
4353
- { no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] },
4354
- { no: 7, name: "enforce_naming_style", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.EnforceNamingStyle", FeatureSet_EnforceNamingStyle] },
4355
- { no: 8, name: "default_symbol_visibility", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility", FeatureSet_VisibilityFeature_DefaultSymbolVisibility] }
4195
+ { no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] }
4356
4196
  ]);
4357
4197
  }
4358
4198
  create(value?: PartialMessage<FeatureSet>): FeatureSet {
@@ -4384,12 +4224,6 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4384
4224
  case /* optional google.protobuf.FeatureSet.JsonFormat json_format */ 6:
4385
4225
  message.jsonFormat = reader.int32();
4386
4226
  break;
4387
- case /* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style */ 7:
4388
- message.enforceNamingStyle = reader.int32();
4389
- break;
4390
- case /* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility */ 8:
4391
- message.defaultSymbolVisibility = reader.int32();
4392
- break;
4393
4227
  default:
4394
4228
  let u = options.readUnknownField;
4395
4229
  if (u === "throw")
@@ -4420,12 +4254,6 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4420
4254
  /* optional google.protobuf.FeatureSet.JsonFormat json_format = 6; */
4421
4255
  if (message.jsonFormat !== undefined)
4422
4256
  writer.tag(6, WireType.Varint).int32(message.jsonFormat);
4423
- /* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7; */
4424
- if (message.enforceNamingStyle !== undefined)
4425
- writer.tag(7, WireType.Varint).int32(message.enforceNamingStyle);
4426
- /* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8; */
4427
- if (message.defaultSymbolVisibility !== undefined)
4428
- writer.tag(8, WireType.Varint).int32(message.defaultSymbolVisibility);
4429
4257
  let u = options.writeUnknownFields;
4430
4258
  if (u !== false)
4431
4259
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4437,44 +4265,6 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4437
4265
  */
4438
4266
  export const FeatureSet = new FeatureSet$Type();
4439
4267
  // @generated message type with reflection information, may provide speed optimized methods
4440
- class FeatureSet_VisibilityFeature$Type extends MessageType<FeatureSet_VisibilityFeature> {
4441
- constructor() {
4442
- super("google.protobuf.FeatureSet.VisibilityFeature", []);
4443
- }
4444
- create(value?: PartialMessage<FeatureSet_VisibilityFeature>): FeatureSet_VisibilityFeature {
4445
- const message = globalThis.Object.create((this.messagePrototype!));
4446
- if (value !== undefined)
4447
- reflectionMergePartial<FeatureSet_VisibilityFeature>(this, message, value);
4448
- return message;
4449
- }
4450
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSet_VisibilityFeature): FeatureSet_VisibilityFeature {
4451
- let message = target ?? this.create(), end = reader.pos + length;
4452
- while (reader.pos < end) {
4453
- let [fieldNo, wireType] = reader.tag();
4454
- switch (fieldNo) {
4455
- default:
4456
- let u = options.readUnknownField;
4457
- if (u === "throw")
4458
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4459
- let d = reader.skip(wireType);
4460
- if (u !== false)
4461
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4462
- }
4463
- }
4464
- return message;
4465
- }
4466
- internalBinaryWrite(message: FeatureSet_VisibilityFeature, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4467
- let u = options.writeUnknownFields;
4468
- if (u !== false)
4469
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4470
- return writer;
4471
- }
4472
- }
4473
- /**
4474
- * @generated MessageType for protobuf message google.protobuf.FeatureSet.VisibilityFeature
4475
- */
4476
- export const FeatureSet_VisibilityFeature = new FeatureSet_VisibilityFeature$Type();
4477
- // @generated message type with reflection information, may provide speed optimized methods
4478
4268
  class FeatureSetDefaults$Type extends MessageType<FeatureSetDefaults> {
4479
4269
  constructor() {
4480
4270
  super("google.protobuf.FeatureSetDefaults", [
@@ -32,17 +32,10 @@
32
32
  // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33
33
  // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
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.
35
+ // Wrappers for primitive (non-message) types. These types are useful
36
+ // for embedding primitives in the `google.protobuf.Any` type and for places
37
+ // where we need to distinguish between the absence of a primitive
38
+ // typed field and its default value.
46
39
  //
47
40
  // These wrappers have no meaningful use within repeated fields as they lack
48
41
  // the ability to detect presence on individual elements.
@@ -68,9 +61,6 @@ import { MessageType } from "@protobuf-ts/runtime";
68
61
  *
69
62
  * The JSON representation for `DoubleValue` is JSON number.
70
63
  *
71
- * Not recommended for use in new APIs, but still useful for legacy APIs and
72
- * has no plan to be removed.
73
- *
74
64
  * @generated from protobuf message google.protobuf.DoubleValue
75
65
  */
76
66
  export interface DoubleValue {
@@ -86,9 +76,6 @@ export interface DoubleValue {
86
76
  *
87
77
  * The JSON representation for `FloatValue` is JSON number.
88
78
  *
89
- * Not recommended for use in new APIs, but still useful for legacy APIs and
90
- * has no plan to be removed.
91
- *
92
79
  * @generated from protobuf message google.protobuf.FloatValue
93
80
  */
94
81
  export interface FloatValue {
@@ -104,9 +91,6 @@ export interface FloatValue {
104
91
  *
105
92
  * The JSON representation for `Int64Value` is JSON string.
106
93
  *
107
- * Not recommended for use in new APIs, but still useful for legacy APIs and
108
- * has no plan to be removed.
109
- *
110
94
  * @generated from protobuf message google.protobuf.Int64Value
111
95
  */
112
96
  export interface Int64Value {
@@ -122,9 +106,6 @@ export interface Int64Value {
122
106
  *
123
107
  * The JSON representation for `UInt64Value` is JSON string.
124
108
  *
125
- * Not recommended for use in new APIs, but still useful for legacy APIs and
126
- * has no plan to be removed.
127
- *
128
109
  * @generated from protobuf message google.protobuf.UInt64Value
129
110
  */
130
111
  export interface UInt64Value {
@@ -140,9 +121,6 @@ export interface UInt64Value {
140
121
  *
141
122
  * The JSON representation for `Int32Value` is JSON number.
142
123
  *
143
- * Not recommended for use in new APIs, but still useful for legacy APIs and
144
- * has no plan to be removed.
145
- *
146
124
  * @generated from protobuf message google.protobuf.Int32Value
147
125
  */
148
126
  export interface Int32Value {
@@ -158,9 +136,6 @@ export interface Int32Value {
158
136
  *
159
137
  * The JSON representation for `UInt32Value` is JSON number.
160
138
  *
161
- * Not recommended for use in new APIs, but still useful for legacy APIs and
162
- * has no plan to be removed.
163
- *
164
139
  * @generated from protobuf message google.protobuf.UInt32Value
165
140
  */
166
141
  export interface UInt32Value {
@@ -176,9 +151,6 @@ export interface UInt32Value {
176
151
  *
177
152
  * The JSON representation for `BoolValue` is JSON `true` and `false`.
178
153
  *
179
- * Not recommended for use in new APIs, but still useful for legacy APIs and
180
- * has no plan to be removed.
181
- *
182
154
  * @generated from protobuf message google.protobuf.BoolValue
183
155
  */
184
156
  export interface BoolValue {
@@ -194,9 +166,6 @@ export interface BoolValue {
194
166
  *
195
167
  * The JSON representation for `StringValue` is JSON string.
196
168
  *
197
- * Not recommended for use in new APIs, but still useful for legacy APIs and
198
- * has no plan to be removed.
199
- *
200
169
  * @generated from protobuf message google.protobuf.StringValue
201
170
  */
202
171
  export interface StringValue {
@@ -212,9 +181,6 @@ export interface StringValue {
212
181
  *
213
182
  * The JSON representation for `BytesValue` is JSON string.
214
183
  *
215
- * Not recommended for use in new APIs, but still useful for legacy APIs and
216
- * has no plan to be removed.
217
- *
218
184
  * @generated from protobuf message google.protobuf.BytesValue
219
185
  */
220
186
  export interface BytesValue {