BUILD.bazel 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  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 = "talent_proto",
  11. srcs = [
  12. "application.proto",
  13. "application_service.proto",
  14. "batch.proto",
  15. "common.proto",
  16. "company.proto",
  17. "company_service.proto",
  18. "completion_service.proto",
  19. "event.proto",
  20. "event_service.proto",
  21. "filters.proto",
  22. "histogram.proto",
  23. "job.proto",
  24. "job_service.proto",
  25. "profile.proto",
  26. "profile_service.proto",
  27. "tenant.proto",
  28. "tenant_service.proto",
  29. ],
  30. deps = [
  31. "//google/api:annotations_proto",
  32. "//google/api:client_proto",
  33. "//google/api:field_behavior_proto",
  34. "//google/api:resource_proto",
  35. "//google/longrunning:operations_proto",
  36. "//google/rpc:status_proto",
  37. "//google/type:date_proto",
  38. "//google/type:latlng_proto",
  39. "//google/type:money_proto",
  40. "//google/type:postal_address_proto",
  41. "//google/type:timeofday_proto",
  42. "@com_google_protobuf//:any_proto",
  43. "@com_google_protobuf//:duration_proto",
  44. "@com_google_protobuf//:empty_proto",
  45. "@com_google_protobuf//:field_mask_proto",
  46. "@com_google_protobuf//:timestamp_proto",
  47. "@com_google_protobuf//:wrappers_proto",
  48. ],
  49. )
  50. proto_library_with_info(
  51. name = "talent_proto_with_info",
  52. deps = [
  53. ":talent_proto",
  54. "//google/cloud:common_resources_proto",
  55. ],
  56. )
  57. ##############################################################################
  58. # Java
  59. ##############################################################################
  60. load(
  61. "@com_google_googleapis_imports//:imports.bzl",
  62. "java_gapic_assembly_gradle_pkg",
  63. "java_gapic_library",
  64. "java_gapic_test",
  65. "java_grpc_library",
  66. "java_proto_library",
  67. )
  68. java_proto_library(
  69. name = "talent_java_proto",
  70. deps = [":talent_proto"],
  71. )
  72. java_grpc_library(
  73. name = "talent_java_grpc",
  74. srcs = [":talent_proto"],
  75. deps = [":talent_java_proto"],
  76. )
  77. java_gapic_library(
  78. name = "talent_java_gapic",
  79. srcs = [":talent_proto_with_info"],
  80. grpc_service_config = "talent_grpc_service_config.json",
  81. test_deps = [
  82. ":talent_java_grpc",
  83. ],
  84. deps = [
  85. ":talent_java_proto",
  86. ],
  87. )
  88. java_gapic_test(
  89. name = "talent_java_gapic_test_suite",
  90. test_classes = [
  91. "com.google.cloud.talent.v4beta1.ApplicationServiceClientTest",
  92. "com.google.cloud.talent.v4beta1.CompanyServiceClientTest",
  93. "com.google.cloud.talent.v4beta1.CompletionClientTest",
  94. "com.google.cloud.talent.v4beta1.EventServiceClientTest",
  95. "com.google.cloud.talent.v4beta1.JobServiceClientTest",
  96. "com.google.cloud.talent.v4beta1.ProfileServiceClientTest",
  97. "com.google.cloud.talent.v4beta1.TenantServiceClientTest",
  98. ],
  99. runtime_deps = [":talent_java_gapic_test"],
  100. )
  101. # Open Source Packages
  102. java_gapic_assembly_gradle_pkg(
  103. name = "google-cloud-talent-v4beta1-java",
  104. deps = [
  105. ":talent_java_gapic",
  106. ":talent_java_grpc",
  107. ":talent_java_proto",
  108. ":talent_proto",
  109. ],
  110. )
  111. ##############################################################################
  112. # Go
  113. ##############################################################################
  114. load(
  115. "@com_google_googleapis_imports//:imports.bzl",
  116. "go_gapic_assembly_pkg",
  117. "go_gapic_library",
  118. "go_proto_library",
  119. "go_test",
  120. )
  121. go_proto_library(
  122. name = "talent_go_proto",
  123. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  124. importpath = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1",
  125. protos = [":talent_proto"],
  126. deps = [
  127. "//google/api:annotations_go_proto",
  128. "//google/longrunning:longrunning_go_proto",
  129. "//google/rpc:status_go_proto",
  130. "//google/type:date_go_proto",
  131. "//google/type:latlng_go_proto",
  132. "//google/type:money_go_proto",
  133. "//google/type:postaladdress_go_proto",
  134. "//google/type:timeofday_go_proto",
  135. ],
  136. )
  137. go_gapic_library(
  138. name = "talent_go_gapic",
  139. srcs = [":talent_proto_with_info"],
  140. grpc_service_config = "talent_grpc_service_config.json",
  141. importpath = "cloud.google.com/go/talent/apiv4beta1;talent",
  142. service_yaml = "//google/cloud/talent:talent_v4beta1.yaml",
  143. deps = [
  144. ":talent_go_proto",
  145. "//google/longrunning:longrunning_go_proto",
  146. "@com_google_cloud_go//longrunning:go_default_library",
  147. "@com_google_cloud_go//longrunning/autogen:go_default_library",
  148. "@io_bazel_rules_go//proto/wkt:any_go_proto",
  149. "@io_bazel_rules_go//proto/wkt:duration_go_proto",
  150. ],
  151. )
  152. go_test(
  153. name = "talent_go_gapic_test",
  154. srcs = [":talent_go_gapic_srcjar_test"],
  155. embed = [":talent_go_gapic"],
  156. importpath = "cloud.google.com/go/talent/apiv4beta1",
  157. )
  158. # Open Source Packages
  159. go_gapic_assembly_pkg(
  160. name = "gapi-cloud-talent-v4beta1-go",
  161. deps = [
  162. ":talent_go_gapic",
  163. ":talent_go_gapic_srcjar-test.srcjar",
  164. ":talent_go_proto",
  165. ],
  166. )
  167. ##############################################################################
  168. # Python
  169. ##############################################################################
  170. load(
  171. "@com_google_googleapis_imports//:imports.bzl",
  172. "py_gapic_assembly_pkg",
  173. "py_gapic_library",
  174. )
  175. py_gapic_library(
  176. name = "talent_py_gapic",
  177. srcs = [":talent_proto"],
  178. grpc_service_config = "talent_grpc_service_config.json",
  179. )
  180. py_gapic_assembly_pkg(
  181. name = "talent-v4beta1-py",
  182. deps = [
  183. ":talent_py_gapic",
  184. ],
  185. )
  186. ##############################################################################
  187. # PHP
  188. ##############################################################################
  189. load(
  190. "@com_google_googleapis_imports//:imports.bzl",
  191. "php_gapic_assembly_pkg",
  192. "php_gapic_library",
  193. "php_grpc_library",
  194. "php_proto_library",
  195. )
  196. php_proto_library(
  197. name = "talent_php_proto",
  198. deps = [":talent_proto"],
  199. )
  200. php_grpc_library(
  201. name = "talent_php_grpc",
  202. srcs = [":talent_proto"],
  203. deps = [":talent_php_proto"],
  204. )
  205. php_gapic_library(
  206. name = "talent_php_gapic",
  207. srcs = [":talent_proto_with_info"],
  208. grpc_service_config = "talent_grpc_service_config.json",
  209. deps = [
  210. ":talent_php_grpc",
  211. ":talent_php_proto",
  212. ],
  213. )
  214. # Open Source Packages
  215. php_gapic_assembly_pkg(
  216. name = "google-cloud-talent-v4beta1-php",
  217. deps = [
  218. ":talent_php_gapic",
  219. ":talent_php_grpc",
  220. ":talent_php_proto",
  221. ],
  222. )
  223. ##############################################################################
  224. # Node.js
  225. ##############################################################################
  226. load(
  227. "@com_google_googleapis_imports//:imports.bzl",
  228. "nodejs_gapic_assembly_pkg",
  229. "nodejs_gapic_library",
  230. )
  231. nodejs_gapic_library(
  232. name = "talent_nodejs_gapic",
  233. package_name = "@google-cloud/talent",
  234. src = ":talent_proto_with_info",
  235. extra_protoc_parameters = ["metadata"],
  236. grpc_service_config = "talent_grpc_service_config.json",
  237. main_service = "talent",
  238. package = "google.cloud.talent.v4beta1",
  239. service_yaml = "//google/cloud/talent:talent_v4beta1.yaml",
  240. deps = [],
  241. )
  242. nodejs_gapic_assembly_pkg(
  243. name = "talent-v4beta1-nodejs",
  244. deps = [
  245. ":talent_nodejs_gapic",
  246. ":talent_proto",
  247. ],
  248. )
  249. ##############################################################################
  250. # Ruby
  251. ##############################################################################
  252. load(
  253. "@com_google_googleapis_imports//:imports.bzl",
  254. "ruby_cloud_gapic_library",
  255. "ruby_gapic_assembly_pkg",
  256. "ruby_grpc_library",
  257. "ruby_proto_library",
  258. )
  259. ruby_proto_library(
  260. name = "talent_ruby_proto",
  261. deps = [":talent_proto"],
  262. )
  263. ruby_grpc_library(
  264. name = "talent_ruby_grpc",
  265. srcs = [":talent_proto"],
  266. deps = [":talent_ruby_proto"],
  267. )
  268. ruby_cloud_gapic_library(
  269. name = "talent_ruby_gapic",
  270. srcs = [":talent_proto_with_info"],
  271. extra_protoc_parameters = [
  272. "ruby-cloud-gem-name=google-cloud-talent-v4beta1",
  273. "ruby-cloud-env-prefix=TALENT",
  274. "ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution",
  275. "ruby-cloud-api-id=jobs.googleapis.com",
  276. "ruby-cloud-api-shortname=jobs",
  277. ],
  278. grpc_service_config = "talent_grpc_service_config.json",
  279. ruby_cloud_description = "Transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search to provide candidates and employers with an enhanced talent acquisition experience.",
  280. ruby_cloud_title = "Cloud Talent Solution V4beta1",
  281. deps = [
  282. ":talent_ruby_grpc",
  283. ":talent_ruby_proto",
  284. ],
  285. )
  286. # Open Source Packages
  287. ruby_gapic_assembly_pkg(
  288. name = "google-cloud-talent-v4beta1-ruby",
  289. deps = [
  290. ":talent_ruby_gapic",
  291. ":talent_ruby_grpc",
  292. ":talent_ruby_proto",
  293. ],
  294. )
  295. ##############################################################################
  296. # C#
  297. ##############################################################################
  298. load(
  299. "@com_google_googleapis_imports//:imports.bzl",
  300. "csharp_gapic_assembly_pkg",
  301. "csharp_gapic_library",
  302. "csharp_grpc_library",
  303. "csharp_proto_library",
  304. )
  305. csharp_proto_library(
  306. name = "talent_csharp_proto",
  307. deps = [":talent_proto"],
  308. )
  309. csharp_grpc_library(
  310. name = "talent_csharp_grpc",
  311. srcs = [":talent_proto"],
  312. deps = [":talent_csharp_proto"],
  313. )
  314. csharp_gapic_library(
  315. name = "talent_csharp_gapic",
  316. srcs = [":talent_proto_with_info"],
  317. common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
  318. grpc_service_config = "talent_grpc_service_config.json",
  319. deps = [
  320. ":talent_csharp_grpc",
  321. ":talent_csharp_proto",
  322. ],
  323. )
  324. # Open Source Packages
  325. csharp_gapic_assembly_pkg(
  326. name = "google-cloud-talent-v4beta1-csharp",
  327. deps = [
  328. ":talent_csharp_gapic",
  329. ":talent_csharp_grpc",
  330. ":talent_csharp_proto",
  331. ],
  332. )
  333. ##############################################################################
  334. # C++
  335. ##############################################################################
  336. # Put your C++ rules here