BUILD.bazel 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  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. rest_numeric_enums = False,
  54. test_deps = [
  55. ":executions_java_grpc",
  56. ],
  57. transport = "grpc+rest",
  58. deps = [
  59. ":executions_java_proto",
  60. ],
  61. )
  62. java_gapic_test(
  63. name = "executions_java_gapic_test_suite",
  64. test_classes = [
  65. "com.google.cloud.workflows.executions.v1beta.ExecutionsClientHttpJsonTest",
  66. "com.google.cloud.workflows.executions.v1beta.ExecutionsClientTest",
  67. ],
  68. runtime_deps = [":executions_java_gapic_test"],
  69. )
  70. # Open Source Packages
  71. java_gapic_assembly_gradle_pkg(
  72. name = "google-cloud-workflows-executions-v1beta-java",
  73. include_samples = True,
  74. transport = "grpc+rest",
  75. deps = [
  76. ":executions_java_gapic",
  77. ":executions_java_grpc",
  78. ":executions_java_proto",
  79. ":executions_proto",
  80. ],
  81. )
  82. ##############################################################################
  83. # Go
  84. ##############################################################################
  85. load(
  86. "@com_google_googleapis_imports//:imports.bzl",
  87. "go_gapic_assembly_pkg",
  88. "go_gapic_library",
  89. "go_proto_library",
  90. "go_test",
  91. )
  92. go_proto_library(
  93. name = "executions_go_proto",
  94. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  95. importpath = "google.golang.org/genproto/googleapis/cloud/workflows/executions/v1beta",
  96. protos = [":executions_proto"],
  97. deps = [
  98. "//google/api:annotations_go_proto",
  99. ],
  100. )
  101. go_gapic_library(
  102. name = "executions_go_gapic",
  103. srcs = [":executions_proto_with_info"],
  104. grpc_service_config = "executions_grpc_service_config.json",
  105. importpath = "cloud.google.com/go/workflows/executions/apiv1beta;executions",
  106. rest_numeric_enums = False,
  107. service_yaml = "workflowexecutions_v1beta.yaml",
  108. transport = "grpc+rest",
  109. deps = [
  110. ":executions_go_proto",
  111. ],
  112. )
  113. go_test(
  114. name = "executions_go_gapic_test",
  115. srcs = [":executions_go_gapic_srcjar_test"],
  116. embed = [":executions_go_gapic"],
  117. importpath = "cloud.google.com/go/workflows/executions/apiv1beta",
  118. )
  119. # Open Source Packages
  120. go_gapic_assembly_pkg(
  121. name = "gapi-cloud-workflows-executions-v1beta-go",
  122. deps = [
  123. ":executions_go_gapic",
  124. ":executions_go_gapic_srcjar-test.srcjar",
  125. ":executions_go_proto",
  126. ],
  127. )
  128. ##############################################################################
  129. # Python
  130. ##############################################################################
  131. load(
  132. "@com_google_googleapis_imports//:imports.bzl",
  133. "py_gapic_assembly_pkg",
  134. "py_gapic_library",
  135. "py_test",
  136. )
  137. py_gapic_library(
  138. name = "executions_py_gapic",
  139. srcs = [":executions_proto"],
  140. grpc_service_config = "executions_grpc_service_config.json",
  141. rest_numeric_enums = False,
  142. transport = "grpc",
  143. )
  144. py_test(
  145. name = "executions_py_gapic_test",
  146. srcs = [
  147. "executions_py_gapic_pytest.py",
  148. "executions_py_gapic_test.py",
  149. ],
  150. legacy_create_init = False,
  151. deps = [":executions_py_gapic"],
  152. )
  153. # Open Source Packages
  154. py_gapic_assembly_pkg(
  155. name = "workflows-executions-v1beta-py",
  156. deps = [
  157. ":executions_py_gapic",
  158. ":executions_py_grpc",
  159. ":executions_py_proto",
  160. ],
  161. )
  162. ##############################################################################
  163. # PHP
  164. ##############################################################################
  165. load(
  166. "@com_google_googleapis_imports//:imports.bzl",
  167. "php_gapic_assembly_pkg",
  168. "php_gapic_library",
  169. "php_grpc_library",
  170. "php_proto_library",
  171. )
  172. php_proto_library(
  173. name = "executions_php_proto",
  174. deps = [":executions_proto"],
  175. )
  176. php_grpc_library(
  177. name = "executions_php_grpc",
  178. srcs = [":executions_proto"],
  179. deps = [":executions_php_proto"],
  180. )
  181. php_gapic_library(
  182. name = "executions_php_gapic",
  183. srcs = [":executions_proto_with_info"],
  184. rest_numeric_enums = False,
  185. transport = "grpc+rest",
  186. deps = [
  187. ":executions_php_grpc",
  188. ":executions_php_proto",
  189. ],
  190. )
  191. # Open Source Packages
  192. php_gapic_assembly_pkg(
  193. name = "google-cloud-workflows-executions-v1beta-php",
  194. deps = [
  195. ":executions_php_gapic",
  196. ":executions_php_grpc",
  197. ":executions_php_proto",
  198. ],
  199. )
  200. ##############################################################################
  201. # Node.js
  202. ##############################################################################
  203. load(
  204. "@com_google_googleapis_imports//:imports.bzl",
  205. "nodejs_gapic_assembly_pkg",
  206. "nodejs_gapic_library",
  207. )
  208. nodejs_gapic_library(
  209. name = "executions_nodejs_gapic",
  210. package_name = "@google-cloud/workflows-executions",
  211. src = ":executions_proto_with_info",
  212. extra_protoc_parameters = ["metadata"],
  213. gapic_yaml = "executions_gapic.yaml",
  214. package = "google.cloud.workflows.executions.v1beta",
  215. rest_numeric_enums = False,
  216. service_yaml = "workflowexecutions_v1beta.yaml",
  217. transport = "grpc+rest",
  218. deps = [],
  219. )
  220. nodejs_gapic_assembly_pkg(
  221. name = "workflows-executions-v1beta-nodejs",
  222. deps = [
  223. ":executions_nodejs_gapic",
  224. ":executions_proto",
  225. ],
  226. )
  227. ##############################################################################
  228. # Ruby
  229. ##############################################################################
  230. load(
  231. "@com_google_googleapis_imports//:imports.bzl",
  232. "ruby_cloud_gapic_library",
  233. "ruby_gapic_assembly_pkg",
  234. "ruby_grpc_library",
  235. "ruby_proto_library",
  236. )
  237. ruby_proto_library(
  238. name = "executions_ruby_proto",
  239. deps = [":executions_proto"],
  240. )
  241. ruby_grpc_library(
  242. name = "executions_ruby_grpc",
  243. srcs = [":executions_proto"],
  244. deps = [":executions_ruby_proto"],
  245. )
  246. ruby_cloud_gapic_library(
  247. name = "executions_ruby_gapic",
  248. srcs = [":executions_proto_with_info"],
  249. extra_protoc_parameters = [
  250. "ruby-cloud-gem-name=google-cloud-workflows-executions-v1beta",
  251. "ruby-cloud-env-prefix=WORKFLOWS",
  252. "ruby-cloud-product-url=https://cloud.google.com/workflows/",
  253. "ruby-cloud-api-id=workflowexecutions.googleapis.com",
  254. "ruby-cloud-api-shortname=workflowexecutions",
  255. "ruby-cloud-wrapper-gem-override=google-cloud-workflows",
  256. ],
  257. grpc_service_config = "executions_grpc_service_config.json",
  258. rest_numeric_enums = False,
  259. 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..",
  260. ruby_cloud_title = "Workflows Executions V1beta",
  261. deps = [
  262. ":executions_ruby_grpc",
  263. ":executions_ruby_proto",
  264. ],
  265. )
  266. # Open Source Packages
  267. ruby_gapic_assembly_pkg(
  268. name = "google-cloud-workflows-executions-v1beta-ruby",
  269. deps = [
  270. ":executions_ruby_gapic",
  271. ":executions_ruby_grpc",
  272. ":executions_ruby_proto",
  273. ],
  274. )
  275. ##############################################################################
  276. # C#
  277. ##############################################################################
  278. load(
  279. "@com_google_googleapis_imports//:imports.bzl",
  280. "csharp_gapic_assembly_pkg",
  281. "csharp_gapic_library",
  282. "csharp_grpc_library",
  283. "csharp_proto_library",
  284. )
  285. csharp_proto_library(
  286. name = "executions_csharp_proto",
  287. deps = [":executions_proto"],
  288. )
  289. csharp_grpc_library(
  290. name = "executions_csharp_grpc",
  291. srcs = [":executions_proto"],
  292. deps = [":executions_csharp_proto"],
  293. )
  294. csharp_gapic_library(
  295. name = "executions_csharp_gapic",
  296. srcs = [":executions_proto_with_info"],
  297. common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
  298. grpc_service_config = "executions_grpc_service_config.json",
  299. rest_numeric_enums = False,
  300. service_yaml = "workflowexecutions_v1beta.yaml",
  301. deps = [
  302. ":executions_csharp_grpc",
  303. ":executions_csharp_proto",
  304. ],
  305. )
  306. # Open Source Packages
  307. csharp_gapic_assembly_pkg(
  308. name = "google-cloud-workflows-executions-v1beta-csharp",
  309. deps = [
  310. ":executions_csharp_gapic",
  311. ":executions_csharp_grpc",
  312. ":executions_csharp_proto",
  313. ],
  314. )
  315. ##############################################################################
  316. # C++
  317. ##############################################################################
  318. # Put your C++ rules here