BUILD.bazel 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. # This file was automatically generated by BuildFileGenerator
  2. # This is an API workspace, having public visibility by default makes perfect sense.
  3. package(default_visibility = ["//visibility:public"])
  4. ##############################################################################
  5. # Common
  6. ##############################################################################
  7. load("@rules_proto//proto:defs.bzl", "proto_library")
  8. load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
  9. proto_library(
  10. name = "executions_proto",
  11. srcs = [
  12. "executions.proto",
  13. ],
  14. deps = [
  15. "//google/api:annotations_proto",
  16. "//google/api:client_proto",
  17. "//google/api:field_behavior_proto",
  18. "//google/api:resource_proto",
  19. "@com_google_protobuf//:timestamp_proto",
  20. ],
  21. )
  22. proto_library_with_info(
  23. name = "executions_proto_with_info",
  24. deps = [
  25. ":executions_proto",
  26. "//google/cloud:common_resources_proto",
  27. ],
  28. )
  29. ##############################################################################
  30. # Java
  31. ##############################################################################
  32. load(
  33. "@com_google_googleapis_imports//:imports.bzl",
  34. "java_gapic_assembly_gradle_pkg",
  35. "java_gapic_library",
  36. "java_gapic_test",
  37. "java_grpc_library",
  38. "java_proto_library",
  39. )
  40. java_proto_library(
  41. name = "executions_java_proto",
  42. deps = [":executions_proto"],
  43. )
  44. java_grpc_library(
  45. name = "executions_java_grpc",
  46. srcs = [":executions_proto"],
  47. deps = [":executions_java_proto"],
  48. )
  49. java_gapic_library(
  50. name = "executions_java_gapic",
  51. srcs = [":executions_proto_with_info"],
  52. grpc_service_config = "executions_grpc_service_config.json",
  53. test_deps = [
  54. ":executions_java_grpc",
  55. ],
  56. deps = [
  57. ":executions_java_proto",
  58. ],
  59. )
  60. java_gapic_test(
  61. name = "executions_java_gapic_test_suite",
  62. test_classes = [
  63. "com.google.cloud.workflows.executions.v1beta.ExecutionsClientTest",
  64. ],
  65. runtime_deps = [":executions_java_gapic_test"],
  66. )
  67. # Open Source Packages
  68. java_gapic_assembly_gradle_pkg(
  69. name = "google-cloud-workflows-executions-v1beta-java",
  70. deps = [
  71. ":executions_java_gapic",
  72. ":executions_java_grpc",
  73. ":executions_java_proto",
  74. ":executions_proto",
  75. ],
  76. )
  77. ##############################################################################
  78. # Go
  79. ##############################################################################
  80. load(
  81. "@com_google_googleapis_imports//:imports.bzl",
  82. "go_gapic_assembly_pkg",
  83. "go_gapic_library",
  84. "go_proto_library",
  85. "go_test",
  86. )
  87. go_proto_library(
  88. name = "executions_go_proto",
  89. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  90. importpath = "google.golang.org/genproto/googleapis/cloud/workflows/executions/v1beta",
  91. protos = [":executions_proto"],
  92. deps = [
  93. "//google/api:annotations_go_proto",
  94. ],
  95. )
  96. go_gapic_library(
  97. name = "executions_go_gapic",
  98. srcs = [":executions_proto_with_info"],
  99. grpc_service_config = "executions_grpc_service_config.json",
  100. importpath = "cloud.google.com/go/workflows/executions/apiv1beta;executions",
  101. service_yaml = "workflowexecutions_v1beta.yaml",
  102. deps = [
  103. ":executions_go_proto",
  104. ],
  105. )
  106. go_test(
  107. name = "executions_go_gapic_test",
  108. srcs = [":executions_go_gapic_srcjar_test"],
  109. embed = [":executions_go_gapic"],
  110. importpath = "cloud.google.com/go/workflows/executions/apiv1beta",
  111. )
  112. # Open Source Packages
  113. go_gapic_assembly_pkg(
  114. name = "gapi-cloud-workflows-executions-v1beta-go",
  115. deps = [
  116. ":executions_go_gapic",
  117. ":executions_go_gapic_srcjar-test.srcjar",
  118. ":executions_go_proto",
  119. ],
  120. )
  121. ##############################################################################
  122. # Python
  123. ##############################################################################
  124. load(
  125. "@com_google_googleapis_imports//:imports.bzl",
  126. "py_gapic_assembly_pkg",
  127. "py_gapic_library",
  128. )
  129. py_gapic_library(
  130. name = "executions_py_gapic",
  131. srcs = [":executions_proto"],
  132. grpc_service_config = "executions_grpc_service_config.json",
  133. )
  134. # Open Source Packages
  135. py_gapic_assembly_pkg(
  136. name = "workflows-executions-v1beta-py",
  137. deps = [
  138. ":executions_py_gapic",
  139. ":executions_py_grpc",
  140. ":executions_py_proto",
  141. ],
  142. )
  143. ##############################################################################
  144. # PHP
  145. ##############################################################################
  146. load(
  147. "@com_google_googleapis_imports//:imports.bzl",
  148. "php_gapic_assembly_pkg",
  149. "php_gapic_library",
  150. "php_grpc_library",
  151. "php_proto_library",
  152. )
  153. php_proto_library(
  154. name = "executions_php_proto",
  155. deps = [":executions_proto"],
  156. )
  157. php_grpc_library(
  158. name = "executions_php_grpc",
  159. srcs = [":executions_proto"],
  160. deps = [":executions_php_proto"],
  161. )
  162. php_gapic_library(
  163. name = "executions_php_gapic",
  164. srcs = [":executions_proto_with_info"],
  165. deps = [
  166. ":executions_php_grpc",
  167. ":executions_php_proto",
  168. ],
  169. )
  170. # Open Source Packages
  171. php_gapic_assembly_pkg(
  172. name = "google-cloud-workflows-executions-v1beta-php",
  173. deps = [
  174. ":executions_php_gapic",
  175. ":executions_php_grpc",
  176. ":executions_php_proto",
  177. ],
  178. )
  179. ##############################################################################
  180. # Node.js
  181. ##############################################################################
  182. load(
  183. "@com_google_googleapis_imports//:imports.bzl",
  184. "nodejs_gapic_assembly_pkg",
  185. "nodejs_gapic_library",
  186. )
  187. nodejs_gapic_library(
  188. name = "executions_nodejs_gapic",
  189. package_name = "@google-cloud/workflows-executions",
  190. src = ":executions_proto_with_info",
  191. extra_protoc_parameters = ["metadata"],
  192. gapic_yaml = "executions_gapic.yaml",
  193. package = "google.cloud.workflows.executions.v1beta",
  194. service_yaml = "workflowexecutions_v1beta.yaml",
  195. deps = [],
  196. )
  197. nodejs_gapic_assembly_pkg(
  198. name = "workflows-executions-v1beta-nodejs",
  199. deps = [
  200. ":executions_nodejs_gapic",
  201. ":executions_proto",
  202. ],
  203. )
  204. ##############################################################################
  205. # Ruby
  206. ##############################################################################
  207. load(
  208. "@com_google_googleapis_imports//:imports.bzl",
  209. "ruby_cloud_gapic_library",
  210. "ruby_gapic_assembly_pkg",
  211. "ruby_grpc_library",
  212. "ruby_proto_library",
  213. )
  214. ruby_proto_library(
  215. name = "executions_ruby_proto",
  216. deps = [":executions_proto"],
  217. )
  218. ruby_grpc_library(
  219. name = "executions_ruby_grpc",
  220. srcs = [":executions_proto"],
  221. deps = [":executions_ruby_proto"],
  222. )
  223. ruby_cloud_gapic_library(
  224. name = "executions_ruby_gapic",
  225. srcs = [":executions_proto_with_info"],
  226. extra_protoc_parameters = [
  227. "ruby-cloud-gem-name=google-cloud-workflows-executions-v1beta",
  228. "ruby-cloud-env-prefix=WORKFLOWS",
  229. "ruby-cloud-product-url=https://cloud.google.com/workflows/",
  230. "ruby-cloud-api-id=workflowexecutions.googleapis.com",
  231. "ruby-cloud-api-shortname=workflowexecutions",
  232. ],
  233. grpc_service_config = "executions_grpc_service_config.json",
  234. ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..",
  235. ruby_cloud_title = "Workflows Executions V1beta",
  236. deps = [
  237. ":executions_ruby_grpc",
  238. ":executions_ruby_proto",
  239. ],
  240. )
  241. # Open Source Packages
  242. ruby_gapic_assembly_pkg(
  243. name = "google-cloud-workflows-executions-v1beta-ruby",
  244. deps = [
  245. ":executions_ruby_gapic",
  246. ":executions_ruby_grpc",
  247. ":executions_ruby_proto",
  248. ],
  249. )
  250. ##############################################################################
  251. # C#
  252. ##############################################################################
  253. load(
  254. "@com_google_googleapis_imports//:imports.bzl",
  255. "csharp_gapic_assembly_pkg",
  256. "csharp_gapic_library",
  257. "csharp_grpc_library",
  258. "csharp_proto_library",
  259. )
  260. csharp_proto_library(
  261. name = "executions_csharp_proto",
  262. deps = [":executions_proto"],
  263. )
  264. csharp_grpc_library(
  265. name = "executions_csharp_grpc",
  266. srcs = [":executions_proto"],
  267. deps = [":executions_csharp_proto"],
  268. )
  269. csharp_gapic_library(
  270. name = "executions_csharp_gapic",
  271. srcs = [":executions_proto_with_info"],
  272. common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
  273. grpc_service_config = "executions_grpc_service_config.json",
  274. deps = [
  275. ":executions_csharp_grpc",
  276. ":executions_csharp_proto",
  277. ],
  278. )
  279. # Open Source Packages
  280. csharp_gapic_assembly_pkg(
  281. name = "google-cloud-workflows-executions-v1beta-csharp",
  282. deps = [
  283. ":executions_csharp_gapic",
  284. ":executions_csharp_grpc",
  285. ":executions_csharp_proto",
  286. ],
  287. )
  288. ##############################################################################
  289. # C++
  290. ##############################################################################
  291. # Put your C++ rules here