@alis-build/common-ts 1.0.2

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 (640) hide show
  1. package/README.md +1 -0
  2. package/alis/a2a/extension/history/v1/history_grpc_pb.d.ts +82 -0
  3. package/alis/a2a/extension/history/v1/history_grpc_pb.js +395 -0
  4. package/alis/a2a/extension/history/v1/history_grpc_web_pb.d.ts +165 -0
  5. package/alis/a2a/extension/history/v1/history_grpc_web_pb.js +823 -0
  6. package/alis/a2a/extension/history/v1/history_pb.d.ts +345 -0
  7. package/alis/a2a/extension/history/v1/history_pb.js +2801 -0
  8. package/alis/open/agent/v1/agent_grpc_pb.d.ts +73 -0
  9. package/alis/open/agent/v1/agent_grpc_pb.js +364 -0
  10. package/alis/open/agent/v1/agent_grpc_web_pb.d.ts +148 -0
  11. package/alis/open/agent/v1/agent_grpc_web_pb.js +756 -0
  12. package/alis/open/agent/v1/agent_pb.d.ts +1546 -0
  13. package/alis/open/agent/v1/agent_pb.js +12595 -0
  14. package/alis/open/agent/v2/a2a_grpc_pb.d.ts +73 -0
  15. package/alis/open/agent/v2/a2a_grpc_pb.js +363 -0
  16. package/alis/open/agent/v2/a2a_grpc_web_pb.d.ts +148 -0
  17. package/alis/open/agent/v2/a2a_grpc_web_pb.js +754 -0
  18. package/alis/open/agent/v2/a2a_pb.d.ts +1534 -0
  19. package/alis/open/agent/v2/a2a_pb.js +12511 -0
  20. package/alis/open/config/v1/config_grpc_pb.d.ts +1 -0
  21. package/alis/open/config/v1/config_grpc_pb.js +1 -0
  22. package/alis/open/config/v1/config_pb.d.ts +41 -0
  23. package/alis/open/config/v1/config_pb.js +325 -0
  24. package/alis/open/cx/v1/cx_grpc_pb.d.ts +1 -0
  25. package/alis/open/cx/v1/cx_grpc_pb.js +1 -0
  26. package/alis/open/cx/v1/cx_pb.d.ts +713 -0
  27. package/alis/open/cx/v1/cx_pb.js +4249 -0
  28. package/alis/open/flows/v1/flows_grpc_pb.d.ts +50 -0
  29. package/alis/open/flows/v1/flows_grpc_pb.js +195 -0
  30. package/alis/open/flows/v1/flows_grpc_web_pb.d.ts +91 -0
  31. package/alis/open/flows/v1/flows_grpc_web_pb.js +450 -0
  32. package/alis/open/flows/v1/flows_pb.d.ts +308 -0
  33. package/alis/open/flows/v1/flows_pb.js +2487 -0
  34. package/alis/open/iam/v1/group_grpc_pb.d.ts +78 -0
  35. package/alis/open/iam/v1/group_grpc_pb.js +337 -0
  36. package/alis/open/iam/v1/group_grpc_web_pb.d.ts +155 -0
  37. package/alis/open/iam/v1/group_grpc_web_pb.js +764 -0
  38. package/alis/open/iam/v1/group_pb.d.ts +224 -0
  39. package/alis/open/iam/v1/group_pb.js +1849 -0
  40. package/alis/open/iam/v1/iam_grpc_pb.d.ts +1 -0
  41. package/alis/open/iam/v1/iam_grpc_pb.js +1 -0
  42. package/alis/open/iam/v1/iam_pb.d.ts +139 -0
  43. package/alis/open/iam/v1/iam_pb.js +1182 -0
  44. package/alis/open/iam/v1/oauth_grpc_pb.d.ts +1 -0
  45. package/alis/open/iam/v1/oauth_grpc_pb.js +1 -0
  46. package/alis/open/iam/v1/oauth_pb.d.ts +358 -0
  47. package/alis/open/iam/v1/oauth_pb.js +2875 -0
  48. package/alis/open/iam/v1/role_grpc_pb.d.ts +1 -0
  49. package/alis/open/iam/v1/role_grpc_pb.js +1 -0
  50. package/alis/open/iam/v1/role_pb.d.ts +65 -0
  51. package/alis/open/iam/v1/role_pb.js +526 -0
  52. package/alis/open/iam/v1/user_grpc_pb.d.ts +149 -0
  53. package/alis/open/iam/v1/user_grpc_pb.js +767 -0
  54. package/alis/open/iam/v1/user_grpc_web_pb.d.ts +324 -0
  55. package/alis/open/iam/v1/user_grpc_web_pb.js +1622 -0
  56. package/alis/open/iam/v1/user_pb.d.ts +984 -0
  57. package/alis/open/iam/v1/user_pb.js +8067 -0
  58. package/alis/open/in/v1/in_grpc_pb.d.ts +1 -0
  59. package/alis/open/in/v1/in_grpc_pb.js +1 -0
  60. package/alis/open/in/v1/in_pb.d.ts +413 -0
  61. package/alis/open/in/v1/in_pb.js +2982 -0
  62. package/alis/open/notifications/v1/devices_grpc_pb.d.ts +79 -0
  63. package/alis/open/notifications/v1/devices_grpc_pb.js +377 -0
  64. package/alis/open/notifications/v1/devices_grpc_web_pb.d.ts +156 -0
  65. package/alis/open/notifications/v1/devices_grpc_web_pb.js +766 -0
  66. package/alis/open/notifications/v1/devices_pb.d.ts +181 -0
  67. package/alis/open/notifications/v1/devices_pb.js +1463 -0
  68. package/alis/open/notifications/v1/notifications_grpc_pb.d.ts +46 -0
  69. package/alis/open/notifications/v1/notifications_grpc_pb.js +186 -0
  70. package/alis/open/notifications/v1/notifications_grpc_web_pb.d.ts +81 -0
  71. package/alis/open/notifications/v1/notifications_grpc_web_pb.js +390 -0
  72. package/alis/open/notifications/v1/notifications_pb.d.ts +111 -0
  73. package/alis/open/notifications/v1/notifications_pb.js +918 -0
  74. package/alis/open/operations/v1/operations_grpc_pb.d.ts +1 -0
  75. package/alis/open/operations/v1/operations_grpc_pb.js +1 -0
  76. package/alis/open/operations/v1/operations_pb.d.ts +133 -0
  77. package/alis/open/operations/v1/operations_pb.js +986 -0
  78. package/alis/open/options/v1/options_grpc_pb.d.ts +1 -0
  79. package/alis/open/options/v1/options_grpc_pb.js +1 -0
  80. package/alis/open/options/v1/options_pb.d.ts +316 -0
  81. package/alis/open/options/v1/options_pb.js +1910 -0
  82. package/alis/open/pubsub/v1/pubsub_grpc_pb.d.ts +1 -0
  83. package/alis/open/pubsub/v1/pubsub_grpc_pb.js +1 -0
  84. package/alis/open/pubsub/v1/pubsub_pb.d.ts +78 -0
  85. package/alis/open/pubsub/v1/pubsub_pb.js +633 -0
  86. package/alis/open/px/v1/px_grpc_pb.d.ts +1 -0
  87. package/alis/open/px/v1/px_grpc_pb.js +1 -0
  88. package/alis/open/px/v1/px_pb.d.ts +1098 -0
  89. package/alis/open/px/v1/px_pb.js +8006 -0
  90. package/alis/open/support/v1/attachments_grpc_pb.d.ts +24 -0
  91. package/alis/open/support/v1/attachments_grpc_pb.js +47 -0
  92. package/alis/open/support/v1/attachments_grpc_web_pb.d.ts +31 -0
  93. package/alis/open/support/v1/attachments_grpc_web_pb.js +142 -0
  94. package/alis/open/support/v1/attachments_pb.d.ts +46 -0
  95. package/alis/open/support/v1/attachments_pb.js +379 -0
  96. package/alis/open/support/v1/events_grpc_pb.d.ts +26 -0
  97. package/alis/open/support/v1/events_grpc_pb.js +48 -0
  98. package/alis/open/support/v1/events_grpc_web_pb.d.ts +32 -0
  99. package/alis/open/support/v1/events_grpc_web_pb.js +146 -0
  100. package/alis/open/support/v1/events_pb.d.ts +180 -0
  101. package/alis/open/support/v1/events_pb.js +1505 -0
  102. package/alis/open/support/v1/guide_grpc_pb.d.ts +45 -0
  103. package/alis/open/support/v1/guide_grpc_pb.js +176 -0
  104. package/alis/open/support/v1/guide_grpc_web_pb.d.ts +80 -0
  105. package/alis/open/support/v1/guide_grpc_web_pb.js +392 -0
  106. package/alis/open/support/v1/guide_pb.d.ts +527 -0
  107. package/alis/open/support/v1/guide_pb.js +3981 -0
  108. package/alis/open/support/v1/issue_grpc_pb.d.ts +109 -0
  109. package/alis/open/support/v1/issue_grpc_pb.js +493 -0
  110. package/alis/open/support/v1/issue_grpc_web_pb.d.ts +228 -0
  111. package/alis/open/support/v1/issue_grpc_web_pb.js +1132 -0
  112. package/alis/open/support/v1/issue_pb.d.ts +524 -0
  113. package/alis/open/support/v1/issue_pb.js +3984 -0
  114. package/alis/open/support/v1/issueactivity_grpc_pb.d.ts +71 -0
  115. package/alis/open/support/v1/issueactivity_grpc_pb.js +311 -0
  116. package/alis/open/support/v1/issueactivity_grpc_web_pb.d.ts +141 -0
  117. package/alis/open/support/v1/issueactivity_grpc_web_pb.js +701 -0
  118. package/alis/open/support/v1/issueactivity_pb.d.ts +291 -0
  119. package/alis/open/support/v1/issueactivity_pb.js +2337 -0
  120. package/alis/open/support/v1/issuesubscriber_grpc_pb.d.ts +79 -0
  121. package/alis/open/support/v1/issuesubscriber_grpc_pb.js +351 -0
  122. package/alis/open/support/v1/issuesubscriber_grpc_web_pb.d.ts +156 -0
  123. package/alis/open/support/v1/issuesubscriber_grpc_web_pb.js +766 -0
  124. package/alis/open/support/v1/issuesubscriber_pb.d.ts +169 -0
  125. package/alis/open/support/v1/issuesubscriber_pb.js +1361 -0
  126. package/alis/open/validation/v1/test_grpc_pb.d.ts +45 -0
  127. package/alis/open/validation/v1/test_grpc_pb.js +164 -0
  128. package/alis/open/validation/v1/test_grpc_web_pb.d.ts +80 -0
  129. package/alis/open/validation/v1/test_grpc_web_pb.js +394 -0
  130. package/alis/open/validation/v1/test_pb.d.ts +206 -0
  131. package/alis/open/validation/v1/test_pb.js +1662 -0
  132. package/alis/open/validation/v1/validation_grpc_pb.d.ts +29 -0
  133. package/alis/open/validation/v1/validation_grpc_pb.js +80 -0
  134. package/alis/open/validation/v1/validation_grpc_web_pb.d.ts +43 -0
  135. package/alis/open/validation/v1/validation_grpc_web_pb.js +203 -0
  136. package/alis/open/validation/v1/validation_pb.d.ts +156 -0
  137. package/alis/open/validation/v1/validation_pb.js +1355 -0
  138. package/alis/test/v1/test_grpc_pb.d.ts +1 -0
  139. package/alis/test/v1/test_grpc_pb.js +1 -0
  140. package/alis/test/v1/test_pb.d.ts +26 -0
  141. package/alis/test/v1/test_pb.js +203 -0
  142. package/common/test/v1/test_grpc_pb.d.ts +1 -0
  143. package/common/test/v1/test_grpc_pb.js +1 -0
  144. package/common/test/v1/test_pb.d.ts +26 -0
  145. package/common/test/v1/test_pb.js +203 -0
  146. package/google/api/annotations_grpc_pb.d.ts +1 -0
  147. package/google/api/annotations_grpc_pb.js +1 -0
  148. package/google/api/annotations_pb.d.ts +6 -0
  149. package/google/api/annotations_pb.js +51 -0
  150. package/google/api/apikeys/v2/apikeys_grpc_pb.d.ts +61 -0
  151. package/google/api/apikeys/v2/apikeys_grpc_pb.js +302 -0
  152. package/google/api/apikeys/v2/apikeys_grpc_web_pb.d.ts +117 -0
  153. package/google/api/apikeys/v2/apikeys_grpc_web_pb.js +583 -0
  154. package/google/api/apikeys/v2/apikeys_pb.d.ts +253 -0
  155. package/google/api/apikeys/v2/apikeys_pb.js +2070 -0
  156. package/google/api/apikeys/v2/resources_grpc_pb.d.ts +1 -0
  157. package/google/api/apikeys/v2/resources_grpc_pb.js +1 -0
  158. package/google/api/apikeys/v2/resources_pb.d.ts +249 -0
  159. package/google/api/apikeys/v2/resources_pb.js +2063 -0
  160. package/google/api/auth_grpc_pb.d.ts +1 -0
  161. package/google/api/auth_grpc_pb.js +1 -0
  162. package/google/api/auth_pb.d.ts +183 -0
  163. package/google/api/auth_pb.js +1539 -0
  164. package/google/api/backend_grpc_pb.d.ts +1 -0
  165. package/google/api/backend_grpc_pb.js +1 -0
  166. package/google/api/backend_pb.d.ts +88 -0
  167. package/google/api/backend_pb.js +668 -0
  168. package/google/api/billing_grpc_pb.d.ts +1 -0
  169. package/google/api/billing_grpc_pb.js +1 -0
  170. package/google/api/billing_pb.d.ts +49 -0
  171. package/google/api/billing_pb.js +411 -0
  172. package/google/api/client_grpc_pb.d.ts +1 -0
  173. package/google/api/client_grpc_pb.js +1 -0
  174. package/google/api/client_pb.d.ts +402 -0
  175. package/google/api/client_pb.js +3379 -0
  176. package/google/api/config_change_grpc_pb.d.ts +1 -0
  177. package/google/api/config_change_grpc_pb.js +1 -0
  178. package/google/api/config_change_pb.d.ts +64 -0
  179. package/google/api/config_change_pb.js +486 -0
  180. package/google/api/consumer_grpc_pb.d.ts +1 -0
  181. package/google/api/consumer_grpc_pb.js +1 -0
  182. package/google/api/consumer_pb.d.ts +58 -0
  183. package/google/api/consumer_pb.js +427 -0
  184. package/google/api/context_grpc_pb.d.ts +1 -0
  185. package/google/api/context_grpc_pb.js +1 -0
  186. package/google/api/context_pb.d.ts +66 -0
  187. package/google/api/context_pb.js +558 -0
  188. package/google/api/control_grpc_pb.d.ts +1 -0
  189. package/google/api/control_grpc_pb.js +1 -0
  190. package/google/api/control_pb.d.ts +22 -0
  191. package/google/api/control_pb.js +173 -0
  192. package/google/api/distribution_grpc_pb.d.ts +1 -0
  193. package/google/api/distribution_grpc_pb.js +1 -0
  194. package/google/api/distribution_pb.d.ts +227 -0
  195. package/google/api/distribution_pb.js +1796 -0
  196. package/google/api/documentation_grpc_pb.d.ts +1 -0
  197. package/google/api/documentation_grpc_pb.js +1 -0
  198. package/google/api/documentation_pb.d.ts +100 -0
  199. package/google/api/documentation_pb.js +830 -0
  200. package/google/api/endpoint_grpc_pb.d.ts +1 -0
  201. package/google/api/endpoint_grpc_pb.js +1 -0
  202. package/google/api/endpoint_pb.d.ts +36 -0
  203. package/google/api/endpoint_pb.js +289 -0
  204. package/google/api/error_reason_grpc_pb.d.ts +1 -0
  205. package/google/api/error_reason_grpc_pb.js +1 -0
  206. package/google/api/error_reason_pb.d.ts +34 -0
  207. package/google/api/error_reason_pb.js +56 -0
  208. package/google/api/expr/conformance/v1alpha1/conformance_service_grpc_pb.d.ts +34 -0
  209. package/google/api/expr/conformance/v1alpha1/conformance_service_grpc_pb.js +140 -0
  210. package/google/api/expr/conformance/v1alpha1/conformance_service_grpc_web_pb.d.ts +55 -0
  211. package/google/api/expr/conformance/v1alpha1/conformance_service_grpc_web_pb.js +275 -0
  212. package/google/api/expr/conformance/v1alpha1/conformance_service_pb.d.ts +258 -0
  213. package/google/api/expr/conformance/v1alpha1/conformance_service_pb.js +2072 -0
  214. package/google/api/expr/v1alpha1/checked_grpc_pb.d.ts +1 -0
  215. package/google/api/expr/v1alpha1/checked_grpc_pb.js +1 -0
  216. package/google/api/expr/v1alpha1/checked_pb.d.ts +426 -0
  217. package/google/api/expr/v1alpha1/checked_pb.js +3381 -0
  218. package/google/api/expr/v1alpha1/eval_grpc_pb.d.ts +1 -0
  219. package/google/api/expr/v1alpha1/eval_grpc_pb.js +1 -0
  220. package/google/api/expr/v1alpha1/eval_pb.d.ts +136 -0
  221. package/google/api/expr/v1alpha1/eval_pb.js +1104 -0
  222. package/google/api/expr/v1alpha1/explain_grpc_pb.d.ts +1 -0
  223. package/google/api/expr/v1alpha1/explain_grpc_pb.js +1 -0
  224. package/google/api/expr/v1alpha1/explain_pb.d.ts +54 -0
  225. package/google/api/expr/v1alpha1/explain_pb.js +440 -0
  226. package/google/api/expr/v1alpha1/syntax_grpc_pb.d.ts +1 -0
  227. package/google/api/expr/v1alpha1/syntax_grpc_pb.js +1 -0
  228. package/google/api/expr/v1alpha1/syntax_pb.d.ts +474 -0
  229. package/google/api/expr/v1alpha1/syntax_pb.js +3854 -0
  230. package/google/api/expr/v1alpha1/value_grpc_pb.d.ts +1 -0
  231. package/google/api/expr/v1alpha1/value_grpc_pb.js +1 -0
  232. package/google/api/expr/v1alpha1/value_pb.d.ts +185 -0
  233. package/google/api/expr/v1alpha1/value_pb.js +1566 -0
  234. package/google/api/expr/v1beta1/decl_grpc_pb.d.ts +1 -0
  235. package/google/api/expr/v1beta1/decl_grpc_pb.js +1 -0
  236. package/google/api/expr/v1beta1/decl_pb.d.ts +135 -0
  237. package/google/api/expr/v1beta1/decl_pb.js +1093 -0
  238. package/google/api/expr/v1beta1/eval_grpc_pb.d.ts +1 -0
  239. package/google/api/expr/v1beta1/eval_grpc_pb.js +1 -0
  240. package/google/api/expr/v1beta1/eval_pb.d.ts +156 -0
  241. package/google/api/expr/v1beta1/eval_pb.js +1282 -0
  242. package/google/api/expr/v1beta1/expr_grpc_pb.d.ts +1 -0
  243. package/google/api/expr/v1beta1/expr_grpc_pb.js +1 -0
  244. package/google/api/expr/v1beta1/expr_pb.d.ts +387 -0
  245. package/google/api/expr/v1beta1/expr_pb.js +3142 -0
  246. package/google/api/expr/v1beta1/source_grpc_pb.d.ts +1 -0
  247. package/google/api/expr/v1beta1/source_grpc_pb.js +1 -0
  248. package/google/api/expr/v1beta1/source_pb.d.ts +62 -0
  249. package/google/api/expr/v1beta1/source_pb.js +509 -0
  250. package/google/api/expr/v1beta1/value_grpc_pb.d.ts +1 -0
  251. package/google/api/expr/v1beta1/value_grpc_pb.js +1 -0
  252. package/google/api/expr/v1beta1/value_pb.d.ts +185 -0
  253. package/google/api/expr/v1beta1/value_pb.js +1566 -0
  254. package/google/api/field_behavior_grpc_pb.d.ts +1 -0
  255. package/google/api/field_behavior_grpc_pb.js +1 -0
  256. package/google/api/field_behavior_pb.d.ts +15 -0
  257. package/google/api/field_behavior_pb.js +64 -0
  258. package/google/api/http_grpc_pb.d.ts +1 -0
  259. package/google/api/http_grpc_pb.js +1 -0
  260. package/google/api/http_pb.d.ts +120 -0
  261. package/google/api/http_pb.js +1009 -0
  262. package/google/api/httpbody_grpc_pb.d.ts +1 -0
  263. package/google/api/httpbody_grpc_pb.js +1 -0
  264. package/google/api/httpbody_pb.d.ts +35 -0
  265. package/google/api/httpbody_pb.js +289 -0
  266. package/google/api/label_grpc_pb.d.ts +1 -0
  267. package/google/api/label_grpc_pb.js +1 -0
  268. package/google/api/label_pb.d.ts +36 -0
  269. package/google/api/label_pb.js +243 -0
  270. package/google/api/launch_stage_grpc_pb.d.ts +1 -0
  271. package/google/api/launch_stage_grpc_pb.js +1 -0
  272. package/google/api/launch_stage_pb.d.ts +14 -0
  273. package/google/api/launch_stage_pb.js +36 -0
  274. package/google/api/log_grpc_pb.d.ts +1 -0
  275. package/google/api/log_grpc_pb.js +1 -0
  276. package/google/api/log_pb.d.ts +37 -0
  277. package/google/api/log_pb.js +295 -0
  278. package/google/api/logging_grpc_pb.d.ts +1 -0
  279. package/google/api/logging_grpc_pb.js +1 -0
  280. package/google/api/logging_pb.d.ts +55 -0
  281. package/google/api/logging_pb.js +464 -0
  282. package/google/api/metric_grpc_pb.d.ts +1 -0
  283. package/google/api/metric_grpc_pb.js +1 -0
  284. package/google/api/metric_pb.d.ts +141 -0
  285. package/google/api/metric_pb.js +1019 -0
  286. package/google/api/monitored_resource_grpc_pb.d.ts +1 -0
  287. package/google/api/monitored_resource_grpc_pb.js +1 -0
  288. package/google/api/monitored_resource_pb.d.ts +93 -0
  289. package/google/api/monitored_resource_pb.js +762 -0
  290. package/google/api/monitoring_grpc_pb.d.ts +1 -0
  291. package/google/api/monitoring_grpc_pb.js +1 -0
  292. package/google/api/monitoring_pb.d.ts +55 -0
  293. package/google/api/monitoring_pb.js +464 -0
  294. package/google/api/quota_grpc_pb.d.ts +1 -0
  295. package/google/api/quota_grpc_pb.js +1 -0
  296. package/google/api/quota_pb.d.ts +106 -0
  297. package/google/api/quota_pb.js +878 -0
  298. package/google/api/resource_grpc_pb.d.ts +1 -0
  299. package/google/api/resource_grpc_pb.js +1 -0
  300. package/google/api/resource_pb.d.ts +84 -0
  301. package/google/api/resource_pb.js +678 -0
  302. package/google/api/routing_grpc_pb.d.ts +1 -0
  303. package/google/api/routing_grpc_pb.js +1 -0
  304. package/google/api/routing_pb.d.ts +47 -0
  305. package/google/api/routing_pb.js +413 -0
  306. package/google/api/service_grpc_pb.d.ts +1 -0
  307. package/google/api/service_grpc_pb.js +1 -0
  308. package/google/api/service_pb.d.ts +187 -0
  309. package/google/api/service_pb.js +1448 -0
  310. package/google/api/servicecontrol/v1/check_error_grpc_pb.d.ts +1 -0
  311. package/google/api/servicecontrol/v1/check_error_grpc_pb.js +1 -0
  312. package/google/api/servicecontrol/v1/check_error_pb.d.ts +61 -0
  313. package/google/api/servicecontrol/v1/check_error_pb.js +314 -0
  314. package/google/api/servicecontrol/v1/distribution_grpc_pb.d.ts +1 -0
  315. package/google/api/servicecontrol/v1/distribution_grpc_pb.js +1 -0
  316. package/google/api/servicecontrol/v1/distribution_pb.d.ts +153 -0
  317. package/google/api/servicecontrol/v1/distribution_pb.js +1185 -0
  318. package/google/api/servicecontrol/v1/http_request_grpc_pb.d.ts +1 -0
  319. package/google/api/servicecontrol/v1/http_request_grpc_pb.js +1 -0
  320. package/google/api/servicecontrol/v1/http_request_pb.d.ts +81 -0
  321. package/google/api/servicecontrol/v1/http_request_pb.js +616 -0
  322. package/google/api/servicecontrol/v1/log_entry_grpc_pb.d.ts +1 -0
  323. package/google/api/servicecontrol/v1/log_entry_grpc_pb.js +1 -0
  324. package/google/api/servicecontrol/v1/log_entry_pb.d.ts +148 -0
  325. package/google/api/servicecontrol/v1/log_entry_pb.js +1148 -0
  326. package/google/api/servicecontrol/v1/metric_value_grpc_pb.d.ts +1 -0
  327. package/google/api/servicecontrol/v1/metric_value_grpc_pb.js +1 -0
  328. package/google/api/servicecontrol/v1/metric_value_pb.d.ts +93 -0
  329. package/google/api/servicecontrol/v1/metric_value_pb.js +773 -0
  330. package/google/api/servicecontrol/v1/operation_grpc_pb.d.ts +1 -0
  331. package/google/api/servicecontrol/v1/operation_grpc_pb.js +1 -0
  332. package/google/api/servicecontrol/v1/operation_pb.d.ts +77 -0
  333. package/google/api/servicecontrol/v1/operation_pb.js +587 -0
  334. package/google/api/servicecontrol/v1/quota_controller_grpc_pb.d.ts +24 -0
  335. package/google/api/servicecontrol/v1/quota_controller_grpc_pb.js +78 -0
  336. package/google/api/servicecontrol/v1/quota_controller_grpc_web_pb.d.ts +31 -0
  337. package/google/api/servicecontrol/v1/quota_controller_grpc_web_pb.js +150 -0
  338. package/google/api/servicecontrol/v1/quota_controller_pb.d.ts +160 -0
  339. package/google/api/servicecontrol/v1/quota_controller_pb.js +1187 -0
  340. package/google/api/servicecontrol/v1/service_controller_grpc_pb.d.ts +29 -0
  341. package/google/api/servicecontrol/v1/service_controller_grpc_pb.js +133 -0
  342. package/google/api/servicecontrol/v1/service_controller_grpc_web_pb.d.ts +43 -0
  343. package/google/api/servicecontrol/v1/service_controller_grpc_web_pb.js +213 -0
  344. package/google/api/servicecontrol/v1/service_controller_pb.d.ts +218 -0
  345. package/google/api/servicecontrol/v1/service_controller_pb.js +1727 -0
  346. package/google/api/servicecontrol/v2/service_controller_grpc_pb.d.ts +29 -0
  347. package/google/api/servicecontrol/v2/service_controller_grpc_pb.js +144 -0
  348. package/google/api/servicecontrol/v2/service_controller_grpc_web_pb.d.ts +43 -0
  349. package/google/api/servicecontrol/v2/service_controller_grpc_web_pb.js +211 -0
  350. package/google/api/servicecontrol/v2/service_controller_pb.d.ts +146 -0
  351. package/google/api/servicecontrol/v2/service_controller_pb.js +1201 -0
  352. package/google/api/servicemanagement/v1/resources_grpc_pb.d.ts +1 -0
  353. package/google/api/servicemanagement/v1/resources_grpc_pb.js +1 -0
  354. package/google/api/servicemanagement/v1/resources_pb.d.ts +327 -0
  355. package/google/api/servicemanagement/v1/resources_pb.js +2452 -0
  356. package/google/api/servicemanagement/v1/servicemanager_grpc_pb.d.ts +87 -0
  357. package/google/api/servicemanagement/v1/servicemanager_grpc_pb.js +495 -0
  358. package/google/api/servicemanagement/v1/servicemanager_grpc_web_pb.d.ts +178 -0
  359. package/google/api/servicemanagement/v1/servicemanager_grpc_web_pb.js +888 -0
  360. package/google/api/servicemanagement/v1/servicemanager_pb.d.ts +472 -0
  361. package/google/api/servicemanagement/v1/servicemanager_pb.js +3903 -0
  362. package/google/api/serviceusage/v1/resources_grpc_pb.d.ts +1 -0
  363. package/google/api/serviceusage/v1/resources_grpc_pb.js +1 -0
  364. package/google/api/serviceusage/v1/resources_pb.d.ts +139 -0
  365. package/google/api/serviceusage/v1/resources_pb.js +1091 -0
  366. package/google/api/serviceusage/v1/serviceusage_grpc_pb.d.ts +51 -0
  367. package/google/api/serviceusage/v1/serviceusage_grpc_pb.js +238 -0
  368. package/google/api/serviceusage/v1/serviceusage_grpc_web_pb.d.ts +93 -0
  369. package/google/api/serviceusage/v1/serviceusage_grpc_web_pb.js +455 -0
  370. package/google/api/serviceusage/v1/serviceusage_pb.d.ts +287 -0
  371. package/google/api/serviceusage/v1/serviceusage_pb.js +2370 -0
  372. package/google/api/serviceusage/v1beta1/resources_grpc_pb.d.ts +1 -0
  373. package/google/api/serviceusage/v1beta1/resources_grpc_pb.js +1 -0
  374. package/google/api/serviceusage/v1beta1/resources_pb.d.ts +393 -0
  375. package/google/api/serviceusage/v1beta1/resources_pb.js +3158 -0
  376. package/google/api/serviceusage/v1beta1/serviceusage_grpc_pb.d.ts +116 -0
  377. package/google/api/serviceusage/v1beta1/serviceusage_grpc_pb.js +594 -0
  378. package/google/api/serviceusage/v1beta1/serviceusage_grpc_web_pb.d.ts +249 -0
  379. package/google/api/serviceusage/v1beta1/serviceusage_grpc_web_pb.js +1250 -0
  380. package/google/api/serviceusage/v1beta1/serviceusage_pb.d.ts +870 -0
  381. package/google/api/serviceusage/v1beta1/serviceusage_pb.js +7306 -0
  382. package/google/api/source_info_grpc_pb.d.ts +1 -0
  383. package/google/api/source_info_grpc_pb.js +1 -0
  384. package/google/api/source_info_pb.d.ts +25 -0
  385. package/google/api/source_info_pb.js +205 -0
  386. package/google/api/system_parameter_grpc_pb.d.ts +1 -0
  387. package/google/api/system_parameter_grpc_pb.js +1 -0
  388. package/google/api/system_parameter_pb.d.ts +74 -0
  389. package/google/api/system_parameter_pb.js +627 -0
  390. package/google/api/usage_grpc_pb.d.ts +1 -0
  391. package/google/api/usage_grpc_pb.js +1 -0
  392. package/google/api/usage_pb.d.ts +60 -0
  393. package/google/api/usage_pb.js +494 -0
  394. package/google/api/visibility_grpc_pb.d.ts +1 -0
  395. package/google/api/visibility_grpc_pb.js +1 -0
  396. package/google/api/visibility_pb.d.ts +47 -0
  397. package/google/api/visibility_pb.js +543 -0
  398. package/google/iam/admin/v1/audit_data_grpc_pb.d.ts +1 -0
  399. package/google/iam/admin/v1/audit_data_grpc_pb.js +1 -0
  400. package/google/iam/admin/v1/audit_data_pb.d.ts +51 -0
  401. package/google/iam/admin/v1/audit_data_pb.js +421 -0
  402. package/google/iam/admin/v1/iam_grpc_pb.d.ts +177 -0
  403. package/google/iam/admin/v1/iam_grpc_pb.js +1071 -0
  404. package/google/iam/admin/v1/iam_grpc_web_pb.d.ts +394 -0
  405. package/google/iam/admin/v1/iam_grpc_web_pb.js +1992 -0
  406. package/google/iam/admin/v1/iam_pb.d.ts +1194 -0
  407. package/google/iam/admin/v1/iam_pb.js +9475 -0
  408. package/google/iam/credentials/v1/common_grpc_pb.d.ts +1 -0
  409. package/google/iam/credentials/v1/common_grpc_pb.js +1 -0
  410. package/google/iam/credentials/v1/common_pb.d.ts +222 -0
  411. package/google/iam/credentials/v1/common_pb.js +1848 -0
  412. package/google/iam/credentials/v1/iamcredentials_grpc_pb.d.ts +40 -0
  413. package/google/iam/credentials/v1/iamcredentials_grpc_pb.js +173 -0
  414. package/google/iam/credentials/v1/iamcredentials_grpc_web_pb.d.ts +67 -0
  415. package/google/iam/credentials/v1/iamcredentials_grpc_web_pb.js +331 -0
  416. package/google/iam/credentials/v1/iamcredentials_pb.d.ts +7 -0
  417. package/google/iam/credentials/v1/iamcredentials_pb.js +26 -0
  418. package/google/iam/v1/iam_policy_grpc_pb.d.ts +35 -0
  419. package/google/iam/v1/iam_policy_grpc_pb.js +161 -0
  420. package/google/iam/v1/iam_policy_grpc_web_pb.d.ts +56 -0
  421. package/google/iam/v1/iam_policy_grpc_web_pb.js +277 -0
  422. package/google/iam/v1/iam_policy_pb.d.ts +109 -0
  423. package/google/iam/v1/iam_policy_pb.js +878 -0
  424. package/google/iam/v1/logging/audit_data_grpc_pb.d.ts +1 -0
  425. package/google/iam/v1/logging/audit_data_grpc_pb.js +1 -0
  426. package/google/iam/v1/logging/audit_data_pb.d.ts +25 -0
  427. package/google/iam/v1/logging/audit_data_pb.js +196 -0
  428. package/google/iam/v1/options_grpc_pb.d.ts +1 -0
  429. package/google/iam/v1/options_grpc_pb.js +1 -0
  430. package/google/iam/v1/options_pb.d.ts +22 -0
  431. package/google/iam/v1/options_pb.js +173 -0
  432. package/google/iam/v1/policy_grpc_pb.d.ts +1 -0
  433. package/google/iam/v1/policy_grpc_pb.js +1 -0
  434. package/google/iam/v1/policy_pb.d.ts +226 -0
  435. package/google/iam/v1/policy_pb.js +1792 -0
  436. package/google/iam/v1beta/workload_identity_pool_grpc_pb.d.ts +80 -0
  437. package/google/iam/v1beta/workload_identity_pool_grpc_pb.js +402 -0
  438. package/google/iam/v1beta/workload_identity_pool_grpc_web_pb.d.ts +164 -0
  439. package/google/iam/v1beta/workload_identity_pool_grpc_web_pb.js +824 -0
  440. package/google/iam/v1beta/workload_identity_pool_pb.d.ts +514 -0
  441. package/google/iam/v1beta/workload_identity_pool_pb.js +4135 -0
  442. package/google/iam/v2/deny_grpc_pb.d.ts +1 -0
  443. package/google/iam/v2/deny_grpc_pb.js +1 -0
  444. package/google/iam/v2/deny_pb.d.ts +49 -0
  445. package/google/iam/v2/deny_pb.js +399 -0
  446. package/google/iam/v2/policy_grpc_pb.d.ts +45 -0
  447. package/google/iam/v2/policy_grpc_pb.js +195 -0
  448. package/google/iam/v2/policy_grpc_web_pb.d.ts +80 -0
  449. package/google/iam/v2/policy_grpc_web_pb.js +397 -0
  450. package/google/iam/v2/policy_pb.d.ts +265 -0
  451. package/google/iam/v2/policy_pb.js +2153 -0
  452. package/google/iam/v2beta/deny_grpc_pb.d.ts +1 -0
  453. package/google/iam/v2beta/deny_grpc_pb.js +1 -0
  454. package/google/iam/v2beta/deny_pb.d.ts +49 -0
  455. package/google/iam/v2beta/deny_pb.js +399 -0
  456. package/google/iam/v2beta/policy_grpc_pb.d.ts +45 -0
  457. package/google/iam/v2beta/policy_grpc_pb.js +195 -0
  458. package/google/iam/v2beta/policy_grpc_web_pb.d.ts +80 -0
  459. package/google/iam/v2beta/policy_grpc_web_pb.js +397 -0
  460. package/google/iam/v2beta/policy_pb.d.ts +261 -0
  461. package/google/iam/v2beta/policy_pb.js +2123 -0
  462. package/google/logging/type/http_request_grpc_pb.d.ts +1 -0
  463. package/google/logging/type/http_request_grpc_pb.js +1 -0
  464. package/google/logging/type/http_request_pb.d.ts +81 -0
  465. package/google/logging/type/http_request_pb.js +616 -0
  466. package/google/logging/type/log_severity_grpc_pb.d.ts +1 -0
  467. package/google/logging/type/log_severity_grpc_pb.js +1 -0
  468. package/google/logging/type/log_severity_pb.d.ts +15 -0
  469. package/google/logging/type/log_severity_pb.js +37 -0
  470. package/google/logging/v2/log_entry_grpc_pb.d.ts +1 -0
  471. package/google/logging/v2/log_entry_grpc_pb.js +1 -0
  472. package/google/logging/v2/log_entry_pb.d.ts +203 -0
  473. package/google/logging/v2/log_entry_pb.js +1579 -0
  474. package/google/logging/v2/logging_config_grpc_pb.d.ts +151 -0
  475. package/google/logging/v2/logging_config_grpc_pb.js +846 -0
  476. package/google/logging/v2/logging_config_grpc_web_pb.d.ts +333 -0
  477. package/google/logging/v2/logging_config_grpc_web_pb.js +1682 -0
  478. package/google/logging/v2/logging_config_pb.d.ts +1111 -0
  479. package/google/logging/v2/logging_config_pb.js +9060 -0
  480. package/google/logging/v2/logging_grpc_pb.d.ts +49 -0
  481. package/google/logging/v2/logging_grpc_pb.js +254 -0
  482. package/google/logging/v2/logging_grpc_web_pb.d.ts +80 -0
  483. package/google/logging/v2/logging_grpc_web_pb.js +403 -0
  484. package/google/logging/v2/logging_metrics_grpc_pb.d.ts +45 -0
  485. package/google/logging/v2/logging_metrics_grpc_pb.js +183 -0
  486. package/google/logging/v2/logging_metrics_grpc_web_pb.d.ts +80 -0
  487. package/google/logging/v2/logging_metrics_grpc_web_pb.js +401 -0
  488. package/google/logging/v2/logging_metrics_pb.d.ts +217 -0
  489. package/google/logging/v2/logging_metrics_pb.js +1725 -0
  490. package/google/logging/v2/logging_pb.d.ts +352 -0
  491. package/google/logging/v2/logging_pb.js +2904 -0
  492. package/google/longrunning/operations_grpc_pb.d.ts +45 -0
  493. package/google/longrunning/operations_grpc_pb.js +221 -0
  494. package/google/longrunning/operations_grpc_web_pb.d.ts +80 -0
  495. package/google/longrunning/operations_grpc_web_pb.js +398 -0
  496. package/google/longrunning/operations_pb.d.ts +213 -0
  497. package/google/longrunning/operations_pb.js +1718 -0
  498. package/google/protobuf/any_grpc_pb.d.ts +1 -0
  499. package/google/protobuf/any_grpc_pb.js +1 -0
  500. package/google/protobuf/any_pb.d.ts +28 -0
  501. package/google/protobuf/any_pb.js +278 -0
  502. package/google/protobuf/api_grpc_pb.d.ts +1 -0
  503. package/google/protobuf/api_grpc_pb.js +1 -0
  504. package/google/protobuf/api_pb.d.ts +122 -0
  505. package/google/protobuf/api_pb.js +998 -0
  506. package/google/protobuf/descriptor_grpc_pb.d.ts +1 -0
  507. package/google/protobuf/descriptor_grpc_pb.js +1 -0
  508. package/google/protobuf/descriptor_pb.d.ts +1626 -0
  509. package/google/protobuf/descriptor_pb.js +13251 -0
  510. package/google/protobuf/duration_grpc_pb.d.ts +1 -0
  511. package/google/protobuf/duration_grpc_pb.js +1 -0
  512. package/google/protobuf/duration_pb.d.ts +26 -0
  513. package/google/protobuf/duration_pb.js +203 -0
  514. package/google/protobuf/empty_grpc_pb.d.ts +1 -0
  515. package/google/protobuf/empty_grpc_pb.js +1 -0
  516. package/google/protobuf/empty_pb.d.ts +18 -0
  517. package/google/protobuf/empty_pb.js +144 -0
  518. package/google/protobuf/field_mask_grpc_pb.d.ts +1 -0
  519. package/google/protobuf/field_mask_grpc_pb.js +1 -0
  520. package/google/protobuf/field_mask_pb.d.ts +24 -0
  521. package/google/protobuf/field_mask_pb.js +199 -0
  522. package/google/protobuf/source_context_grpc_pb.d.ts +1 -0
  523. package/google/protobuf/source_context_grpc_pb.js +1 -0
  524. package/google/protobuf/source_context_pb.d.ts +22 -0
  525. package/google/protobuf/source_context_pb.js +173 -0
  526. package/google/protobuf/struct_grpc_pb.d.ts +1 -0
  527. package/google/protobuf/struct_grpc_pb.js +1 -0
  528. package/google/protobuf/struct_pb.d.ts +99 -0
  529. package/google/protobuf/struct_pb.js +958 -0
  530. package/google/protobuf/timestamp_grpc_pb.d.ts +1 -0
  531. package/google/protobuf/timestamp_grpc_pb.js +1 -0
  532. package/google/protobuf/timestamp_pb.d.ts +26 -0
  533. package/google/protobuf/timestamp_pb.js +239 -0
  534. package/google/protobuf/type_grpc_pb.d.ts +1 -0
  535. package/google/protobuf/type_grpc_pb.js +1 -0
  536. package/google/protobuf/type_pb.d.ts +242 -0
  537. package/google/protobuf/type_pb.js +1770 -0
  538. package/google/protobuf/wrappers_grpc_pb.d.ts +1 -0
  539. package/google/protobuf/wrappers_grpc_pb.js +1 -0
  540. package/google/protobuf/wrappers_pb.d.ts +168 -0
  541. package/google/protobuf/wrappers_pb.js +1413 -0
  542. package/google/rpc/code_grpc_pb.d.ts +1 -0
  543. package/google/rpc/code_grpc_pb.js +1 -0
  544. package/google/rpc/code_pb.d.ts +23 -0
  545. package/google/rpc/code_pb.js +45 -0
  546. package/google/rpc/context/attribute_context_grpc_pb.d.ts +1 -0
  547. package/google/rpc/context/attribute_context_grpc_pb.js +1 -0
  548. package/google/rpc/context/attribute_context_pb.d.ts +352 -0
  549. package/google/rpc/context/attribute_context_pb.js +2848 -0
  550. package/google/rpc/context/audit_context_grpc_pb.d.ts +1 -0
  551. package/google/rpc/context/audit_context_grpc_pb.js +1 -0
  552. package/google/rpc/context/audit_context_pb.d.ts +45 -0
  553. package/google/rpc/context/audit_context_pb.js +361 -0
  554. package/google/rpc/error_details_grpc_pb.d.ts +1 -0
  555. package/google/rpc/error_details_grpc_pb.js +1 -0
  556. package/google/rpc/error_details_pb.d.ts +325 -0
  557. package/google/rpc/error_details_pb.js +2717 -0
  558. package/google/rpc/http_grpc_pb.d.ts +1 -0
  559. package/google/rpc/http_grpc_pb.js +1 -0
  560. package/google/rpc/http_pb.d.ts +94 -0
  561. package/google/rpc/http_pb.js +795 -0
  562. package/google/rpc/status_grpc_pb.d.ts +1 -0
  563. package/google/rpc/status_grpc_pb.js +1 -0
  564. package/google/rpc/status_pb.d.ts +33 -0
  565. package/google/rpc/status_pb.js +265 -0
  566. package/google/type/calendar_period_grpc_pb.d.ts +1 -0
  567. package/google/type/calendar_period_grpc_pb.js +1 -0
  568. package/google/type/calendar_period_pb.d.ts +14 -0
  569. package/google/type/calendar_period_pb.js +36 -0
  570. package/google/type/color_grpc_pb.d.ts +1 -0
  571. package/google/type/color_grpc_pb.js +1 -0
  572. package/google/type/color_pb.d.ts +37 -0
  573. package/google/type/color_pb.js +286 -0
  574. package/google/type/date_grpc_pb.d.ts +1 -0
  575. package/google/type/date_grpc_pb.js +1 -0
  576. package/google/type/date_pb.d.ts +30 -0
  577. package/google/type/date_pb.js +233 -0
  578. package/google/type/datetime_grpc_pb.d.ts +1 -0
  579. package/google/type/datetime_grpc_pb.js +1 -0
  580. package/google/type/datetime_pb.d.ts +89 -0
  581. package/google/type/datetime_pb.js +666 -0
  582. package/google/type/dayofweek_grpc_pb.d.ts +1 -0
  583. package/google/type/dayofweek_grpc_pb.js +1 -0
  584. package/google/type/dayofweek_pb.d.ts +14 -0
  585. package/google/type/dayofweek_pb.js +36 -0
  586. package/google/type/decimal_grpc_pb.d.ts +1 -0
  587. package/google/type/decimal_grpc_pb.js +1 -0
  588. package/google/type/decimal_pb.d.ts +22 -0
  589. package/google/type/decimal_pb.js +173 -0
  590. package/google/type/expr_grpc_pb.d.ts +1 -0
  591. package/google/type/expr_grpc_pb.js +1 -0
  592. package/google/type/expr_pb.d.ts +34 -0
  593. package/google/type/expr_pb.js +263 -0
  594. package/google/type/fraction_grpc_pb.d.ts +1 -0
  595. package/google/type/fraction_grpc_pb.js +1 -0
  596. package/google/type/fraction_pb.d.ts +26 -0
  597. package/google/type/fraction_pb.js +203 -0
  598. package/google/type/interval_grpc_pb.d.ts +1 -0
  599. package/google/type/interval_grpc_pb.js +1 -0
  600. package/google/type/interval_pb.d.ts +31 -0
  601. package/google/type/interval_pb.js +247 -0
  602. package/google/type/latlng_grpc_pb.d.ts +1 -0
  603. package/google/type/latlng_grpc_pb.js +1 -0
  604. package/google/type/latlng_pb.d.ts +26 -0
  605. package/google/type/latlng_pb.js +203 -0
  606. package/google/type/localized_text_grpc_pb.d.ts +1 -0
  607. package/google/type/localized_text_grpc_pb.js +1 -0
  608. package/google/type/localized_text_pb.d.ts +26 -0
  609. package/google/type/localized_text_pb.js +203 -0
  610. package/google/type/money_grpc_pb.d.ts +1 -0
  611. package/google/type/money_grpc_pb.js +1 -0
  612. package/google/type/money_pb.d.ts +30 -0
  613. package/google/type/money_pb.js +233 -0
  614. package/google/type/month_grpc_pb.d.ts +1 -0
  615. package/google/type/month_grpc_pb.js +1 -0
  616. package/google/type/month_pb.d.ts +19 -0
  617. package/google/type/month_pb.js +41 -0
  618. package/google/type/phone_number_grpc_pb.d.ts +1 -0
  619. package/google/type/phone_number_grpc_pb.js +1 -0
  620. package/google/type/phone_number_pb.d.ts +63 -0
  621. package/google/type/phone_number_pb.js +481 -0
  622. package/google/type/postal_address_grpc_pb.d.ts +1 -0
  623. package/google/type/postal_address_grpc_pb.js +1 -0
  624. package/google/type/postal_address_pb.d.ts +66 -0
  625. package/google/type/postal_address_pb.js +518 -0
  626. package/google/type/quaternion_grpc_pb.d.ts +1 -0
  627. package/google/type/quaternion_grpc_pb.js +1 -0
  628. package/google/type/quaternion_pb.d.ts +34 -0
  629. package/google/type/quaternion_pb.js +263 -0
  630. package/google/type/timeofday_grpc_pb.d.ts +1 -0
  631. package/google/type/timeofday_grpc_pb.js +1 -0
  632. package/google/type/timeofday_pb.d.ts +34 -0
  633. package/google/type/timeofday_pb.js +263 -0
  634. package/lf/a2a/v1/a2a_grpc_pb.d.ts +73 -0
  635. package/lf/a2a/v1/a2a_grpc_pb.js +345 -0
  636. package/lf/a2a/v1/a2a_grpc_web_pb.d.ts +148 -0
  637. package/lf/a2a/v1/a2a_grpc_web_pb.js +753 -0
  638. package/lf/a2a/v1/a2a_pb.d.ts +1594 -0
  639. package/lf/a2a/v1/a2a_pb.js +12570 -0
  640. package/package.json +8 -0
