BUILD.bazel 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. # This file was automatically generated by BuildFileGenerator
  2. # https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel
  3. # Most of the manual changes to this file will be overwritten.
  4. # It's **only** allowed to change the following rule attribute values:
  5. # - names of *_gapic_assembly_* rules
  6. # - certain parameters of *_gapic_library rules, including but not limited to:
  7. # * extra_protoc_parameters
  8. # * extra_protoc_file_parameters
  9. # The complete list of preserved parameters can be found in the source code.
  10. # This is an API workspace, having public visibility by default makes perfect sense.
  11. package(default_visibility = ["//visibility:public"])
  12. ##############################################################################
  13. # Common
  14. ##############################################################################
  15. load("@rules_proto//proto:defs.bzl", "proto_library")
  16. load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
  17. proto_library(
  18. name = "talent_proto",
  19. srcs = [
  20. "common.proto",
  21. "company.proto",
  22. "company_service.proto",
  23. "completion_service.proto",
  24. "event.proto",
  25. "event_service.proto",
  26. "filters.proto",
  27. "histogram.proto",
  28. "job.proto",
  29. "job_service.proto",
  30. "tenant.proto",
  31. "tenant_service.proto",
  32. ],
  33. deps = [
  34. "//google/api:annotations_proto",
  35. "//google/api:client_proto",
  36. "//google/api:field_behavior_proto",
  37. "//google/api:resource_proto",
  38. "//google/longrunning:operations_proto",
  39. "//google/rpc:status_proto",
  40. "//google/type:latlng_proto",
  41. "//google/type:money_proto",
  42. "//google/type:postal_address_proto",
  43. "//google/type:timeofday_proto",
  44. "@com_google_protobuf//:any_proto",
  45. "@com_google_protobuf//:duration_proto",
  46. "@com_google_protobuf//:empty_proto",
  47. "@com_google_protobuf//:field_mask_proto",
  48. "@com_google_protobuf//:timestamp_proto",
  49. "@com_google_protobuf//:wrappers_proto",
  50. ],
  51. )
  52. proto_library_with_info(
  53. name = "talent_proto_with_info",
  54. deps = [
  55. ":talent_proto",
  56. "//google/cloud:common_resources_proto",
  57. ],
  58. )
  59. ##############################################################################
  60. # Java
  61. ##############################################################################
  62. load(
  63. "@com_google_googleapis_imports//:imports.bzl",
  64. "java_gapic_assembly_gradle_pkg",
  65. "java_gapic_library",
  66. "java_gapic_test",
  67. "java_grpc_library",
  68. "java_proto_library",
  69. )
  70. java_proto_library(
  71. name = "talent_java_proto",
  72. deps = [":talent_proto"],
  73. )
  74. java_grpc_library(
  75. name = "talent_java_grpc",
  76. srcs = [":talent_proto"],
  77. deps = [":talent_java_proto"],
  78. )
  79. java_gapic_library(
  80. name = "talent_java_gapic",
  81. srcs = [":talent_proto_with_info"],
  82. grpc_service_config = "talent_grpc_service_config.json",
  83. test_deps = [
  84. ":talent_java_grpc",
  85. ],
  86. deps = [
  87. ":talent_java_proto",
  88. ],
  89. )
  90. java_gapic_test(
  91. name = "talent_java_gapic_test_suite",
  92. test_classes = [
  93. "com.google.cloud.talent.v4.CompanyServiceClientTest",
  94. "com.google.cloud.talent.v4.CompletionClientTest",
  95. "com.google.cloud.talent.v4.EventServiceClientTest",
  96. "com.google.cloud.talent.v4.JobServiceClientTest",
  97. "com.google.cloud.talent.v4.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-v4-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/v4",
  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:latlng_go_proto",
  131. "//google/type:money_go_proto",
  132. "//google/type:postaladdress_go_proto",
  133. "//google/type:timeofday_go_proto",
  134. ],
  135. )
  136. go_gapic_library(
  137. name = "talent_go_gapic",
  138. srcs = [":talent_proto_with_info"],
  139. grpc_service_config = "talent_grpc_service_config.json",
  140. importpath = "cloud.google.com/go/talent/apiv4;talent",
  141. service_yaml = "//google/cloud/talent:talent_v4.yaml",
  142. deps = [
  143. ":talent_go_proto",
  144. "//google/longrunning:longrunning_go_proto",
  145. "@com_google_cloud_go//longrunning:go_default_library",
  146. "@com_google_cloud_go//longrunning/autogen:go_default_library",
  147. "@io_bazel_rules_go//proto/wkt:any_go_proto",
  148. "@io_bazel_rules_go//proto/wkt:duration_go_proto",
  149. ],
  150. )
  151. go_test(
  152. name = "talent_go_gapic_test",
  153. srcs = [":talent_go_gapic_srcjar_test"],
  154. embed = [":talent_go_gapic"],
  155. importpath = "cloud.google.com/go/talent/apiv4",
  156. )
  157. # Open Source Packages
  158. go_gapic_assembly_pkg(
  159. name = "gapi-cloud-talent-v4-go",
  160. deps = [
  161. ":talent_go_gapic",
  162. ":talent_go_gapic_srcjar-test.srcjar",
  163. ":talent_go_proto",
  164. ],
  165. )
  166. ##############################################################################
  167. # Python
  168. ##############################################################################
  169. load(
  170. "@com_google_googleapis_imports//:imports.bzl",
  171. "py_gapic_assembly_pkg",
  172. "py_gapic_library",
  173. )
  174. py_gapic_library(
  175. name = "talent_py_gapic",
  176. srcs = [":talent_proto"],
  177. grpc_service_config = "talent_grpc_service_config.json",
  178. )
  179. py_gapic_assembly_pkg(
  180. name = "talent-v4-py",
  181. deps = [
  182. ":talent_py_gapic",
  183. ],
  184. )
  185. ##############################################################################
  186. # PHP
  187. ##############################################################################
  188. load(
  189. "@com_google_googleapis_imports//:imports.bzl",
  190. "php_gapic_assembly_pkg",
  191. "php_gapic_library",
  192. "php_grpc_library",
  193. "php_proto_library",
  194. )
  195. php_proto_library(
  196. name = "talent_php_proto",
  197. deps = [":talent_proto"],
  198. )
  199. php_grpc_library(
  200. name = "talent_php_grpc",
  201. srcs = [":talent_proto"],
  202. deps = [":talent_php_proto"],
  203. )
  204. php_gapic_library(
  205. name = "talent_php_gapic",
  206. srcs = [":talent_proto_with_info"],
  207. grpc_service_config = "talent_grpc_service_config.json",
  208. deps = [
  209. ":talent_php_grpc",
  210. ":talent_php_proto",
  211. ],
  212. )
  213. # Open Source Packages
  214. php_gapic_assembly_pkg(
  215. name = "google-cloud-talent-v4-php",
  216. deps = [
  217. ":talent_php_gapic",
  218. ":talent_php_grpc",
  219. ":talent_php_proto",
  220. ],
  221. )
  222. ##############################################################################
  223. # Node.js
  224. ##############################################################################
  225. load(
  226. "@com_google_googleapis_imports//:imports.bzl",
  227. "nodejs_gapic_assembly_pkg",
  228. "nodejs_gapic_library",
  229. )
  230. nodejs_gapic_library(
  231. name = "talent_nodejs_gapic",
  232. package_name = "@google-cloud/talent",
  233. src = ":talent_proto_with_info",
  234. extra_protoc_parameters = ["metadata"],
  235. grpc_service_config = "talent_grpc_service_config.json",
  236. main_service = "talent",
  237. package = "google.cloud.talent.v4",
  238. service_yaml = "//google/cloud/talent:talent_v4.yaml",
  239. deps = [],
  240. )
  241. nodejs_gapic_assembly_pkg(
  242. name = "talent-v4-nodejs",
  243. deps = [
  244. ":talent_nodejs_gapic",
  245. ":talent_proto",
  246. ],
  247. )
  248. ##############################################################################
  249. # Ruby
  250. ##############################################################################
  251. load(
  252. "@com_google_googleapis_imports//:imports.bzl",
  253. "ruby_cloud_gapic_library",
  254. "ruby_gapic_assembly_pkg",
  255. "ruby_grpc_library",
  256. "ruby_proto_library",
  257. )
  258. ruby_proto_library(
  259. name = "talent_ruby_proto",
  260. deps = [":talent_proto"],
  261. )
  262. ruby_grpc_library(
  263. name = "talent_ruby_grpc",
  264. srcs = [":talent_proto"],
  265. deps = [":talent_ruby_proto"],
  266. )
  267. ruby_cloud_gapic_library(
  268. name = "talent_ruby_gapic",
  269. srcs = [":talent_proto_with_info"],
  270. extra_protoc_parameters = [
  271. "ruby-cloud-gem-name=google-cloud-talent-v4",
  272. "ruby-cloud-env-prefix=TALENT",
  273. "ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution",
  274. "ruby-cloud-api-id=jobs.googleapis.com",
  275. "ruby-cloud-api-shortname=jobs",
  276. ],
  277. grpc_service_config = "talent_grpc_service_config.json",
  278. 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.",
  279. ruby_cloud_title = "Cloud Talent Solution V4",
  280. deps = [
  281. ":talent_ruby_grpc",
  282. ":talent_ruby_proto",
  283. ],
  284. )
  285. # Open Source Packages
  286. ruby_gapic_assembly_pkg(
  287. name = "google-cloud-talent-v4-ruby",
  288. deps = [
  289. ":talent_ruby_gapic",
  290. ":talent_ruby_grpc",
  291. ":talent_ruby_proto",
  292. ],
  293. )
  294. ##############################################################################
  295. # C#
  296. ##############################################################################
  297. load(
  298. "@com_google_googleapis_imports//:imports.bzl",
  299. "csharp_gapic_assembly_pkg",
  300. "csharp_gapic_library",
  301. "csharp_grpc_library",
  302. "csharp_proto_library",
  303. )
  304. csharp_proto_library(
  305. name = "talent_csharp_proto",
  306. deps = [":talent_proto"],
  307. )
  308. csharp_grpc_library(
  309. name = "talent_csharp_grpc",
  310. srcs = [":talent_proto"],
  311. deps = [":talent_csharp_proto"],
  312. )
  313. csharp_gapic_library(
  314. name = "talent_csharp_gapic",
  315. srcs = [":talent_proto_with_info"],
  316. deps = [
  317. ":talent_csharp_grpc",
  318. ":talent_csharp_proto",
  319. ],
  320. )
  321. # Open Source Packages
  322. csharp_gapic_assembly_pkg(
  323. name = "google-cloud-talent-v4-csharp",
  324. deps = [
  325. ":talent_csharp_gapic",
  326. ":talent_csharp_grpc",
  327. ":talent_csharp_proto",
  328. ],
  329. )
  330. ##############################################################################
  331. # C++
  332. ##############################################################################
  333. # Put your C++ rules here