@canton-network/core-ledger-proto 0.1.0

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 (218) hide show
  1. package/README.md +1 -0
  2. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +58 -0
  3. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +1 -0
  4. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +34 -0
  5. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +232 -0
  6. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +1 -0
  7. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +560 -0
  8. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +144 -0
  9. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +1 -0
  10. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +85 -0
  11. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +291 -0
  12. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +1 -0
  13. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +663 -0
  14. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +76 -0
  15. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +1 -0
  16. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +96 -0
  17. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +106 -0
  18. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +1 -0
  19. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +62 -0
  20. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +199 -0
  21. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +1 -0
  22. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +427 -0
  23. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +56 -0
  24. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +1 -0
  25. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +35 -0
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +81 -0
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +1 -0
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +135 -0
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +196 -0
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +1 -0
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +113 -0
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +413 -0
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +1 -0
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +867 -0
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +210 -0
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +1 -0
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +126 -0
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +758 -0
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +1 -0
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +1580 -0
  41. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +66 -0
  42. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +1 -0
  43. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +38 -0
  44. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +90 -0
  45. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +1 -0
  46. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +178 -0
  47. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +99 -0
  48. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +1 -0
  49. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +61 -0
  50. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +210 -0
  51. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +1 -0
  52. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +436 -0
  53. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +80 -0
  54. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +1 -0
  55. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +47 -0
  56. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +91 -0
  57. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +1 -0
  58. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +200 -0
  59. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +491 -0
  60. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +1 -0
  61. package/dist/_proto/com/daml/ledger/api/v2/commands.js +828 -0
  62. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +149 -0
  63. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +1 -0
  64. package/dist/_proto/com/daml/ledger/api/v2/completion.js +196 -0
  65. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +495 -0
  66. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +1 -0
  67. package/dist/_proto/com/daml/ledger/api/v2/event.js +723 -0
  68. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +52 -0
  69. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +1 -0
  70. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +31 -0
  71. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +150 -0
  72. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +1 -0
  73. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +291 -0
  74. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +96 -0
  75. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +1 -0
  76. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +225 -0
  77. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +43 -0
  78. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +1 -0
  79. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +85 -0
  80. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +100 -0
  81. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +1 -0
  82. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +59 -0
  83. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +877 -0
  84. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +1 -0
  85. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +1768 -0
  86. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +259 -0
  87. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +1 -0
  88. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +667 -0
  89. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +69 -0
  90. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +1 -0
  91. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +133 -0
  92. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +41 -0
  93. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +1 -0
  94. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +84 -0
  95. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +68 -0
  96. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +1 -0
  97. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +43 -0
  98. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +181 -0
  99. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +1 -0
  100. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +395 -0
  101. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +308 -0
  102. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +1 -0
  103. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +521 -0
  104. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +193 -0
  105. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +1 -0
  106. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +350 -0
  107. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +91 -0
  108. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +1 -0
  109. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +56 -0
  110. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +448 -0
  111. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +1 -0
  112. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +874 -0
  113. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +54 -0
  114. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +1 -0
  115. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +34 -0
  116. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +78 -0
  117. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +1 -0
  118. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +168 -0
  119. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +211 -0
  120. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +1 -0
  121. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +447 -0
  122. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +33 -0
  123. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +1 -0
  124. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +69 -0
  125. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +252 -0
  126. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +1 -0
  127. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +410 -0
  128. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +453 -0
  129. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +1 -0
  130. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +815 -0
  131. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +199 -0
  132. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +1 -0
  133. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +121 -0
  134. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +424 -0
  135. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +1 -0
  136. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +853 -0
  137. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +500 -0
  138. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +1 -0
  139. package/dist/_proto/com/daml/ledger/api/v2/value.js +937 -0
  140. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +40 -0
  141. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +1 -0
  142. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +25 -0
  143. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +190 -0
  144. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +1 -0
  145. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +400 -0
  146. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +1028 -0
  147. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +1 -0
  148. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +2110 -0
  149. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +30 -0
  150. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +1 -0
  151. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +62 -0
  152. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +168 -0
  153. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +1 -0
  154. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +395 -0
  155. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +1105 -0
  156. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +1 -0
  157. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +2294 -0
  158. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +278 -0
  159. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +1 -0
  160. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +654 -0
  161. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +166 -0
  162. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +1 -0
  163. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +379 -0
  164. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +199 -0
  165. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +1 -0
  166. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +136 -0
  167. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +1195 -0
  168. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +1 -0
  169. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +3342 -0
  170. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +119 -0
  171. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +1 -0
  172. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +76 -0
  173. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +607 -0
  174. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +1 -0
  175. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +1292 -0
  176. package/dist/_proto/google/protobuf/any.d.ts +177 -0
  177. package/dist/_proto/google/protobuf/any.d.ts.map +1 -0
  178. package/dist/_proto/google/protobuf/any.js +175 -0
  179. package/dist/_proto/google/protobuf/descriptor.d.ts +1638 -0
  180. package/dist/_proto/google/protobuf/descriptor.d.ts.map +1 -0
  181. package/dist/_proto/google/protobuf/descriptor.js +2999 -0
  182. package/dist/_proto/google/protobuf/duration.d.ts +114 -0
  183. package/dist/_proto/google/protobuf/duration.d.ts.map +1 -0
  184. package/dist/_proto/google/protobuf/duration.js +113 -0
  185. package/dist/_proto/google/protobuf/empty.d.ts +33 -0
  186. package/dist/_proto/google/protobuf/empty.d.ts.map +1 -0
  187. package/dist/_proto/google/protobuf/empty.js +41 -0
  188. package/dist/_proto/google/protobuf/field_mask.d.ts +240 -0
  189. package/dist/_proto/google/protobuf/field_mask.d.ts.map +1 -0
  190. package/dist/_proto/google/protobuf/field_mask.js +95 -0
  191. package/dist/_proto/google/protobuf/struct.d.ts +187 -0
  192. package/dist/_proto/google/protobuf/struct.d.ts.map +1 -0
  193. package/dist/_proto/google/protobuf/struct.js +417 -0
  194. package/dist/_proto/google/protobuf/timestamp.d.ts +159 -0
  195. package/dist/_proto/google/protobuf/timestamp.d.ts.map +1 -0
  196. package/dist/_proto/google/protobuf/timestamp.js +157 -0
  197. package/dist/_proto/google/rpc/code.d.ts +219 -0
  198. package/dist/_proto/google/rpc/code.d.ts.map +1 -0
  199. package/dist/_proto/google/rpc/code.js +237 -0
  200. package/dist/_proto/google/rpc/context/attribute_context.d.ts +594 -0
  201. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +1 -0
  202. package/dist/_proto/google/rpc/context/attribute_context.js +1007 -0
  203. package/dist/_proto/google/rpc/context/audit_context.d.ts +62 -0
  204. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +1 -0
  205. package/dist/_proto/google/rpc/context/audit_context.js +111 -0
  206. package/dist/_proto/google/rpc/error_details.d.ts +549 -0
  207. package/dist/_proto/google/rpc/error_details.d.ts.map +1 -0
  208. package/dist/_proto/google/rpc/error_details.js +918 -0
  209. package/dist/_proto/google/rpc/status.d.ts +55 -0
  210. package/dist/_proto/google/rpc/status.d.ts.map +1 -0
  211. package/dist/_proto/google/rpc/status.js +79 -0
  212. package/dist/_proto/scalapb/scalapb.d.ts +779 -0
  213. package/dist/_proto/scalapb/scalapb.d.ts.map +1 -0
  214. package/dist/_proto/scalapb/scalapb.js +1658 -0
  215. package/dist/index.d.ts +13 -0
  216. package/dist/index.d.ts.map +1 -0
  217. package/dist/index.js +12 -0
  218. package/package.json +29 -0