@@ -0,0 +1,2370 @@
1
+ // source: google/api/serviceusage/v1/serviceusage.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = globalThis;
17
+
18
+ var google_api_annotations_pb = require('../../../../google/api/annotations_pb.js');
19
+ goog.object.extend(proto, google_api_annotations_pb);
20
+ var google_api_serviceusage_v1_resources_pb = require('../../../../google/api/serviceusage/v1/resources_pb.js');
21
+ goog.object.extend(proto, google_api_serviceusage_v1_resources_pb);
22
+ var google_longrunning_operations_pb = require('../../../../google/longrunning/operations_pb.js');
23
+ goog.object.extend(proto, google_longrunning_operations_pb);
24
+ var google_api_client_pb = require('../../../../google/api/client_pb.js');
25
+ goog.object.extend(proto, google_api_client_pb);
26
+ goog.exportSymbol('proto.google.api.serviceusage.v1.BatchEnableServicesRequest', null, global);
27
+ goog.exportSymbol('proto.google.api.serviceusage.v1.BatchEnableServicesResponse', null, global);
28
+ goog.exportSymbol('proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure', null, global);
29
+ goog.exportSymbol('proto.google.api.serviceusage.v1.BatchGetServicesRequest', null, global);
30
+ goog.exportSymbol('proto.google.api.serviceusage.v1.BatchGetServicesResponse', null, global);
31
+ goog.exportSymbol('proto.google.api.serviceusage.v1.DisableServiceRequest', null, global);
32
+ goog.exportSymbol('proto.google.api.serviceusage.v1.DisableServiceRequest.CheckIfServiceHasUsage', null, global);
33
+ goog.exportSymbol('proto.google.api.serviceusage.v1.DisableServiceResponse', null, global);
34
+ goog.exportSymbol('proto.google.api.serviceusage.v1.EnableServiceRequest', null, global);
35
+ goog.exportSymbol('proto.google.api.serviceusage.v1.EnableServiceResponse', null, global);
36
+ goog.exportSymbol('proto.google.api.serviceusage.v1.GetServiceRequest', null, global);
37
+ goog.exportSymbol('proto.google.api.serviceusage.v1.ListServicesRequest', null, global);
38
+ goog.exportSymbol('proto.google.api.serviceusage.v1.ListServicesResponse', null, global);
39
+ /**
40
+ * Generated by JsPbCodeGenerator.
41
+ * @param {Array=} opt_data Optional initial data array, typically from a
42
+ * server response, or constructed directly in Javascript. The array is used
43
+ * in place and becomes part of the constructed object. It is not cloned.
44
+ * If no data is provided, the constructed object will be empty, but still
45
+ * valid.
46
+ * @extends {jspb.Message}
47
+ * @constructor
48
+ */
49
+ proto.google.api.serviceusage.v1.EnableServiceRequest = function(opt_data) {
50
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
51
+ };
52
+ goog.inherits(proto.google.api.serviceusage.v1.EnableServiceRequest, jspb.Message);
53
+ if (goog.DEBUG && !COMPILED) {
54
+ /**
55
+ * @public
56
+ * @override
57
+ */
58
+ proto.google.api.serviceusage.v1.EnableServiceRequest.displayName = 'proto.google.api.serviceusage.v1.EnableServiceRequest';
59
+ }
60
+ /**
61
+ * Generated by JsPbCodeGenerator.
62
+ * @param {Array=} opt_data Optional initial data array, typically from a
63
+ * server response, or constructed directly in Javascript. The array is used
64
+ * in place and becomes part of the constructed object. It is not cloned.
65
+ * If no data is provided, the constructed object will be empty, but still
66
+ * valid.
67
+ * @extends {jspb.Message}
68
+ * @constructor
69
+ */
70
+ proto.google.api.serviceusage.v1.EnableServiceResponse = function(opt_data) {
71
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
72
+ };
73
+ goog.inherits(proto.google.api.serviceusage.v1.EnableServiceResponse, jspb.Message);
74
+ if (goog.DEBUG && !COMPILED) {
75
+ /**
76
+ * @public
77
+ * @override
78
+ */
79
+ proto.google.api.serviceusage.v1.EnableServiceResponse.displayName = 'proto.google.api.serviceusage.v1.EnableServiceResponse';
80
+ }
81
+ /**
82
+ * Generated by JsPbCodeGenerator.
83
+ * @param {Array=} opt_data Optional initial data array, typically from a
84
+ * server response, or constructed directly in Javascript. The array is used
85
+ * in place and becomes part of the constructed object. It is not cloned.
86
+ * If no data is provided, the constructed object will be empty, but still
87
+ * valid.
88
+ * @extends {jspb.Message}
89
+ * @constructor
90
+ */
91
+ proto.google.api.serviceusage.v1.DisableServiceRequest = function(opt_data) {
92
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
93
+ };
94
+ goog.inherits(proto.google.api.serviceusage.v1.DisableServiceRequest, jspb.Message);
95
+ if (goog.DEBUG && !COMPILED) {
96
+ /**
97
+ * @public
98
+ * @override
99
+ */
100
+ proto.google.api.serviceusage.v1.DisableServiceRequest.displayName = 'proto.google.api.serviceusage.v1.DisableServiceRequest';
101
+ }
102
+ /**
103
+ * Generated by JsPbCodeGenerator.
104
+ * @param {Array=} opt_data Optional initial data array, typically from a
105
+ * server response, or constructed directly in Javascript. The array is used
106
+ * in place and becomes part of the constructed object. It is not cloned.
107
+ * If no data is provided, the constructed object will be empty, but still
108
+ * valid.
109
+ * @extends {jspb.Message}
110
+ * @constructor
111
+ */
112
+ proto.google.api.serviceusage.v1.DisableServiceResponse = function(opt_data) {
113
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
114
+ };
115
+ goog.inherits(proto.google.api.serviceusage.v1.DisableServiceResponse, jspb.Message);
116
+ if (goog.DEBUG && !COMPILED) {
117
+ /**
118
+ * @public
119
+ * @override
120
+ */
121
+ proto.google.api.serviceusage.v1.DisableServiceResponse.displayName = 'proto.google.api.serviceusage.v1.DisableServiceResponse';
122
+ }
123
+ /**
124
+ * Generated by JsPbCodeGenerator.
125
+ * @param {Array=} opt_data Optional initial data array, typically from a
126
+ * server response, or constructed directly in Javascript. The array is used
127
+ * in place and becomes part of the constructed object. It is not cloned.
128
+ * If no data is provided, the constructed object will be empty, but still
129
+ * valid.
130
+ * @extends {jspb.Message}
131
+ * @constructor
132
+ */
133
+ proto.google.api.serviceusage.v1.GetServiceRequest = function(opt_data) {
134
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
135
+ };
136
+ goog.inherits(proto.google.api.serviceusage.v1.GetServiceRequest, jspb.Message);
137
+ if (goog.DEBUG && !COMPILED) {
138
+ /**
139
+ * @public
140
+ * @override
141
+ */
142
+ proto.google.api.serviceusage.v1.GetServiceRequest.displayName = 'proto.google.api.serviceusage.v1.GetServiceRequest';
143
+ }
144
+ /**
145
+ * Generated by JsPbCodeGenerator.
146
+ * @param {Array=} opt_data Optional initial data array, typically from a
147
+ * server response, or constructed directly in Javascript. The array is used
148
+ * in place and becomes part of the constructed object. It is not cloned.
149
+ * If no data is provided, the constructed object will be empty, but still
150
+ * valid.
151
+ * @extends {jspb.Message}
152
+ * @constructor
153
+ */
154
+ proto.google.api.serviceusage.v1.ListServicesRequest = function(opt_data) {
155
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
156
+ };
157
+ goog.inherits(proto.google.api.serviceusage.v1.ListServicesRequest, jspb.Message);
158
+ if (goog.DEBUG && !COMPILED) {
159
+ /**
160
+ * @public
161
+ * @override
162
+ */
163
+ proto.google.api.serviceusage.v1.ListServicesRequest.displayName = 'proto.google.api.serviceusage.v1.ListServicesRequest';
164
+ }
165
+ /**
166
+ * Generated by JsPbCodeGenerator.
167
+ * @param {Array=} opt_data Optional initial data array, typically from a
168
+ * server response, or constructed directly in Javascript. The array is used
169
+ * in place and becomes part of the constructed object. It is not cloned.
170
+ * If no data is provided, the constructed object will be empty, but still
171
+ * valid.
172
+ * @extends {jspb.Message}
173
+ * @constructor
174
+ */
175
+ proto.google.api.serviceusage.v1.ListServicesResponse = function(opt_data) {
176
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.serviceusage.v1.ListServicesResponse.repeatedFields_, null);
177
+ };
178
+ goog.inherits(proto.google.api.serviceusage.v1.ListServicesResponse, jspb.Message);
179
+ if (goog.DEBUG && !COMPILED) {
180
+ /**
181
+ * @public
182
+ * @override
183
+ */
184
+ proto.google.api.serviceusage.v1.ListServicesResponse.displayName = 'proto.google.api.serviceusage.v1.ListServicesResponse';
185
+ }
186
+ /**
187
+ * Generated by JsPbCodeGenerator.
188
+ * @param {Array=} opt_data Optional initial data array, typically from a
189
+ * server response, or constructed directly in Javascript. The array is used
190
+ * in place and becomes part of the constructed object. It is not cloned.
191
+ * If no data is provided, the constructed object will be empty, but still
192
+ * valid.
193
+ * @extends {jspb.Message}
194
+ * @constructor
195
+ */
196
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest = function(opt_data) {
197
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.serviceusage.v1.BatchEnableServicesRequest.repeatedFields_, null);
198
+ };
199
+ goog.inherits(proto.google.api.serviceusage.v1.BatchEnableServicesRequest, jspb.Message);
200
+ if (goog.DEBUG && !COMPILED) {
201
+ /**
202
+ * @public
203
+ * @override
204
+ */
205
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.displayName = 'proto.google.api.serviceusage.v1.BatchEnableServicesRequest';
206
+ }
207
+ /**
208
+ * Generated by JsPbCodeGenerator.
209
+ * @param {Array=} opt_data Optional initial data array, typically from a
210
+ * server response, or constructed directly in Javascript. The array is used
211
+ * in place and becomes part of the constructed object. It is not cloned.
212
+ * If no data is provided, the constructed object will be empty, but still
213
+ * valid.
214
+ * @extends {jspb.Message}
215
+ * @constructor
216
+ */
217
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse = function(opt_data) {
218
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.serviceusage.v1.BatchEnableServicesResponse.repeatedFields_, null);
219
+ };
220
+ goog.inherits(proto.google.api.serviceusage.v1.BatchEnableServicesResponse, jspb.Message);
221
+ if (goog.DEBUG && !COMPILED) {
222
+ /**
223
+ * @public
224
+ * @override
225
+ */
226
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.displayName = 'proto.google.api.serviceusage.v1.BatchEnableServicesResponse';
227
+ }
228
+ /**
229
+ * Generated by JsPbCodeGenerator.
230
+ * @param {Array=} opt_data Optional initial data array, typically from a
231
+ * server response, or constructed directly in Javascript. The array is used
232
+ * in place and becomes part of the constructed object. It is not cloned.
233
+ * If no data is provided, the constructed object will be empty, but still
234
+ * valid.
235
+ * @extends {jspb.Message}
236
+ * @constructor
237
+ */
238
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure = function(opt_data) {
239
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
240
+ };
241
+ goog.inherits(proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure, jspb.Message);
242
+ if (goog.DEBUG && !COMPILED) {
243
+ /**
244
+ * @public
245
+ * @override
246
+ */
247
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.displayName = 'proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure';
248
+ }
249
+ /**
250
+ * Generated by JsPbCodeGenerator.
251
+ * @param {Array=} opt_data Optional initial data array, typically from a
252
+ * server response, or constructed directly in Javascript. The array is used
253
+ * in place and becomes part of the constructed object. It is not cloned.
254
+ * If no data is provided, the constructed object will be empty, but still
255
+ * valid.
256
+ * @extends {jspb.Message}
257
+ * @constructor
258
+ */
259
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest = function(opt_data) {
260
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.serviceusage.v1.BatchGetServicesRequest.repeatedFields_, null);
261
+ };
262
+ goog.inherits(proto.google.api.serviceusage.v1.BatchGetServicesRequest, jspb.Message);
263
+ if (goog.DEBUG && !COMPILED) {
264
+ /**
265
+ * @public
266
+ * @override
267
+ */
268
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.displayName = 'proto.google.api.serviceusage.v1.BatchGetServicesRequest';
269
+ }
270
+ /**
271
+ * Generated by JsPbCodeGenerator.
272
+ * @param {Array=} opt_data Optional initial data array, typically from a
273
+ * server response, or constructed directly in Javascript. The array is used
274
+ * in place and becomes part of the constructed object. It is not cloned.
275
+ * If no data is provided, the constructed object will be empty, but still
276
+ * valid.
277
+ * @extends {jspb.Message}
278
+ * @constructor
279
+ */
280
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse = function(opt_data) {
281
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.serviceusage.v1.BatchGetServicesResponse.repeatedFields_, null);
282
+ };
283
+ goog.inherits(proto.google.api.serviceusage.v1.BatchGetServicesResponse, jspb.Message);
284
+ if (goog.DEBUG && !COMPILED) {
285
+ /**
286
+ * @public
287
+ * @override
288
+ */
289
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.displayName = 'proto.google.api.serviceusage.v1.BatchGetServicesResponse';
290
+ }
291
+
292
+
293
+
294
+ if (jspb.Message.GENERATE_TO_OBJECT) {
295
+ /**
296
+ * Creates an object representation of this proto.
297
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
298
+ * Optional fields that are not set will be set to undefined.
299
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
300
+ * For the list of reserved names please see:
301
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
302
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
303
+ * JSPB instance for transitional soy proto support:
304
+ * http://goto/soy-param-migration
305
+ * @return {!Object}
306
+ */
307
+ proto.google.api.serviceusage.v1.EnableServiceRequest.prototype.toObject = function(opt_includeInstance) {
308
+ return proto.google.api.serviceusage.v1.EnableServiceRequest.toObject(opt_includeInstance, this);
309
+ };
310
+
311
+
312
+ /**
313
+ * Static version of the {@see toObject} method.
314
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
315
+ * the JSPB instance for transitional soy proto support:
316
+ * http://goto/soy-param-migration
317
+ * @param {!proto.google.api.serviceusage.v1.EnableServiceRequest} msg The msg instance to transform.
318
+ * @return {!Object}
319
+ * @suppress {unusedLocalVariables} f is only used for nested messages
320
+ */
321
+ proto.google.api.serviceusage.v1.EnableServiceRequest.toObject = function(includeInstance, msg) {
322
+ var f, obj = {
323
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
324
+ };
325
+
326
+ if (includeInstance) {
327
+ obj.$jspbMessageInstance = msg;
328
+ }
329
+ return obj;
330
+ };
331
+ }
332
+
333
+
334
+ /**
335
+ * Deserializes binary data (in protobuf wire format).
336
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
337
+ * @return {!proto.google.api.serviceusage.v1.EnableServiceRequest}
338
+ */
339
+ proto.google.api.serviceusage.v1.EnableServiceRequest.deserializeBinary = function(bytes) {
340
+ var reader = new jspb.BinaryReader(bytes);
341
+ var msg = new proto.google.api.serviceusage.v1.EnableServiceRequest;
342
+ return proto.google.api.serviceusage.v1.EnableServiceRequest.deserializeBinaryFromReader(msg, reader);
343
+ };
344
+
345
+
346
+ /**
347
+ * Deserializes binary data (in protobuf wire format) from the
348
+ * given reader into the given message object.
349
+ * @param {!proto.google.api.serviceusage.v1.EnableServiceRequest} msg The message object to deserialize into.
350
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
351
+ * @return {!proto.google.api.serviceusage.v1.EnableServiceRequest}
352
+ */
353
+ proto.google.api.serviceusage.v1.EnableServiceRequest.deserializeBinaryFromReader = function(msg, reader) {
354
+ while (reader.nextField()) {
355
+ if (reader.isEndGroup()) {
356
+ break;
357
+ }
358
+ var field = reader.getFieldNumber();
359
+ switch (field) {
360
+ case 1:
361
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
362
+ msg.setName(value);
363
+ break;
364
+ default:
365
+ reader.skipField();
366
+ break;
367
+ }
368
+ }
369
+ return msg;
370
+ };
371
+
372
+
373
+ /**
374
+ * Serializes the message to binary data (in protobuf wire format).
375
+ * @return {!Uint8Array}
376
+ */
377
+ proto.google.api.serviceusage.v1.EnableServiceRequest.prototype.serializeBinary = function() {
378
+ var writer = new jspb.BinaryWriter();
379
+ proto.google.api.serviceusage.v1.EnableServiceRequest.serializeBinaryToWriter(this, writer);
380
+ return writer.getResultBuffer();
381
+ };
382
+
383
+
384
+ /**
385
+ * Serializes the given message to binary data (in protobuf wire
386
+ * format), writing to the given BinaryWriter.
387
+ * @param {!proto.google.api.serviceusage.v1.EnableServiceRequest} message
388
+ * @param {!jspb.BinaryWriter} writer
389
+ * @suppress {unusedLocalVariables} f is only used for nested messages
390
+ */
391
+ proto.google.api.serviceusage.v1.EnableServiceRequest.serializeBinaryToWriter = function(message, writer) {
392
+ var f = undefined;
393
+ f = message.getName();
394
+ if (f.length > 0) {
395
+ writer.writeString(
396
+ 1,
397
+ f
398
+ );
399
+ }
400
+ };
401
+
402
+
403
+ /**
404
+ * optional string name = 1;
405
+ * @return {string}
406
+ */
407
+ proto.google.api.serviceusage.v1.EnableServiceRequest.prototype.getName = function() {
408
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
409
+ };
410
+
411
+
412
+ /**
413
+ * @param {string} value
414
+ * @return {!proto.google.api.serviceusage.v1.EnableServiceRequest} returns this
415
+ */
416
+ proto.google.api.serviceusage.v1.EnableServiceRequest.prototype.setName = function(value) {
417
+ return jspb.Message.setProto3StringField(this, 1, value);
418
+ };
419
+
420
+
421
+
422
+
423
+
424
+ if (jspb.Message.GENERATE_TO_OBJECT) {
425
+ /**
426
+ * Creates an object representation of this proto.
427
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
428
+ * Optional fields that are not set will be set to undefined.
429
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
430
+ * For the list of reserved names please see:
431
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
432
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
433
+ * JSPB instance for transitional soy proto support:
434
+ * http://goto/soy-param-migration
435
+ * @return {!Object}
436
+ */
437
+ proto.google.api.serviceusage.v1.EnableServiceResponse.prototype.toObject = function(opt_includeInstance) {
438
+ return proto.google.api.serviceusage.v1.EnableServiceResponse.toObject(opt_includeInstance, this);
439
+ };
440
+
441
+
442
+ /**
443
+ * Static version of the {@see toObject} method.
444
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
445
+ * the JSPB instance for transitional soy proto support:
446
+ * http://goto/soy-param-migration
447
+ * @param {!proto.google.api.serviceusage.v1.EnableServiceResponse} msg The msg instance to transform.
448
+ * @return {!Object}
449
+ * @suppress {unusedLocalVariables} f is only used for nested messages
450
+ */
451
+ proto.google.api.serviceusage.v1.EnableServiceResponse.toObject = function(includeInstance, msg) {
452
+ var f, obj = {
453
+ service: (f = msg.getService()) && google_api_serviceusage_v1_resources_pb.Service.toObject(includeInstance, f)
454
+ };
455
+
456
+ if (includeInstance) {
457
+ obj.$jspbMessageInstance = msg;
458
+ }
459
+ return obj;
460
+ };
461
+ }
462
+
463
+
464
+ /**
465
+ * Deserializes binary data (in protobuf wire format).
466
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
467
+ * @return {!proto.google.api.serviceusage.v1.EnableServiceResponse}
468
+ */
469
+ proto.google.api.serviceusage.v1.EnableServiceResponse.deserializeBinary = function(bytes) {
470
+ var reader = new jspb.BinaryReader(bytes);
471
+ var msg = new proto.google.api.serviceusage.v1.EnableServiceResponse;
472
+ return proto.google.api.serviceusage.v1.EnableServiceResponse.deserializeBinaryFromReader(msg, reader);
473
+ };
474
+
475
+
476
+ /**
477
+ * Deserializes binary data (in protobuf wire format) from the
478
+ * given reader into the given message object.
479
+ * @param {!proto.google.api.serviceusage.v1.EnableServiceResponse} msg The message object to deserialize into.
480
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
481
+ * @return {!proto.google.api.serviceusage.v1.EnableServiceResponse}
482
+ */
483
+ proto.google.api.serviceusage.v1.EnableServiceResponse.deserializeBinaryFromReader = function(msg, reader) {
484
+ while (reader.nextField()) {
485
+ if (reader.isEndGroup()) {
486
+ break;
487
+ }
488
+ var field = reader.getFieldNumber();
489
+ switch (field) {
490
+ case 1:
491
+ var value = new google_api_serviceusage_v1_resources_pb.Service;
492
+ reader.readMessage(value,google_api_serviceusage_v1_resources_pb.Service.deserializeBinaryFromReader);
493
+ msg.setService(value);
494
+ break;
495
+ default:
496
+ reader.skipField();
497
+ break;
498
+ }
499
+ }
500
+ return msg;
501
+ };
502
+
503
+
504
+ /**
505
+ * Serializes the message to binary data (in protobuf wire format).
506
+ * @return {!Uint8Array}
507
+ */
508
+ proto.google.api.serviceusage.v1.EnableServiceResponse.prototype.serializeBinary = function() {
509
+ var writer = new jspb.BinaryWriter();
510
+ proto.google.api.serviceusage.v1.EnableServiceResponse.serializeBinaryToWriter(this, writer);
511
+ return writer.getResultBuffer();
512
+ };
513
+
514
+
515
+ /**
516
+ * Serializes the given message to binary data (in protobuf wire
517
+ * format), writing to the given BinaryWriter.
518
+ * @param {!proto.google.api.serviceusage.v1.EnableServiceResponse} message
519
+ * @param {!jspb.BinaryWriter} writer
520
+ * @suppress {unusedLocalVariables} f is only used for nested messages
521
+ */
522
+ proto.google.api.serviceusage.v1.EnableServiceResponse.serializeBinaryToWriter = function(message, writer) {
523
+ var f = undefined;
524
+ f = message.getService();
525
+ if (f != null) {
526
+ writer.writeMessage(
527
+ 1,
528
+ f,
529
+ google_api_serviceusage_v1_resources_pb.Service.serializeBinaryToWriter
530
+ );
531
+ }
532
+ };
533
+
534
+
535
+ /**
536
+ * optional Service service = 1;
537
+ * @return {?proto.google.api.serviceusage.v1.Service}
538
+ */
539
+ proto.google.api.serviceusage.v1.EnableServiceResponse.prototype.getService = function() {
540
+ return /** @type{?proto.google.api.serviceusage.v1.Service} */ (
541
+ jspb.Message.getWrapperField(this, google_api_serviceusage_v1_resources_pb.Service, 1));
542
+ };
543
+
544
+
545
+ /**
546
+ * @param {?proto.google.api.serviceusage.v1.Service|undefined} value
547
+ * @return {!proto.google.api.serviceusage.v1.EnableServiceResponse} returns this
548
+ */
549
+ proto.google.api.serviceusage.v1.EnableServiceResponse.prototype.setService = function(value) {
550
+ return jspb.Message.setWrapperField(this, 1, value);
551
+ };
552
+
553
+
554
+ /**
555
+ * Clears the message field making it undefined.
556
+ * @return {!proto.google.api.serviceusage.v1.EnableServiceResponse} returns this
557
+ */
558
+ proto.google.api.serviceusage.v1.EnableServiceResponse.prototype.clearService = function() {
559
+ return this.setService(undefined);
560
+ };
561
+
562
+
563
+ /**
564
+ * Returns whether this field is set.
565
+ * @return {boolean}
566
+ */
567
+ proto.google.api.serviceusage.v1.EnableServiceResponse.prototype.hasService = function() {
568
+ return jspb.Message.getField(this, 1) != null;
569
+ };
570
+
571
+
572
+
573
+
574
+
575
+ if (jspb.Message.GENERATE_TO_OBJECT) {
576
+ /**
577
+ * Creates an object representation of this proto.
578
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
579
+ * Optional fields that are not set will be set to undefined.
580
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
581
+ * For the list of reserved names please see:
582
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
583
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
584
+ * JSPB instance for transitional soy proto support:
585
+ * http://goto/soy-param-migration
586
+ * @return {!Object}
587
+ */
588
+ proto.google.api.serviceusage.v1.DisableServiceRequest.prototype.toObject = function(opt_includeInstance) {
589
+ return proto.google.api.serviceusage.v1.DisableServiceRequest.toObject(opt_includeInstance, this);
590
+ };
591
+
592
+
593
+ /**
594
+ * Static version of the {@see toObject} method.
595
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
596
+ * the JSPB instance for transitional soy proto support:
597
+ * http://goto/soy-param-migration
598
+ * @param {!proto.google.api.serviceusage.v1.DisableServiceRequest} msg The msg instance to transform.
599
+ * @return {!Object}
600
+ * @suppress {unusedLocalVariables} f is only used for nested messages
601
+ */
602
+ proto.google.api.serviceusage.v1.DisableServiceRequest.toObject = function(includeInstance, msg) {
603
+ var f, obj = {
604
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
605
+ disableDependentServices: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
606
+ checkIfServiceHasUsage: jspb.Message.getFieldWithDefault(msg, 3, 0)
607
+ };
608
+
609
+ if (includeInstance) {
610
+ obj.$jspbMessageInstance = msg;
611
+ }
612
+ return obj;
613
+ };
614
+ }
615
+
616
+
617
+ /**
618
+ * Deserializes binary data (in protobuf wire format).
619
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
620
+ * @return {!proto.google.api.serviceusage.v1.DisableServiceRequest}
621
+ */
622
+ proto.google.api.serviceusage.v1.DisableServiceRequest.deserializeBinary = function(bytes) {
623
+ var reader = new jspb.BinaryReader(bytes);
624
+ var msg = new proto.google.api.serviceusage.v1.DisableServiceRequest;
625
+ return proto.google.api.serviceusage.v1.DisableServiceRequest.deserializeBinaryFromReader(msg, reader);
626
+ };
627
+
628
+
629
+ /**
630
+ * Deserializes binary data (in protobuf wire format) from the
631
+ * given reader into the given message object.
632
+ * @param {!proto.google.api.serviceusage.v1.DisableServiceRequest} msg The message object to deserialize into.
633
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
634
+ * @return {!proto.google.api.serviceusage.v1.DisableServiceRequest}
635
+ */
636
+ proto.google.api.serviceusage.v1.DisableServiceRequest.deserializeBinaryFromReader = function(msg, reader) {
637
+ while (reader.nextField()) {
638
+ if (reader.isEndGroup()) {
639
+ break;
640
+ }
641
+ var field = reader.getFieldNumber();
642
+ switch (field) {
643
+ case 1:
644
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
645
+ msg.setName(value);
646
+ break;
647
+ case 2:
648
+ var value = /** @type {boolean} */ (reader.readBool());
649
+ msg.setDisableDependentServices(value);
650
+ break;
651
+ case 3:
652
+ var value = /** @type {!proto.google.api.serviceusage.v1.DisableServiceRequest.CheckIfServiceHasUsage} */ (reader.readEnum());
653
+ msg.setCheckIfServiceHasUsage(value);
654
+ break;
655
+ default:
656
+ reader.skipField();
657
+ break;
658
+ }
659
+ }
660
+ return msg;
661
+ };
662
+
663
+
664
+ /**
665
+ * Serializes the message to binary data (in protobuf wire format).
666
+ * @return {!Uint8Array}
667
+ */
668
+ proto.google.api.serviceusage.v1.DisableServiceRequest.prototype.serializeBinary = function() {
669
+ var writer = new jspb.BinaryWriter();
670
+ proto.google.api.serviceusage.v1.DisableServiceRequest.serializeBinaryToWriter(this, writer);
671
+ return writer.getResultBuffer();
672
+ };
673
+
674
+
675
+ /**
676
+ * Serializes the given message to binary data (in protobuf wire
677
+ * format), writing to the given BinaryWriter.
678
+ * @param {!proto.google.api.serviceusage.v1.DisableServiceRequest} message
679
+ * @param {!jspb.BinaryWriter} writer
680
+ * @suppress {unusedLocalVariables} f is only used for nested messages
681
+ */
682
+ proto.google.api.serviceusage.v1.DisableServiceRequest.serializeBinaryToWriter = function(message, writer) {
683
+ var f = undefined;
684
+ f = message.getName();
685
+ if (f.length > 0) {
686
+ writer.writeString(
687
+ 1,
688
+ f
689
+ );
690
+ }
691
+ f = message.getDisableDependentServices();
692
+ if (f) {
693
+ writer.writeBool(
694
+ 2,
695
+ f
696
+ );
697
+ }
698
+ f = message.getCheckIfServiceHasUsage();
699
+ if (f !== 0.0) {
700
+ writer.writeEnum(
701
+ 3,
702
+ f
703
+ );
704
+ }
705
+ };
706
+
707
+
708
+ /**
709
+ * @enum {number}
710
+ */
711
+ proto.google.api.serviceusage.v1.DisableServiceRequest.CheckIfServiceHasUsage = {
712
+ CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED: 0,
713
+ SKIP: 1,
714
+ CHECK: 2
715
+ };
716
+
717
+ /**
718
+ * optional string name = 1;
719
+ * @return {string}
720
+ */
721
+ proto.google.api.serviceusage.v1.DisableServiceRequest.prototype.getName = function() {
722
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
723
+ };
724
+
725
+
726
+ /**
727
+ * @param {string} value
728
+ * @return {!proto.google.api.serviceusage.v1.DisableServiceRequest} returns this
729
+ */
730
+ proto.google.api.serviceusage.v1.DisableServiceRequest.prototype.setName = function(value) {
731
+ return jspb.Message.setProto3StringField(this, 1, value);
732
+ };
733
+
734
+
735
+ /**
736
+ * optional bool disable_dependent_services = 2;
737
+ * @return {boolean}
738
+ */
739
+ proto.google.api.serviceusage.v1.DisableServiceRequest.prototype.getDisableDependentServices = function() {
740
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
741
+ };
742
+
743
+
744
+ /**
745
+ * @param {boolean} value
746
+ * @return {!proto.google.api.serviceusage.v1.DisableServiceRequest} returns this
747
+ */
748
+ proto.google.api.serviceusage.v1.DisableServiceRequest.prototype.setDisableDependentServices = function(value) {
749
+ return jspb.Message.setProto3BooleanField(this, 2, value);
750
+ };
751
+
752
+
753
+ /**
754
+ * optional CheckIfServiceHasUsage check_if_service_has_usage = 3;
755
+ * @return {!proto.google.api.serviceusage.v1.DisableServiceRequest.CheckIfServiceHasUsage}
756
+ */
757
+ proto.google.api.serviceusage.v1.DisableServiceRequest.prototype.getCheckIfServiceHasUsage = function() {
758
+ return /** @type {!proto.google.api.serviceusage.v1.DisableServiceRequest.CheckIfServiceHasUsage} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
759
+ };
760
+
761
+
762
+ /**
763
+ * @param {!proto.google.api.serviceusage.v1.DisableServiceRequest.CheckIfServiceHasUsage} value
764
+ * @return {!proto.google.api.serviceusage.v1.DisableServiceRequest} returns this
765
+ */
766
+ proto.google.api.serviceusage.v1.DisableServiceRequest.prototype.setCheckIfServiceHasUsage = function(value) {
767
+ return jspb.Message.setProto3EnumField(this, 3, value);
768
+ };
769
+
770
+
771
+
772
+
773
+
774
+ if (jspb.Message.GENERATE_TO_OBJECT) {
775
+ /**
776
+ * Creates an object representation of this proto.
777
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
778
+ * Optional fields that are not set will be set to undefined.
779
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
780
+ * For the list of reserved names please see:
781
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
782
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
783
+ * JSPB instance for transitional soy proto support:
784
+ * http://goto/soy-param-migration
785
+ * @return {!Object}
786
+ */
787
+ proto.google.api.serviceusage.v1.DisableServiceResponse.prototype.toObject = function(opt_includeInstance) {
788
+ return proto.google.api.serviceusage.v1.DisableServiceResponse.toObject(opt_includeInstance, this);
789
+ };
790
+
791
+
792
+ /**
793
+ * Static version of the {@see toObject} method.
794
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
795
+ * the JSPB instance for transitional soy proto support:
796
+ * http://goto/soy-param-migration
797
+ * @param {!proto.google.api.serviceusage.v1.DisableServiceResponse} msg The msg instance to transform.
798
+ * @return {!Object}
799
+ * @suppress {unusedLocalVariables} f is only used for nested messages
800
+ */
801
+ proto.google.api.serviceusage.v1.DisableServiceResponse.toObject = function(includeInstance, msg) {
802
+ var f, obj = {
803
+ service: (f = msg.getService()) && google_api_serviceusage_v1_resources_pb.Service.toObject(includeInstance, f)
804
+ };
805
+
806
+ if (includeInstance) {
807
+ obj.$jspbMessageInstance = msg;
808
+ }
809
+ return obj;
810
+ };
811
+ }
812
+
813
+
814
+ /**
815
+ * Deserializes binary data (in protobuf wire format).
816
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
817
+ * @return {!proto.google.api.serviceusage.v1.DisableServiceResponse}
818
+ */
819
+ proto.google.api.serviceusage.v1.DisableServiceResponse.deserializeBinary = function(bytes) {
820
+ var reader = new jspb.BinaryReader(bytes);
821
+ var msg = new proto.google.api.serviceusage.v1.DisableServiceResponse;
822
+ return proto.google.api.serviceusage.v1.DisableServiceResponse.deserializeBinaryFromReader(msg, reader);
823
+ };
824
+
825
+
826
+ /**
827
+ * Deserializes binary data (in protobuf wire format) from the
828
+ * given reader into the given message object.
829
+ * @param {!proto.google.api.serviceusage.v1.DisableServiceResponse} msg The message object to deserialize into.
830
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
831
+ * @return {!proto.google.api.serviceusage.v1.DisableServiceResponse}
832
+ */
833
+ proto.google.api.serviceusage.v1.DisableServiceResponse.deserializeBinaryFromReader = function(msg, reader) {
834
+ while (reader.nextField()) {
835
+ if (reader.isEndGroup()) {
836
+ break;
837
+ }
838
+ var field = reader.getFieldNumber();
839
+ switch (field) {
840
+ case 1:
841
+ var value = new google_api_serviceusage_v1_resources_pb.Service;
842
+ reader.readMessage(value,google_api_serviceusage_v1_resources_pb.Service.deserializeBinaryFromReader);
843
+ msg.setService(value);
844
+ break;
845
+ default:
846
+ reader.skipField();
847
+ break;
848
+ }
849
+ }
850
+ return msg;
851
+ };
852
+
853
+
854
+ /**
855
+ * Serializes the message to binary data (in protobuf wire format).
856
+ * @return {!Uint8Array}
857
+ */
858
+ proto.google.api.serviceusage.v1.DisableServiceResponse.prototype.serializeBinary = function() {
859
+ var writer = new jspb.BinaryWriter();
860
+ proto.google.api.serviceusage.v1.DisableServiceResponse.serializeBinaryToWriter(this, writer);
861
+ return writer.getResultBuffer();
862
+ };
863
+
864
+
865
+ /**
866
+ * Serializes the given message to binary data (in protobuf wire
867
+ * format), writing to the given BinaryWriter.
868
+ * @param {!proto.google.api.serviceusage.v1.DisableServiceResponse} message
869
+ * @param {!jspb.BinaryWriter} writer
870
+ * @suppress {unusedLocalVariables} f is only used for nested messages
871
+ */
872
+ proto.google.api.serviceusage.v1.DisableServiceResponse.serializeBinaryToWriter = function(message, writer) {
873
+ var f = undefined;
874
+ f = message.getService();
875
+ if (f != null) {
876
+ writer.writeMessage(
877
+ 1,
878
+ f,
879
+ google_api_serviceusage_v1_resources_pb.Service.serializeBinaryToWriter
880
+ );
881
+ }
882
+ };
883
+
884
+
885
+ /**
886
+ * optional Service service = 1;
887
+ * @return {?proto.google.api.serviceusage.v1.Service}
888
+ */
889
+ proto.google.api.serviceusage.v1.DisableServiceResponse.prototype.getService = function() {
890
+ return /** @type{?proto.google.api.serviceusage.v1.Service} */ (
891
+ jspb.Message.getWrapperField(this, google_api_serviceusage_v1_resources_pb.Service, 1));
892
+ };
893
+
894
+
895
+ /**
896
+ * @param {?proto.google.api.serviceusage.v1.Service|undefined} value
897
+ * @return {!proto.google.api.serviceusage.v1.DisableServiceResponse} returns this
898
+ */
899
+ proto.google.api.serviceusage.v1.DisableServiceResponse.prototype.setService = function(value) {
900
+ return jspb.Message.setWrapperField(this, 1, value);
901
+ };
902
+
903
+
904
+ /**
905
+ * Clears the message field making it undefined.
906
+ * @return {!proto.google.api.serviceusage.v1.DisableServiceResponse} returns this
907
+ */
908
+ proto.google.api.serviceusage.v1.DisableServiceResponse.prototype.clearService = function() {
909
+ return this.setService(undefined);
910
+ };
911
+
912
+
913
+ /**
914
+ * Returns whether this field is set.
915
+ * @return {boolean}
916
+ */
917
+ proto.google.api.serviceusage.v1.DisableServiceResponse.prototype.hasService = function() {
918
+ return jspb.Message.getField(this, 1) != null;
919
+ };
920
+
921
+
922
+
923
+
924
+
925
+ if (jspb.Message.GENERATE_TO_OBJECT) {
926
+ /**
927
+ * Creates an object representation of this proto.
928
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
929
+ * Optional fields that are not set will be set to undefined.
930
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
931
+ * For the list of reserved names please see:
932
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
933
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
934
+ * JSPB instance for transitional soy proto support:
935
+ * http://goto/soy-param-migration
936
+ * @return {!Object}
937
+ */
938
+ proto.google.api.serviceusage.v1.GetServiceRequest.prototype.toObject = function(opt_includeInstance) {
939
+ return proto.google.api.serviceusage.v1.GetServiceRequest.toObject(opt_includeInstance, this);
940
+ };
941
+
942
+
943
+ /**
944
+ * Static version of the {@see toObject} method.
945
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
946
+ * the JSPB instance for transitional soy proto support:
947
+ * http://goto/soy-param-migration
948
+ * @param {!proto.google.api.serviceusage.v1.GetServiceRequest} msg The msg instance to transform.
949
+ * @return {!Object}
950
+ * @suppress {unusedLocalVariables} f is only used for nested messages
951
+ */
952
+ proto.google.api.serviceusage.v1.GetServiceRequest.toObject = function(includeInstance, msg) {
953
+ var f, obj = {
954
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
955
+ };
956
+
957
+ if (includeInstance) {
958
+ obj.$jspbMessageInstance = msg;
959
+ }
960
+ return obj;
961
+ };
962
+ }
963
+
964
+
965
+ /**
966
+ * Deserializes binary data (in protobuf wire format).
967
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
968
+ * @return {!proto.google.api.serviceusage.v1.GetServiceRequest}
969
+ */
970
+ proto.google.api.serviceusage.v1.GetServiceRequest.deserializeBinary = function(bytes) {
971
+ var reader = new jspb.BinaryReader(bytes);
972
+ var msg = new proto.google.api.serviceusage.v1.GetServiceRequest;
973
+ return proto.google.api.serviceusage.v1.GetServiceRequest.deserializeBinaryFromReader(msg, reader);
974
+ };
975
+
976
+
977
+ /**
978
+ * Deserializes binary data (in protobuf wire format) from the
979
+ * given reader into the given message object.
980
+ * @param {!proto.google.api.serviceusage.v1.GetServiceRequest} msg The message object to deserialize into.
981
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
982
+ * @return {!proto.google.api.serviceusage.v1.GetServiceRequest}
983
+ */
984
+ proto.google.api.serviceusage.v1.GetServiceRequest.deserializeBinaryFromReader = function(msg, reader) {
985
+ while (reader.nextField()) {
986
+ if (reader.isEndGroup()) {
987
+ break;
988
+ }
989
+ var field = reader.getFieldNumber();
990
+ switch (field) {
991
+ case 1:
992
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
993
+ msg.setName(value);
994
+ break;
995
+ default:
996
+ reader.skipField();
997
+ break;
998
+ }
999
+ }
1000
+ return msg;
1001
+ };
1002
+
1003
+
1004
+ /**
1005
+ * Serializes the message to binary data (in protobuf wire format).
1006
+ * @return {!Uint8Array}
1007
+ */
1008
+ proto.google.api.serviceusage.v1.GetServiceRequest.prototype.serializeBinary = function() {
1009
+ var writer = new jspb.BinaryWriter();
1010
+ proto.google.api.serviceusage.v1.GetServiceRequest.serializeBinaryToWriter(this, writer);
1011
+ return writer.getResultBuffer();
1012
+ };
1013
+
1014
+
1015
+ /**
1016
+ * Serializes the given message to binary data (in protobuf wire
1017
+ * format), writing to the given BinaryWriter.
1018
+ * @param {!proto.google.api.serviceusage.v1.GetServiceRequest} message
1019
+ * @param {!jspb.BinaryWriter} writer
1020
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1021
+ */
1022
+ proto.google.api.serviceusage.v1.GetServiceRequest.serializeBinaryToWriter = function(message, writer) {
1023
+ var f = undefined;
1024
+ f = message.getName();
1025
+ if (f.length > 0) {
1026
+ writer.writeString(
1027
+ 1,
1028
+ f
1029
+ );
1030
+ }
1031
+ };
1032
+
1033
+
1034
+ /**
1035
+ * optional string name = 1;
1036
+ * @return {string}
1037
+ */
1038
+ proto.google.api.serviceusage.v1.GetServiceRequest.prototype.getName = function() {
1039
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1040
+ };
1041
+
1042
+
1043
+ /**
1044
+ * @param {string} value
1045
+ * @return {!proto.google.api.serviceusage.v1.GetServiceRequest} returns this
1046
+ */
1047
+ proto.google.api.serviceusage.v1.GetServiceRequest.prototype.setName = function(value) {
1048
+ return jspb.Message.setProto3StringField(this, 1, value);
1049
+ };
1050
+
1051
+
1052
+
1053
+
1054
+
1055
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1056
+ /**
1057
+ * Creates an object representation of this proto.
1058
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1059
+ * Optional fields that are not set will be set to undefined.
1060
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1061
+ * For the list of reserved names please see:
1062
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1063
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1064
+ * JSPB instance for transitional soy proto support:
1065
+ * http://goto/soy-param-migration
1066
+ * @return {!Object}
1067
+ */
1068
+ proto.google.api.serviceusage.v1.ListServicesRequest.prototype.toObject = function(opt_includeInstance) {
1069
+ return proto.google.api.serviceusage.v1.ListServicesRequest.toObject(opt_includeInstance, this);
1070
+ };
1071
+
1072
+
1073
+ /**
1074
+ * Static version of the {@see toObject} method.
1075
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1076
+ * the JSPB instance for transitional soy proto support:
1077
+ * http://goto/soy-param-migration
1078
+ * @param {!proto.google.api.serviceusage.v1.ListServicesRequest} msg The msg instance to transform.
1079
+ * @return {!Object}
1080
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1081
+ */
1082
+ proto.google.api.serviceusage.v1.ListServicesRequest.toObject = function(includeInstance, msg) {
1083
+ var f, obj = {
1084
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1085
+ pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
1086
+ pageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
1087
+ filter: jspb.Message.getFieldWithDefault(msg, 4, "")
1088
+ };
1089
+
1090
+ if (includeInstance) {
1091
+ obj.$jspbMessageInstance = msg;
1092
+ }
1093
+ return obj;
1094
+ };
1095
+ }
1096
+
1097
+
1098
+ /**
1099
+ * Deserializes binary data (in protobuf wire format).
1100
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1101
+ * @return {!proto.google.api.serviceusage.v1.ListServicesRequest}
1102
+ */
1103
+ proto.google.api.serviceusage.v1.ListServicesRequest.deserializeBinary = function(bytes) {
1104
+ var reader = new jspb.BinaryReader(bytes);
1105
+ var msg = new proto.google.api.serviceusage.v1.ListServicesRequest;
1106
+ return proto.google.api.serviceusage.v1.ListServicesRequest.deserializeBinaryFromReader(msg, reader);
1107
+ };
1108
+
1109
+
1110
+ /**
1111
+ * Deserializes binary data (in protobuf wire format) from the
1112
+ * given reader into the given message object.
1113
+ * @param {!proto.google.api.serviceusage.v1.ListServicesRequest} msg The message object to deserialize into.
1114
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1115
+ * @return {!proto.google.api.serviceusage.v1.ListServicesRequest}
1116
+ */
1117
+ proto.google.api.serviceusage.v1.ListServicesRequest.deserializeBinaryFromReader = function(msg, reader) {
1118
+ while (reader.nextField()) {
1119
+ if (reader.isEndGroup()) {
1120
+ break;
1121
+ }
1122
+ var field = reader.getFieldNumber();
1123
+ switch (field) {
1124
+ case 1:
1125
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1126
+ msg.setParent(value);
1127
+ break;
1128
+ case 2:
1129
+ var value = /** @type {number} */ (reader.readInt32());
1130
+ msg.setPageSize(value);
1131
+ break;
1132
+ case 3:
1133
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1134
+ msg.setPageToken(value);
1135
+ break;
1136
+ case 4:
1137
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1138
+ msg.setFilter(value);
1139
+ break;
1140
+ default:
1141
+ reader.skipField();
1142
+ break;
1143
+ }
1144
+ }
1145
+ return msg;
1146
+ };
1147
+
1148
+
1149
+ /**
1150
+ * Serializes the message to binary data (in protobuf wire format).
1151
+ * @return {!Uint8Array}
1152
+ */
1153
+ proto.google.api.serviceusage.v1.ListServicesRequest.prototype.serializeBinary = function() {
1154
+ var writer = new jspb.BinaryWriter();
1155
+ proto.google.api.serviceusage.v1.ListServicesRequest.serializeBinaryToWriter(this, writer);
1156
+ return writer.getResultBuffer();
1157
+ };
1158
+
1159
+
1160
+ /**
1161
+ * Serializes the given message to binary data (in protobuf wire
1162
+ * format), writing to the given BinaryWriter.
1163
+ * @param {!proto.google.api.serviceusage.v1.ListServicesRequest} message
1164
+ * @param {!jspb.BinaryWriter} writer
1165
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1166
+ */
1167
+ proto.google.api.serviceusage.v1.ListServicesRequest.serializeBinaryToWriter = function(message, writer) {
1168
+ var f = undefined;
1169
+ f = message.getParent();
1170
+ if (f.length > 0) {
1171
+ writer.writeString(
1172
+ 1,
1173
+ f
1174
+ );
1175
+ }
1176
+ f = message.getPageSize();
1177
+ if (f !== 0) {
1178
+ writer.writeInt32(
1179
+ 2,
1180
+ f
1181
+ );
1182
+ }
1183
+ f = message.getPageToken();
1184
+ if (f.length > 0) {
1185
+ writer.writeString(
1186
+ 3,
1187
+ f
1188
+ );
1189
+ }
1190
+ f = message.getFilter();
1191
+ if (f.length > 0) {
1192
+ writer.writeString(
1193
+ 4,
1194
+ f
1195
+ );
1196
+ }
1197
+ };
1198
+
1199
+
1200
+ /**
1201
+ * optional string parent = 1;
1202
+ * @return {string}
1203
+ */
1204
+ proto.google.api.serviceusage.v1.ListServicesRequest.prototype.getParent = function() {
1205
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1206
+ };
1207
+
1208
+
1209
+ /**
1210
+ * @param {string} value
1211
+ * @return {!proto.google.api.serviceusage.v1.ListServicesRequest} returns this
1212
+ */
1213
+ proto.google.api.serviceusage.v1.ListServicesRequest.prototype.setParent = function(value) {
1214
+ return jspb.Message.setProto3StringField(this, 1, value);
1215
+ };
1216
+
1217
+
1218
+ /**
1219
+ * optional int32 page_size = 2;
1220
+ * @return {number}
1221
+ */
1222
+ proto.google.api.serviceusage.v1.ListServicesRequest.prototype.getPageSize = function() {
1223
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1224
+ };
1225
+
1226
+
1227
+ /**
1228
+ * @param {number} value
1229
+ * @return {!proto.google.api.serviceusage.v1.ListServicesRequest} returns this
1230
+ */
1231
+ proto.google.api.serviceusage.v1.ListServicesRequest.prototype.setPageSize = function(value) {
1232
+ return jspb.Message.setProto3IntField(this, 2, value);
1233
+ };
1234
+
1235
+
1236
+ /**
1237
+ * optional string page_token = 3;
1238
+ * @return {string}
1239
+ */
1240
+ proto.google.api.serviceusage.v1.ListServicesRequest.prototype.getPageToken = function() {
1241
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1242
+ };
1243
+
1244
+
1245
+ /**
1246
+ * @param {string} value
1247
+ * @return {!proto.google.api.serviceusage.v1.ListServicesRequest} returns this
1248
+ */
1249
+ proto.google.api.serviceusage.v1.ListServicesRequest.prototype.setPageToken = function(value) {
1250
+ return jspb.Message.setProto3StringField(this, 3, value);
1251
+ };
1252
+
1253
+
1254
+ /**
1255
+ * optional string filter = 4;
1256
+ * @return {string}
1257
+ */
1258
+ proto.google.api.serviceusage.v1.ListServicesRequest.prototype.getFilter = function() {
1259
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1260
+ };
1261
+
1262
+
1263
+ /**
1264
+ * @param {string} value
1265
+ * @return {!proto.google.api.serviceusage.v1.ListServicesRequest} returns this
1266
+ */
1267
+ proto.google.api.serviceusage.v1.ListServicesRequest.prototype.setFilter = function(value) {
1268
+ return jspb.Message.setProto3StringField(this, 4, value);
1269
+ };
1270
+
1271
+
1272
+
1273
+ /**
1274
+ * List of repeated fields within this message type.
1275
+ * @private {!Array<number>}
1276
+ * @const
1277
+ */
1278
+ proto.google.api.serviceusage.v1.ListServicesResponse.repeatedFields_ = [1];
1279
+
1280
+
1281
+
1282
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1283
+ /**
1284
+ * Creates an object representation of this proto.
1285
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1286
+ * Optional fields that are not set will be set to undefined.
1287
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1288
+ * For the list of reserved names please see:
1289
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1290
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1291
+ * JSPB instance for transitional soy proto support:
1292
+ * http://goto/soy-param-migration
1293
+ * @return {!Object}
1294
+ */
1295
+ proto.google.api.serviceusage.v1.ListServicesResponse.prototype.toObject = function(opt_includeInstance) {
1296
+ return proto.google.api.serviceusage.v1.ListServicesResponse.toObject(opt_includeInstance, this);
1297
+ };
1298
+
1299
+
1300
+ /**
1301
+ * Static version of the {@see toObject} method.
1302
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1303
+ * the JSPB instance for transitional soy proto support:
1304
+ * http://goto/soy-param-migration
1305
+ * @param {!proto.google.api.serviceusage.v1.ListServicesResponse} msg The msg instance to transform.
1306
+ * @return {!Object}
1307
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1308
+ */
1309
+ proto.google.api.serviceusage.v1.ListServicesResponse.toObject = function(includeInstance, msg) {
1310
+ var f, obj = {
1311
+ servicesList: jspb.Message.toObjectList(msg.getServicesList(),
1312
+ google_api_serviceusage_v1_resources_pb.Service.toObject, includeInstance),
1313
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
1314
+ };
1315
+
1316
+ if (includeInstance) {
1317
+ obj.$jspbMessageInstance = msg;
1318
+ }
1319
+ return obj;
1320
+ };
1321
+ }
1322
+
1323
+
1324
+ /**
1325
+ * Deserializes binary data (in protobuf wire format).
1326
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1327
+ * @return {!proto.google.api.serviceusage.v1.ListServicesResponse}
1328
+ */
1329
+ proto.google.api.serviceusage.v1.ListServicesResponse.deserializeBinary = function(bytes) {
1330
+ var reader = new jspb.BinaryReader(bytes);
1331
+ var msg = new proto.google.api.serviceusage.v1.ListServicesResponse;
1332
+ return proto.google.api.serviceusage.v1.ListServicesResponse.deserializeBinaryFromReader(msg, reader);
1333
+ };
1334
+
1335
+
1336
+ /**
1337
+ * Deserializes binary data (in protobuf wire format) from the
1338
+ * given reader into the given message object.
1339
+ * @param {!proto.google.api.serviceusage.v1.ListServicesResponse} msg The message object to deserialize into.
1340
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1341
+ * @return {!proto.google.api.serviceusage.v1.ListServicesResponse}
1342
+ */
1343
+ proto.google.api.serviceusage.v1.ListServicesResponse.deserializeBinaryFromReader = function(msg, reader) {
1344
+ while (reader.nextField()) {
1345
+ if (reader.isEndGroup()) {
1346
+ break;
1347
+ }
1348
+ var field = reader.getFieldNumber();
1349
+ switch (field) {
1350
+ case 1:
1351
+ var value = new google_api_serviceusage_v1_resources_pb.Service;
1352
+ reader.readMessage(value,google_api_serviceusage_v1_resources_pb.Service.deserializeBinaryFromReader);
1353
+ msg.addServices(value);
1354
+ break;
1355
+ case 2:
1356
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1357
+ msg.setNextPageToken(value);
1358
+ break;
1359
+ default:
1360
+ reader.skipField();
1361
+ break;
1362
+ }
1363
+ }
1364
+ return msg;
1365
+ };
1366
+
1367
+
1368
+ /**
1369
+ * Serializes the message to binary data (in protobuf wire format).
1370
+ * @return {!Uint8Array}
1371
+ */
1372
+ proto.google.api.serviceusage.v1.ListServicesResponse.prototype.serializeBinary = function() {
1373
+ var writer = new jspb.BinaryWriter();
1374
+ proto.google.api.serviceusage.v1.ListServicesResponse.serializeBinaryToWriter(this, writer);
1375
+ return writer.getResultBuffer();
1376
+ };
1377
+
1378
+
1379
+ /**
1380
+ * Serializes the given message to binary data (in protobuf wire
1381
+ * format), writing to the given BinaryWriter.
1382
+ * @param {!proto.google.api.serviceusage.v1.ListServicesResponse} message
1383
+ * @param {!jspb.BinaryWriter} writer
1384
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1385
+ */
1386
+ proto.google.api.serviceusage.v1.ListServicesResponse.serializeBinaryToWriter = function(message, writer) {
1387
+ var f = undefined;
1388
+ f = message.getServicesList();
1389
+ if (f.length > 0) {
1390
+ writer.writeRepeatedMessage(
1391
+ 1,
1392
+ f,
1393
+ google_api_serviceusage_v1_resources_pb.Service.serializeBinaryToWriter
1394
+ );
1395
+ }
1396
+ f = message.getNextPageToken();
1397
+ if (f.length > 0) {
1398
+ writer.writeString(
1399
+ 2,
1400
+ f
1401
+ );
1402
+ }
1403
+ };
1404
+
1405
+
1406
+ /**
1407
+ * repeated Service services = 1;
1408
+ * @return {!Array<!proto.google.api.serviceusage.v1.Service>}
1409
+ */
1410
+ proto.google.api.serviceusage.v1.ListServicesResponse.prototype.getServicesList = function() {
1411
+ return /** @type{!Array<!proto.google.api.serviceusage.v1.Service>} */ (
1412
+ jspb.Message.getRepeatedWrapperField(this, google_api_serviceusage_v1_resources_pb.Service, 1));
1413
+ };
1414
+
1415
+
1416
+ /**
1417
+ * @param {!Array<!proto.google.api.serviceusage.v1.Service>} value
1418
+ * @return {!proto.google.api.serviceusage.v1.ListServicesResponse} returns this
1419
+ */
1420
+ proto.google.api.serviceusage.v1.ListServicesResponse.prototype.setServicesList = function(value) {
1421
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1422
+ };
1423
+
1424
+
1425
+ /**
1426
+ * @param {!proto.google.api.serviceusage.v1.Service=} opt_value
1427
+ * @param {number=} opt_index
1428
+ * @return {!proto.google.api.serviceusage.v1.Service}
1429
+ */
1430
+ proto.google.api.serviceusage.v1.ListServicesResponse.prototype.addServices = function(opt_value, opt_index) {
1431
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.serviceusage.v1.Service, opt_index);
1432
+ };
1433
+
1434
+
1435
+ /**
1436
+ * Clears the list making it empty but non-null.
1437
+ * @return {!proto.google.api.serviceusage.v1.ListServicesResponse} returns this
1438
+ */
1439
+ proto.google.api.serviceusage.v1.ListServicesResponse.prototype.clearServicesList = function() {
1440
+ return this.setServicesList([]);
1441
+ };
1442
+
1443
+
1444
+ /**
1445
+ * optional string next_page_token = 2;
1446
+ * @return {string}
1447
+ */
1448
+ proto.google.api.serviceusage.v1.ListServicesResponse.prototype.getNextPageToken = function() {
1449
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1450
+ };
1451
+
1452
+
1453
+ /**
1454
+ * @param {string} value
1455
+ * @return {!proto.google.api.serviceusage.v1.ListServicesResponse} returns this
1456
+ */
1457
+ proto.google.api.serviceusage.v1.ListServicesResponse.prototype.setNextPageToken = function(value) {
1458
+ return jspb.Message.setProto3StringField(this, 2, value);
1459
+ };
1460
+
1461
+
1462
+
1463
+ /**
1464
+ * List of repeated fields within this message type.
1465
+ * @private {!Array<number>}
1466
+ * @const
1467
+ */
1468
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.repeatedFields_ = [2];
1469
+
1470
+
1471
+
1472
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1473
+ /**
1474
+ * Creates an object representation of this proto.
1475
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1476
+ * Optional fields that are not set will be set to undefined.
1477
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1478
+ * For the list of reserved names please see:
1479
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1480
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1481
+ * JSPB instance for transitional soy proto support:
1482
+ * http://goto/soy-param-migration
1483
+ * @return {!Object}
1484
+ */
1485
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.prototype.toObject = function(opt_includeInstance) {
1486
+ return proto.google.api.serviceusage.v1.BatchEnableServicesRequest.toObject(opt_includeInstance, this);
1487
+ };
1488
+
1489
+
1490
+ /**
1491
+ * Static version of the {@see toObject} method.
1492
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1493
+ * the JSPB instance for transitional soy proto support:
1494
+ * http://goto/soy-param-migration
1495
+ * @param {!proto.google.api.serviceusage.v1.BatchEnableServicesRequest} msg The msg instance to transform.
1496
+ * @return {!Object}
1497
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1498
+ */
1499
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.toObject = function(includeInstance, msg) {
1500
+ var f, obj = {
1501
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1502
+ serviceIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
1503
+ };
1504
+
1505
+ if (includeInstance) {
1506
+ obj.$jspbMessageInstance = msg;
1507
+ }
1508
+ return obj;
1509
+ };
1510
+ }
1511
+
1512
+
1513
+ /**
1514
+ * Deserializes binary data (in protobuf wire format).
1515
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1516
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesRequest}
1517
+ */
1518
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.deserializeBinary = function(bytes) {
1519
+ var reader = new jspb.BinaryReader(bytes);
1520
+ var msg = new proto.google.api.serviceusage.v1.BatchEnableServicesRequest;
1521
+ return proto.google.api.serviceusage.v1.BatchEnableServicesRequest.deserializeBinaryFromReader(msg, reader);
1522
+ };
1523
+
1524
+
1525
+ /**
1526
+ * Deserializes binary data (in protobuf wire format) from the
1527
+ * given reader into the given message object.
1528
+ * @param {!proto.google.api.serviceusage.v1.BatchEnableServicesRequest} msg The message object to deserialize into.
1529
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1530
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesRequest}
1531
+ */
1532
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.deserializeBinaryFromReader = function(msg, reader) {
1533
+ while (reader.nextField()) {
1534
+ if (reader.isEndGroup()) {
1535
+ break;
1536
+ }
1537
+ var field = reader.getFieldNumber();
1538
+ switch (field) {
1539
+ case 1:
1540
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1541
+ msg.setParent(value);
1542
+ break;
1543
+ case 2:
1544
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1545
+ msg.addServiceIds(value);
1546
+ break;
1547
+ default:
1548
+ reader.skipField();
1549
+ break;
1550
+ }
1551
+ }
1552
+ return msg;
1553
+ };
1554
+
1555
+
1556
+ /**
1557
+ * Serializes the message to binary data (in protobuf wire format).
1558
+ * @return {!Uint8Array}
1559
+ */
1560
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.prototype.serializeBinary = function() {
1561
+ var writer = new jspb.BinaryWriter();
1562
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.serializeBinaryToWriter(this, writer);
1563
+ return writer.getResultBuffer();
1564
+ };
1565
+
1566
+
1567
+ /**
1568
+ * Serializes the given message to binary data (in protobuf wire
1569
+ * format), writing to the given BinaryWriter.
1570
+ * @param {!proto.google.api.serviceusage.v1.BatchEnableServicesRequest} message
1571
+ * @param {!jspb.BinaryWriter} writer
1572
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1573
+ */
1574
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.serializeBinaryToWriter = function(message, writer) {
1575
+ var f = undefined;
1576
+ f = message.getParent();
1577
+ if (f.length > 0) {
1578
+ writer.writeString(
1579
+ 1,
1580
+ f
1581
+ );
1582
+ }
1583
+ f = message.getServiceIdsList();
1584
+ if (f.length > 0) {
1585
+ writer.writeRepeatedString(
1586
+ 2,
1587
+ f
1588
+ );
1589
+ }
1590
+ };
1591
+
1592
+
1593
+ /**
1594
+ * optional string parent = 1;
1595
+ * @return {string}
1596
+ */
1597
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.prototype.getParent = function() {
1598
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1599
+ };
1600
+
1601
+
1602
+ /**
1603
+ * @param {string} value
1604
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesRequest} returns this
1605
+ */
1606
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.prototype.setParent = function(value) {
1607
+ return jspb.Message.setProto3StringField(this, 1, value);
1608
+ };
1609
+
1610
+
1611
+ /**
1612
+ * repeated string service_ids = 2;
1613
+ * @return {!Array<string>}
1614
+ */
1615
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.prototype.getServiceIdsList = function() {
1616
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
1617
+ };
1618
+
1619
+
1620
+ /**
1621
+ * @param {!Array<string>} value
1622
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesRequest} returns this
1623
+ */
1624
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.prototype.setServiceIdsList = function(value) {
1625
+ return jspb.Message.setField(this, 2, value || []);
1626
+ };
1627
+
1628
+
1629
+ /**
1630
+ * @param {string} value
1631
+ * @param {number=} opt_index
1632
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesRequest} returns this
1633
+ */
1634
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.prototype.addServiceIds = function(value, opt_index) {
1635
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
1636
+ };
1637
+
1638
+
1639
+ /**
1640
+ * Clears the list making it empty but non-null.
1641
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesRequest} returns this
1642
+ */
1643
+ proto.google.api.serviceusage.v1.BatchEnableServicesRequest.prototype.clearServiceIdsList = function() {
1644
+ return this.setServiceIdsList([]);
1645
+ };
1646
+
1647
+
1648
+
1649
+ /**
1650
+ * List of repeated fields within this message type.
1651
+ * @private {!Array<number>}
1652
+ * @const
1653
+ */
1654
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.repeatedFields_ = [1,2];
1655
+
1656
+
1657
+
1658
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1659
+ /**
1660
+ * Creates an object representation of this proto.
1661
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1662
+ * Optional fields that are not set will be set to undefined.
1663
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1664
+ * For the list of reserved names please see:
1665
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1666
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1667
+ * JSPB instance for transitional soy proto support:
1668
+ * http://goto/soy-param-migration
1669
+ * @return {!Object}
1670
+ */
1671
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.prototype.toObject = function(opt_includeInstance) {
1672
+ return proto.google.api.serviceusage.v1.BatchEnableServicesResponse.toObject(opt_includeInstance, this);
1673
+ };
1674
+
1675
+
1676
+ /**
1677
+ * Static version of the {@see toObject} method.
1678
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1679
+ * the JSPB instance for transitional soy proto support:
1680
+ * http://goto/soy-param-migration
1681
+ * @param {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse} msg The msg instance to transform.
1682
+ * @return {!Object}
1683
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1684
+ */
1685
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.toObject = function(includeInstance, msg) {
1686
+ var f, obj = {
1687
+ servicesList: jspb.Message.toObjectList(msg.getServicesList(),
1688
+ google_api_serviceusage_v1_resources_pb.Service.toObject, includeInstance),
1689
+ failuresList: jspb.Message.toObjectList(msg.getFailuresList(),
1690
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.toObject, includeInstance)
1691
+ };
1692
+
1693
+ if (includeInstance) {
1694
+ obj.$jspbMessageInstance = msg;
1695
+ }
1696
+ return obj;
1697
+ };
1698
+ }
1699
+
1700
+
1701
+ /**
1702
+ * Deserializes binary data (in protobuf wire format).
1703
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1704
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse}
1705
+ */
1706
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.deserializeBinary = function(bytes) {
1707
+ var reader = new jspb.BinaryReader(bytes);
1708
+ var msg = new proto.google.api.serviceusage.v1.BatchEnableServicesResponse;
1709
+ return proto.google.api.serviceusage.v1.BatchEnableServicesResponse.deserializeBinaryFromReader(msg, reader);
1710
+ };
1711
+
1712
+
1713
+ /**
1714
+ * Deserializes binary data (in protobuf wire format) from the
1715
+ * given reader into the given message object.
1716
+ * @param {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse} msg The message object to deserialize into.
1717
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1718
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse}
1719
+ */
1720
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.deserializeBinaryFromReader = function(msg, reader) {
1721
+ while (reader.nextField()) {
1722
+ if (reader.isEndGroup()) {
1723
+ break;
1724
+ }
1725
+ var field = reader.getFieldNumber();
1726
+ switch (field) {
1727
+ case 1:
1728
+ var value = new google_api_serviceusage_v1_resources_pb.Service;
1729
+ reader.readMessage(value,google_api_serviceusage_v1_resources_pb.Service.deserializeBinaryFromReader);
1730
+ msg.addServices(value);
1731
+ break;
1732
+ case 2:
1733
+ var value = new proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure;
1734
+ reader.readMessage(value,proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.deserializeBinaryFromReader);
1735
+ msg.addFailures(value);
1736
+ break;
1737
+ default:
1738
+ reader.skipField();
1739
+ break;
1740
+ }
1741
+ }
1742
+ return msg;
1743
+ };
1744
+
1745
+
1746
+ /**
1747
+ * Serializes the message to binary data (in protobuf wire format).
1748
+ * @return {!Uint8Array}
1749
+ */
1750
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.prototype.serializeBinary = function() {
1751
+ var writer = new jspb.BinaryWriter();
1752
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.serializeBinaryToWriter(this, writer);
1753
+ return writer.getResultBuffer();
1754
+ };
1755
+
1756
+
1757
+ /**
1758
+ * Serializes the given message to binary data (in protobuf wire
1759
+ * format), writing to the given BinaryWriter.
1760
+ * @param {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse} message
1761
+ * @param {!jspb.BinaryWriter} writer
1762
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1763
+ */
1764
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.serializeBinaryToWriter = function(message, writer) {
1765
+ var f = undefined;
1766
+ f = message.getServicesList();
1767
+ if (f.length > 0) {
1768
+ writer.writeRepeatedMessage(
1769
+ 1,
1770
+ f,
1771
+ google_api_serviceusage_v1_resources_pb.Service.serializeBinaryToWriter
1772
+ );
1773
+ }
1774
+ f = message.getFailuresList();
1775
+ if (f.length > 0) {
1776
+ writer.writeRepeatedMessage(
1777
+ 2,
1778
+ f,
1779
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.serializeBinaryToWriter
1780
+ );
1781
+ }
1782
+ };
1783
+
1784
+
1785
+
1786
+
1787
+
1788
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1789
+ /**
1790
+ * Creates an object representation of this proto.
1791
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1792
+ * Optional fields that are not set will be set to undefined.
1793
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1794
+ * For the list of reserved names please see:
1795
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1796
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1797
+ * JSPB instance for transitional soy proto support:
1798
+ * http://goto/soy-param-migration
1799
+ * @return {!Object}
1800
+ */
1801
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.prototype.toObject = function(opt_includeInstance) {
1802
+ return proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.toObject(opt_includeInstance, this);
1803
+ };
1804
+
1805
+
1806
+ /**
1807
+ * Static version of the {@see toObject} method.
1808
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1809
+ * the JSPB instance for transitional soy proto support:
1810
+ * http://goto/soy-param-migration
1811
+ * @param {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure} msg The msg instance to transform.
1812
+ * @return {!Object}
1813
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1814
+ */
1815
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.toObject = function(includeInstance, msg) {
1816
+ var f, obj = {
1817
+ serviceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1818
+ errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
1819
+ };
1820
+
1821
+ if (includeInstance) {
1822
+ obj.$jspbMessageInstance = msg;
1823
+ }
1824
+ return obj;
1825
+ };
1826
+ }
1827
+
1828
+
1829
+ /**
1830
+ * Deserializes binary data (in protobuf wire format).
1831
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1832
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure}
1833
+ */
1834
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.deserializeBinary = function(bytes) {
1835
+ var reader = new jspb.BinaryReader(bytes);
1836
+ var msg = new proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure;
1837
+ return proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.deserializeBinaryFromReader(msg, reader);
1838
+ };
1839
+
1840
+
1841
+ /**
1842
+ * Deserializes binary data (in protobuf wire format) from the
1843
+ * given reader into the given message object.
1844
+ * @param {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure} msg The message object to deserialize into.
1845
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1846
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure}
1847
+ */
1848
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.deserializeBinaryFromReader = function(msg, reader) {
1849
+ while (reader.nextField()) {
1850
+ if (reader.isEndGroup()) {
1851
+ break;
1852
+ }
1853
+ var field = reader.getFieldNumber();
1854
+ switch (field) {
1855
+ case 1:
1856
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1857
+ msg.setServiceId(value);
1858
+ break;
1859
+ case 2:
1860
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1861
+ msg.setErrorMessage(value);
1862
+ break;
1863
+ default:
1864
+ reader.skipField();
1865
+ break;
1866
+ }
1867
+ }
1868
+ return msg;
1869
+ };
1870
+
1871
+
1872
+ /**
1873
+ * Serializes the message to binary data (in protobuf wire format).
1874
+ * @return {!Uint8Array}
1875
+ */
1876
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.prototype.serializeBinary = function() {
1877
+ var writer = new jspb.BinaryWriter();
1878
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.serializeBinaryToWriter(this, writer);
1879
+ return writer.getResultBuffer();
1880
+ };
1881
+
1882
+
1883
+ /**
1884
+ * Serializes the given message to binary data (in protobuf wire
1885
+ * format), writing to the given BinaryWriter.
1886
+ * @param {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure} message
1887
+ * @param {!jspb.BinaryWriter} writer
1888
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1889
+ */
1890
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.serializeBinaryToWriter = function(message, writer) {
1891
+ var f = undefined;
1892
+ f = message.getServiceId();
1893
+ if (f.length > 0) {
1894
+ writer.writeString(
1895
+ 1,
1896
+ f
1897
+ );
1898
+ }
1899
+ f = message.getErrorMessage();
1900
+ if (f.length > 0) {
1901
+ writer.writeString(
1902
+ 2,
1903
+ f
1904
+ );
1905
+ }
1906
+ };
1907
+
1908
+
1909
+ /**
1910
+ * optional string service_id = 1;
1911
+ * @return {string}
1912
+ */
1913
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.prototype.getServiceId = function() {
1914
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1915
+ };
1916
+
1917
+
1918
+ /**
1919
+ * @param {string} value
1920
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure} returns this
1921
+ */
1922
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.prototype.setServiceId = function(value) {
1923
+ return jspb.Message.setProto3StringField(this, 1, value);
1924
+ };
1925
+
1926
+
1927
+ /**
1928
+ * optional string error_message = 2;
1929
+ * @return {string}
1930
+ */
1931
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.prototype.getErrorMessage = function() {
1932
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1933
+ };
1934
+
1935
+
1936
+ /**
1937
+ * @param {string} value
1938
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure} returns this
1939
+ */
1940
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure.prototype.setErrorMessage = function(value) {
1941
+ return jspb.Message.setProto3StringField(this, 2, value);
1942
+ };
1943
+
1944
+
1945
+ /**
1946
+ * repeated Service services = 1;
1947
+ * @return {!Array<!proto.google.api.serviceusage.v1.Service>}
1948
+ */
1949
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.prototype.getServicesList = function() {
1950
+ return /** @type{!Array<!proto.google.api.serviceusage.v1.Service>} */ (
1951
+ jspb.Message.getRepeatedWrapperField(this, google_api_serviceusage_v1_resources_pb.Service, 1));
1952
+ };
1953
+
1954
+
1955
+ /**
1956
+ * @param {!Array<!proto.google.api.serviceusage.v1.Service>} value
1957
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse} returns this
1958
+ */
1959
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.prototype.setServicesList = function(value) {
1960
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1961
+ };
1962
+
1963
+
1964
+ /**
1965
+ * @param {!proto.google.api.serviceusage.v1.Service=} opt_value
1966
+ * @param {number=} opt_index
1967
+ * @return {!proto.google.api.serviceusage.v1.Service}
1968
+ */
1969
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.prototype.addServices = function(opt_value, opt_index) {
1970
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.serviceusage.v1.Service, opt_index);
1971
+ };
1972
+
1973
+
1974
+ /**
1975
+ * Clears the list making it empty but non-null.
1976
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse} returns this
1977
+ */
1978
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.prototype.clearServicesList = function() {
1979
+ return this.setServicesList([]);
1980
+ };
1981
+
1982
+
1983
+ /**
1984
+ * repeated EnableFailure failures = 2;
1985
+ * @return {!Array<!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure>}
1986
+ */
1987
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.prototype.getFailuresList = function() {
1988
+ return /** @type{!Array<!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure>} */ (
1989
+ jspb.Message.getRepeatedWrapperField(this, proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure, 2));
1990
+ };
1991
+
1992
+
1993
+ /**
1994
+ * @param {!Array<!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure>} value
1995
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse} returns this
1996
+ */
1997
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.prototype.setFailuresList = function(value) {
1998
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
1999
+ };
2000
+
2001
+
2002
+ /**
2003
+ * @param {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure=} opt_value
2004
+ * @param {number=} opt_index
2005
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure}
2006
+ */
2007
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.prototype.addFailures = function(opt_value, opt_index) {
2008
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure, opt_index);
2009
+ };
2010
+
2011
+
2012
+ /**
2013
+ * Clears the list making it empty but non-null.
2014
+ * @return {!proto.google.api.serviceusage.v1.BatchEnableServicesResponse} returns this
2015
+ */
2016
+ proto.google.api.serviceusage.v1.BatchEnableServicesResponse.prototype.clearFailuresList = function() {
2017
+ return this.setFailuresList([]);
2018
+ };
2019
+
2020
+
2021
+
2022
+ /**
2023
+ * List of repeated fields within this message type.
2024
+ * @private {!Array<number>}
2025
+ * @const
2026
+ */
2027
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.repeatedFields_ = [2];
2028
+
2029
+
2030
+
2031
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2032
+ /**
2033
+ * Creates an object representation of this proto.
2034
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2035
+ * Optional fields that are not set will be set to undefined.
2036
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2037
+ * For the list of reserved names please see:
2038
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2039
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2040
+ * JSPB instance for transitional soy proto support:
2041
+ * http://goto/soy-param-migration
2042
+ * @return {!Object}
2043
+ */
2044
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.prototype.toObject = function(opt_includeInstance) {
2045
+ return proto.google.api.serviceusage.v1.BatchGetServicesRequest.toObject(opt_includeInstance, this);
2046
+ };
2047
+
2048
+
2049
+ /**
2050
+ * Static version of the {@see toObject} method.
2051
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2052
+ * the JSPB instance for transitional soy proto support:
2053
+ * http://goto/soy-param-migration
2054
+ * @param {!proto.google.api.serviceusage.v1.BatchGetServicesRequest} msg The msg instance to transform.
2055
+ * @return {!Object}
2056
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2057
+ */
2058
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.toObject = function(includeInstance, msg) {
2059
+ var f, obj = {
2060
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
2061
+ namesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
2062
+ };
2063
+
2064
+ if (includeInstance) {
2065
+ obj.$jspbMessageInstance = msg;
2066
+ }
2067
+ return obj;
2068
+ };
2069
+ }
2070
+
2071
+
2072
+ /**
2073
+ * Deserializes binary data (in protobuf wire format).
2074
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2075
+ * @return {!proto.google.api.serviceusage.v1.BatchGetServicesRequest}
2076
+ */
2077
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.deserializeBinary = function(bytes) {
2078
+ var reader = new jspb.BinaryReader(bytes);
2079
+ var msg = new proto.google.api.serviceusage.v1.BatchGetServicesRequest;
2080
+ return proto.google.api.serviceusage.v1.BatchGetServicesRequest.deserializeBinaryFromReader(msg, reader);
2081
+ };
2082
+
2083
+
2084
+ /**
2085
+ * Deserializes binary data (in protobuf wire format) from the
2086
+ * given reader into the given message object.
2087
+ * @param {!proto.google.api.serviceusage.v1.BatchGetServicesRequest} msg The message object to deserialize into.
2088
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2089
+ * @return {!proto.google.api.serviceusage.v1.BatchGetServicesRequest}
2090
+ */
2091
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.deserializeBinaryFromReader = function(msg, reader) {
2092
+ while (reader.nextField()) {
2093
+ if (reader.isEndGroup()) {
2094
+ break;
2095
+ }
2096
+ var field = reader.getFieldNumber();
2097
+ switch (field) {
2098
+ case 1:
2099
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2100
+ msg.setParent(value);
2101
+ break;
2102
+ case 2:
2103
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2104
+ msg.addNames(value);
2105
+ break;
2106
+ default:
2107
+ reader.skipField();
2108
+ break;
2109
+ }
2110
+ }
2111
+ return msg;
2112
+ };
2113
+
2114
+
2115
+ /**
2116
+ * Serializes the message to binary data (in protobuf wire format).
2117
+ * @return {!Uint8Array}
2118
+ */
2119
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.prototype.serializeBinary = function() {
2120
+ var writer = new jspb.BinaryWriter();
2121
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.serializeBinaryToWriter(this, writer);
2122
+ return writer.getResultBuffer();
2123
+ };
2124
+
2125
+
2126
+ /**
2127
+ * Serializes the given message to binary data (in protobuf wire
2128
+ * format), writing to the given BinaryWriter.
2129
+ * @param {!proto.google.api.serviceusage.v1.BatchGetServicesRequest} message
2130
+ * @param {!jspb.BinaryWriter} writer
2131
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2132
+ */
2133
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.serializeBinaryToWriter = function(message, writer) {
2134
+ var f = undefined;
2135
+ f = message.getParent();
2136
+ if (f.length > 0) {
2137
+ writer.writeString(
2138
+ 1,
2139
+ f
2140
+ );
2141
+ }
2142
+ f = message.getNamesList();
2143
+ if (f.length > 0) {
2144
+ writer.writeRepeatedString(
2145
+ 2,
2146
+ f
2147
+ );
2148
+ }
2149
+ };
2150
+
2151
+
2152
+ /**
2153
+ * optional string parent = 1;
2154
+ * @return {string}
2155
+ */
2156
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.prototype.getParent = function() {
2157
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2158
+ };
2159
+
2160
+
2161
+ /**
2162
+ * @param {string} value
2163
+ * @return {!proto.google.api.serviceusage.v1.BatchGetServicesRequest} returns this
2164
+ */
2165
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.prototype.setParent = function(value) {
2166
+ return jspb.Message.setProto3StringField(this, 1, value);
2167
+ };
2168
+
2169
+
2170
+ /**
2171
+ * repeated string names = 2;
2172
+ * @return {!Array<string>}
2173
+ */
2174
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.prototype.getNamesList = function() {
2175
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
2176
+ };
2177
+
2178
+
2179
+ /**
2180
+ * @param {!Array<string>} value
2181
+ * @return {!proto.google.api.serviceusage.v1.BatchGetServicesRequest} returns this
2182
+ */
2183
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.prototype.setNamesList = function(value) {
2184
+ return jspb.Message.setField(this, 2, value || []);
2185
+ };
2186
+
2187
+
2188
+ /**
2189
+ * @param {string} value
2190
+ * @param {number=} opt_index
2191
+ * @return {!proto.google.api.serviceusage.v1.BatchGetServicesRequest} returns this
2192
+ */
2193
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.prototype.addNames = function(value, opt_index) {
2194
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
2195
+ };
2196
+
2197
+
2198
+ /**
2199
+ * Clears the list making it empty but non-null.
2200
+ * @return {!proto.google.api.serviceusage.v1.BatchGetServicesRequest} returns this
2201
+ */
2202
+ proto.google.api.serviceusage.v1.BatchGetServicesRequest.prototype.clearNamesList = function() {
2203
+ return this.setNamesList([]);
2204
+ };
2205
+
2206
+
2207
+
2208
+ /**
2209
+ * List of repeated fields within this message type.
2210
+ * @private {!Array<number>}
2211
+ * @const
2212
+ */
2213
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.repeatedFields_ = [1];
2214
+
2215
+
2216
+
2217
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2218
+ /**
2219
+ * Creates an object representation of this proto.
2220
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2221
+ * Optional fields that are not set will be set to undefined.
2222
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2223
+ * For the list of reserved names please see:
2224
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2225
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2226
+ * JSPB instance for transitional soy proto support:
2227
+ * http://goto/soy-param-migration
2228
+ * @return {!Object}
2229
+ */
2230
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.prototype.toObject = function(opt_includeInstance) {
2231
+ return proto.google.api.serviceusage.v1.BatchGetServicesResponse.toObject(opt_includeInstance, this);
2232
+ };
2233
+
2234
+
2235
+ /**
2236
+ * Static version of the {@see toObject} method.
2237
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2238
+ * the JSPB instance for transitional soy proto support:
2239
+ * http://goto/soy-param-migration
2240
+ * @param {!proto.google.api.serviceusage.v1.BatchGetServicesResponse} msg The msg instance to transform.
2241
+ * @return {!Object}
2242
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2243
+ */
2244
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.toObject = function(includeInstance, msg) {
2245
+ var f, obj = {
2246
+ servicesList: jspb.Message.toObjectList(msg.getServicesList(),
2247
+ google_api_serviceusage_v1_resources_pb.Service.toObject, includeInstance)
2248
+ };
2249
+
2250
+ if (includeInstance) {
2251
+ obj.$jspbMessageInstance = msg;
2252
+ }
2253
+ return obj;
2254
+ };
2255
+ }
2256
+
2257
+
2258
+ /**
2259
+ * Deserializes binary data (in protobuf wire format).
2260
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2261
+ * @return {!proto.google.api.serviceusage.v1.BatchGetServicesResponse}
2262
+ */
2263
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.deserializeBinary = function(bytes) {
2264
+ var reader = new jspb.BinaryReader(bytes);
2265
+ var msg = new proto.google.api.serviceusage.v1.BatchGetServicesResponse;
2266
+ return proto.google.api.serviceusage.v1.BatchGetServicesResponse.deserializeBinaryFromReader(msg, reader);
2267
+ };
2268
+
2269
+
2270
+ /**
2271
+ * Deserializes binary data (in protobuf wire format) from the
2272
+ * given reader into the given message object.
2273
+ * @param {!proto.google.api.serviceusage.v1.BatchGetServicesResponse} msg The message object to deserialize into.
2274
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2275
+ * @return {!proto.google.api.serviceusage.v1.BatchGetServicesResponse}
2276
+ */
2277
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.deserializeBinaryFromReader = function(msg, reader) {
2278
+ while (reader.nextField()) {
2279
+ if (reader.isEndGroup()) {
2280
+ break;
2281
+ }
2282
+ var field = reader.getFieldNumber();
2283
+ switch (field) {
2284
+ case 1:
2285
+ var value = new google_api_serviceusage_v1_resources_pb.Service;
2286
+ reader.readMessage(value,google_api_serviceusage_v1_resources_pb.Service.deserializeBinaryFromReader);
2287
+ msg.addServices(value);
2288
+ break;
2289
+ default:
2290
+ reader.skipField();
2291
+ break;
2292
+ }
2293
+ }
2294
+ return msg;
2295
+ };
2296
+
2297
+
2298
+ /**
2299
+ * Serializes the message to binary data (in protobuf wire format).
2300
+ * @return {!Uint8Array}
2301
+ */
2302
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.prototype.serializeBinary = function() {
2303
+ var writer = new jspb.BinaryWriter();
2304
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.serializeBinaryToWriter(this, writer);
2305
+ return writer.getResultBuffer();
2306
+ };
2307
+
2308
+
2309
+ /**
2310
+ * Serializes the given message to binary data (in protobuf wire
2311
+ * format), writing to the given BinaryWriter.
2312
+ * @param {!proto.google.api.serviceusage.v1.BatchGetServicesResponse} message
2313
+ * @param {!jspb.BinaryWriter} writer
2314
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2315
+ */
2316
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.serializeBinaryToWriter = function(message, writer) {
2317
+ var f = undefined;
2318
+ f = message.getServicesList();
2319
+ if (f.length > 0) {
2320
+ writer.writeRepeatedMessage(
2321
+ 1,
2322
+ f,
2323
+ google_api_serviceusage_v1_resources_pb.Service.serializeBinaryToWriter
2324
+ );
2325
+ }
2326
+ };
2327
+
2328
+
2329
+ /**
2330
+ * repeated Service services = 1;
2331
+ * @return {!Array<!proto.google.api.serviceusage.v1.Service>}
2332
+ */
2333
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.prototype.getServicesList = function() {
2334
+ return /** @type{!Array<!proto.google.api.serviceusage.v1.Service>} */ (
2335
+ jspb.Message.getRepeatedWrapperField(this, google_api_serviceusage_v1_resources_pb.Service, 1));
2336
+ };
2337
+
2338
+
2339
+ /**
2340
+ * @param {!Array<!proto.google.api.serviceusage.v1.Service>} value
2341
+ * @return {!proto.google.api.serviceusage.v1.BatchGetServicesResponse} returns this
2342
+ */
2343
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.prototype.setServicesList = function(value) {
2344
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2345
+ };
2346
+
2347
+
2348
+ /**
2349
+ * @param {!proto.google.api.serviceusage.v1.Service=} opt_value
2350
+ * @param {number=} opt_index
2351
+ * @return {!proto.google.api.serviceusage.v1.Service}
2352
+ */
2353
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.prototype.addServices = function(opt_value, opt_index) {
2354
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.serviceusage.v1.Service, opt_index);
2355
+ };
2356
+
2357
+
2358
+ /**
2359
+ * Clears the list making it empty but non-null.
2360
+ * @return {!proto.google.api.serviceusage.v1.BatchGetServicesResponse} returns this
2361
+ */
2362
+ proto.google.api.serviceusage.v1.BatchGetServicesResponse.prototype.clearServicesList = function() {
2363
+ return this.setServicesList([]);
2364
+ };
2365
+
2366
+
2367
+ goog.object.extend(exports, proto.google.api.serviceusage.v1);
2368
+
2369
+ // Below is base64 encoded GeneratedCodeInfo proto
2370
+ // CjkKAgQAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8YuRUgzRUKOQoCBAESLWdvb2dsZS9hcGkvc2VydmljZXVzYWdlL3YxL3NlcnZpY2V1c2FnZS5wcm90bxjvGyCEHAo5CgIEAhItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGKkiIL4iCjkKAgQDEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Y4ygg+SgKOQoCBAQSLWdvb2dsZS9hcGkvc2VydmljZXVzYWdlL3YxL3NlcnZpY2V1c2FnZS5wcm90bxihLyCyLwo5CgIEBRItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGMs1IN41CjkKAgQGEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Y/TsgkTwKOQoCBAcSLWdvb2dsZS9hcGkvc2VydmljZXVzYWdlL3YxL3NlcnZpY2V1c2FnZS5wcm90bxj0QiCOQwo5CgIECBItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGIlKIKRKCjsKBAQIAwASLWdvb2dsZS9hcGkvc2VydmljZXVzYWdlL3YxL3NlcnZpY2V1c2FnZS5wcm90bxi/USDMUQo5CgIECRItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGK1YIMRYCjkKAgQKEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Ys18gy18KPQoEBAACABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGL2BASDEgQEKPQoEBAACABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGNuDASDigwEKPQoEBAECABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGJWlASCfpQEKPQoEBAECABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGLSoASC+qAEKPQoEBAECABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGNuqASDnqgEKPQoEBAECABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGKWsASCvrAEKPQoEBAIEABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGMjQASDe0AEKPwoGBAIEAAIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Y5dABIIvRAQo/CgYEAgQAAgESLWdvb2dsZS9hcGkvc2VydmljZXVzYWdlL3YxL3NlcnZpY2V1c2FnZS5wcm90bxiS0QEgltEBCj8KBgQCBAACAhItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGJ3RASCi0QEKPQoEBAICABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGKTSASCr0gEKPQoEBAICABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGMTUASDL1AEKPQoEBAICARItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGLDWASDL1gEKPQoEBAICARItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGPDYASCL2QEKPQoEBAICAhItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGMrbASDj2wEKPQoEBAICAhItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGIvfASCk3wEKPQoEBAMCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGOWAAiDvgAIKPQoEBAMCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGIaEAiCQhAIKPQoEBAMCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGK+GAiC7hgIKPQoEBAMCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGPqHAiCEiAIKPQoEBAQCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGMamAiDNpgIKPQoEBAQCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGN6oAiDlqAIKPQoEBAUCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGKnOAiCyzgIKPQoEBAUCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGMfQAiDQ0AIKPQoEBAUCARItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGKLSAiCt0gIKPQoEBAUCARItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGMHUAiDM1AIKPQoEBAUCAhItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGJ3WAiCp1gIKPQoEBAUCAhItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGL7YAiDK2AIKPQoEBAUCAxItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGJraAiCj2gIKPQoEBAUCAxItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGLjcAiDB3AIKPQoEBAYCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGP2BAyCMggMKPQoEBAYCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGK2FAyC8hQMKPQoEBAYCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGPOHAyD+hwMKPQoEBAYCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGOuKAyD8igMKPQoEBAYCARItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGLiMAyDIjAMKPQoEBAYCARItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGN+OAyDvjgMKPQoEBAcCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGN6yAyDnsgMKPQoEBAcCABItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGIq1AyCTtQMKPQoEBAcCARItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGPe2AyCItwMKPQoEBAcCARItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGLS5AyDFuQMKPQoEBAcCARItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGPG7AyD+uwMKPQoEBAcCARItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGL6+AyDRvgMKPwoGBAgDAAIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Y8YkEIP2JBAo/CgYECAMAAgASLWdvb2dsZS9hcGkvc2VydmljZXVzYWdlL3YxL3NlcnZpY2V1c2FnZS5wcm90bxi+jAQgyowECj8KBgQIAwACARItZ29vZ2xlL2FwaS9zZXJ2aWNldXNhZ2UvdjEvc2VydmljZXVzYWdlLnByb3RvGLeOBCDGjgQKPwoGBAgDAAIBEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Yh5EEIJaRBAo9CgQECAIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8YnJMEIKuTBAo9CgQECAIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Y2pYEIOmWBAo9CgQECAIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Yp5kEILKZBAo9CgQECAIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8YrZwEIL6cBAo9CgQECAIBEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Yzp4EIN2eBAo9CgQECAIBEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Y66IEIPqiBAo9CgQECAIBEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Y/KUEIIemBAo9CgQECAIBEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8YpKkEILWpBAo9CgQECQIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8YxMwEIM3MBAo9CgQECQIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Y6s4EIPPOBAo9CgQECQIBEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8YztAEINrQBAo9CgQECQIBEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8YgNMEIIzTBAo9CgQECQIBEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8YstUEILrVBAo9CgQECQIBEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Y9NcEIILYBAo9CgQECgIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8YsvsEIMH7BAo9CgQECgIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8Y6v4EIPn+BAo9CgQECgIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8YtIEFIL+BBQo9CgQECgIAEi1nb29nbGUvYXBpL3NlcnZpY2V1c2FnZS92MS9zZXJ2aWNldXNhZ2UucHJvdG8YtIQFIMWEBQ==