@@ -0,0 +1,237 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter generate_dependencies
2
+ // @generated from protobuf file "google/rpc/code.proto" (package "google.rpc", syntax proto3)
3
+ // tslint:disable
4
+ //
5
+ // Copyright 2024 Google LLC
6
+ //
7
+ // Licensed under the Apache License, Version 2.0 (the "License");
8
+ // you may not use this file except in compliance with the License.
9
+ // You may obtain a copy of the License at
10
+ //
11
+ // http://www.apache.org/licenses/LICENSE-2.0
12
+ //
13
+ // Unless required by applicable law or agreed to in writing, software
14
+ // distributed under the License is distributed on an "AS IS" BASIS,
15
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ // See the License for the specific language governing permissions and
17
+ // limitations under the License.
18
+ //
19
+ /**
20
+ * The canonical error codes for gRPC APIs.
21
+ *
22
+ *
23
+ * Sometimes multiple error codes may apply. Services should return
24
+ * the most specific error code that applies. For example, prefer
25
+ * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
26
+ * Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
27
+ *
28
+ * @generated from protobuf enum google.rpc.Code
29
+ */
30
+ export var Code;
31
+ (function (Code) {
32
+ /**
33
+ * Not an error; returned on success.
34
+ *
35
+ * HTTP Mapping: 200 OK
36
+ *
37
+ * @generated from protobuf enum value: OK = 0;
38
+ */
39
+ Code[Code["OK"] = 0] = "OK";
40
+ /**
41
+ * The operation was cancelled, typically by the caller.
42
+ *
43
+ * HTTP Mapping: 499 Client Closed Request
44
+ *
45
+ * @generated from protobuf enum value: CANCELLED = 1;
46
+ */
47
+ Code[Code["CANCELLED"] = 1] = "CANCELLED";
48
+ /**
49
+ * Unknown error. For example, this error may be returned when
50
+ * a `Status` value received from another address space belongs to
51
+ * an error space that is not known in this address space. Also
52
+ * errors raised by APIs that do not return enough error information
53
+ * may be converted to this error.
54
+ *
55
+ * HTTP Mapping: 500 Internal Server Error
56
+ *
57
+ * @generated from protobuf enum value: UNKNOWN = 2;
58
+ */
59
+ Code[Code["UNKNOWN"] = 2] = "UNKNOWN";
60
+ /**
61
+ * The client specified an invalid argument. Note that this differs
62
+ * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
63
+ * that are problematic regardless of the state of the system
64
+ * (e.g., a malformed file name).
65
+ *
66
+ * HTTP Mapping: 400 Bad Request
67
+ *
68
+ * @generated from protobuf enum value: INVALID_ARGUMENT = 3;
69
+ */
70
+ Code[Code["INVALID_ARGUMENT"] = 3] = "INVALID_ARGUMENT";
71
+ /**
72
+ * The deadline expired before the operation could complete. For operations
73
+ * that change the state of the system, this error may be returned
74
+ * even if the operation has completed successfully. For example, a
75
+ * successful response from a server could have been delayed long
76
+ * enough for the deadline to expire.
77
+ *
78
+ * HTTP Mapping: 504 Gateway Timeout
79
+ *
80
+ * @generated from protobuf enum value: DEADLINE_EXCEEDED = 4;
81
+ */
82
+ Code[Code["DEADLINE_EXCEEDED"] = 4] = "DEADLINE_EXCEEDED";
83
+ /**
84
+ * Some requested entity (e.g., file or directory) was not found.
85
+ *
86
+ * Note to server developers: if a request is denied for an entire class
87
+ * of users, such as gradual feature rollout or undocumented allowlist,
88
+ * `NOT_FOUND` may be used. If a request is denied for some users within
89
+ * a class of users, such as user-based access control, `PERMISSION_DENIED`
90
+ * must be used.
91
+ *
92
+ * HTTP Mapping: 404 Not Found
93
+ *
94
+ * @generated from protobuf enum value: NOT_FOUND = 5;
95
+ */
96
+ Code[Code["NOT_FOUND"] = 5] = "NOT_FOUND";
97
+ /**
98
+ * The entity that a client attempted to create (e.g., file or directory)
99
+ * already exists.
100
+ *
101
+ * HTTP Mapping: 409 Conflict
102
+ *
103
+ * @generated from protobuf enum value: ALREADY_EXISTS = 6;
104
+ */
105
+ Code[Code["ALREADY_EXISTS"] = 6] = "ALREADY_EXISTS";
106
+ /**
107
+ * The caller does not have permission to execute the specified
108
+ * operation. `PERMISSION_DENIED` must not be used for rejections
109
+ * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
110
+ * instead for those errors). `PERMISSION_DENIED` must not be
111
+ * used if the caller can not be identified (use `UNAUTHENTICATED`
112
+ * instead for those errors). This error code does not imply the
113
+ * request is valid or the requested entity exists or satisfies
114
+ * other pre-conditions.
115
+ *
116
+ * HTTP Mapping: 403 Forbidden
117
+ *
118
+ * @generated from protobuf enum value: PERMISSION_DENIED = 7;
119
+ */
120
+ Code[Code["PERMISSION_DENIED"] = 7] = "PERMISSION_DENIED";
121
+ /**
122
+ * The request does not have valid authentication credentials for the
123
+ * operation.
124
+ *
125
+ * HTTP Mapping: 401 Unauthorized
126
+ *
127
+ * @generated from protobuf enum value: UNAUTHENTICATED = 16;
128
+ */
129
+ Code[Code["UNAUTHENTICATED"] = 16] = "UNAUTHENTICATED";
130
+ /**
131
+ * Some resource has been exhausted, perhaps a per-user quota, or
132
+ * perhaps the entire file system is out of space.
133
+ *
134
+ * HTTP Mapping: 429 Too Many Requests
135
+ *
136
+ * @generated from protobuf enum value: RESOURCE_EXHAUSTED = 8;
137
+ */
138
+ Code[Code["RESOURCE_EXHAUSTED"] = 8] = "RESOURCE_EXHAUSTED";
139
+ /**
140
+ * The operation was rejected because the system is not in a state
141
+ * required for the operation's execution. For example, the directory
142
+ * to be deleted is non-empty, an rmdir operation is applied to
143
+ * a non-directory, etc.
144
+ *
145
+ * Service implementors can use the following guidelines to decide
146
+ * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
147
+ * (a) Use `UNAVAILABLE` if the client can retry just the failing call.
148
+ * (b) Use `ABORTED` if the client should retry at a higher level. For
149
+ * example, when a client-specified test-and-set fails, indicating the
150
+ * client should restart a read-modify-write sequence.
151
+ * (c) Use `FAILED_PRECONDITION` if the client should not retry until
152
+ * the system state has been explicitly fixed. For example, if an "rmdir"
153
+ * fails because the directory is non-empty, `FAILED_PRECONDITION`
154
+ * should be returned since the client should not retry unless
155
+ * the files are deleted from the directory.
156
+ *
157
+ * HTTP Mapping: 400 Bad Request
158
+ *
159
+ * @generated from protobuf enum value: FAILED_PRECONDITION = 9;
160
+ */
161
+ Code[Code["FAILED_PRECONDITION"] = 9] = "FAILED_PRECONDITION";
162
+ /**
163
+ * The operation was aborted, typically due to a concurrency issue such as
164
+ * a sequencer check failure or transaction abort.
165
+ *
166
+ * See the guidelines above for deciding between `FAILED_PRECONDITION`,
167
+ * `ABORTED`, and `UNAVAILABLE`.
168
+ *
169
+ * HTTP Mapping: 409 Conflict
170
+ *
171
+ * @generated from protobuf enum value: ABORTED = 10;
172
+ */
173
+ Code[Code["ABORTED"] = 10] = "ABORTED";
174
+ /**
175
+ * The operation was attempted past the valid range. E.g., seeking or
176
+ * reading past end-of-file.
177
+ *
178
+ * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
179
+ * be fixed if the system state changes. For example, a 32-bit file
180
+ * system will generate `INVALID_ARGUMENT` if asked to read at an
181
+ * offset that is not in the range [0,2^32-1], but it will generate
182
+ * `OUT_OF_RANGE` if asked to read from an offset past the current
183
+ * file size.
184
+ *
185
+ * There is a fair bit of overlap between `FAILED_PRECONDITION` and
186
+ * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific
187
+ * error) when it applies so that callers who are iterating through
188
+ * a space can easily look for an `OUT_OF_RANGE` error to detect when
189
+ * they are done.
190
+ *
191
+ * HTTP Mapping: 400 Bad Request
192
+ *
193
+ * @generated from protobuf enum value: OUT_OF_RANGE = 11;
194
+ */
195
+ Code[Code["OUT_OF_RANGE"] = 11] = "OUT_OF_RANGE";
196
+ /**
197
+ * The operation is not implemented or is not supported/enabled in this
198
+ * service.
199
+ *
200
+ * HTTP Mapping: 501 Not Implemented
201
+ *
202
+ * @generated from protobuf enum value: UNIMPLEMENTED = 12;
203
+ */
204
+ Code[Code["UNIMPLEMENTED"] = 12] = "UNIMPLEMENTED";
205
+ /**
206
+ * Internal errors. This means that some invariants expected by the
207
+ * underlying system have been broken. This error code is reserved
208
+ * for serious errors.
209
+ *
210
+ * HTTP Mapping: 500 Internal Server Error
211
+ *
212
+ * @generated from protobuf enum value: INTERNAL = 13;
213
+ */
214
+ Code[Code["INTERNAL"] = 13] = "INTERNAL";
215
+ /**
216
+ * The service is currently unavailable. This is most likely a
217
+ * transient condition, which can be corrected by retrying with
218
+ * a backoff. Note that it is not always safe to retry
219
+ * non-idempotent operations.
220
+ *
221
+ * See the guidelines above for deciding between `FAILED_PRECONDITION`,
222
+ * `ABORTED`, and `UNAVAILABLE`.
223
+ *
224
+ * HTTP Mapping: 503 Service Unavailable
225
+ *
226
+ * @generated from protobuf enum value: UNAVAILABLE = 14;
227
+ */
228
+ Code[Code["UNAVAILABLE"] = 14] = "UNAVAILABLE";
229
+ /**
230
+ * Unrecoverable data loss or corruption.
231
+ *
232
+ * HTTP Mapping: 500 Internal Server Error
233
+ *
234
+ * @generated from protobuf enum value: DATA_LOSS = 15;
235
+ */
236
+ Code[Code["DATA_LOSS"] = 15] = "DATA_LOSS";
237
+ })(Code || (Code = {}));