1# This file was automatically generated by BuildFileGenerator 2# https://github.com/googleapis/rules_gapic/tree/master/bazel 3 4# Most of the manual changes to this file will be overwritten. 5# It's **only** allowed to change the following rule attribute values: 6# - names of *_gapic_assembly_* rules 7# - certain parameters of *_gapic_library rules, including but not limited to: 8# * extra_protoc_parameters 9# * extra_protoc_file_parameters 10# The complete list of preserved parameters can be found in the source code. 11 12# This is an API workspace, having public visibility by default makes perfect sense. 13package(default_visibility = ["//visibility:public"]) 14 15############################################################################## 16# Common 17############################################################################## 18load("@rules_proto//proto:defs.bzl", "proto_library") 19load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") 20 21proto_library( 22 name = "talent_proto", 23 srcs = [ 24 "batch.proto", 25 "common.proto", 26 "company.proto", 27 "company_service.proto", 28 "completion_service.proto", 29 "event.proto", 30 "event_service.proto", 31 "filters.proto", 32 "histogram.proto", 33 "job.proto", 34 "job_service.proto", 35 "tenant.proto", 36 "tenant_service.proto", 37 ], 38 deps = [ 39 "//google/api:annotations_proto", 40 "//google/api:client_proto", 41 "//google/api:field_behavior_proto", 42 "//google/api:resource_proto", 43 "//google/longrunning:operations_proto", 44 "//google/rpc:status_proto", 45 "//google/type:date_proto", 46 "//google/type:dayofweek_proto", 47 "//google/type:latlng_proto", 48 "//google/type:money_proto", 49 "//google/type:postal_address_proto", 50 "//google/type:timeofday_proto", 51 "@com_google_protobuf//:any_proto", 52 "@com_google_protobuf//:duration_proto", 53 "@com_google_protobuf//:empty_proto", 54 "@com_google_protobuf//:field_mask_proto", 55 "@com_google_protobuf//:timestamp_proto", 56 "@com_google_protobuf//:wrappers_proto", 57 ], 58) 59 60proto_library_with_info( 61 name = "talent_proto_with_info", 62 deps = [ 63 ":talent_proto", 64 "//google/cloud:common_resources_proto", 65 ], 66) 67 68############################################################################## 69# Java 70############################################################################## 71load( 72 "@com_google_googleapis_imports//:imports.bzl", 73 "java_gapic_assembly_gradle_pkg", 74 "java_gapic_library", 75 "java_gapic_test", 76 "java_grpc_library", 77 "java_proto_library", 78) 79 80java_proto_library( 81 name = "talent_java_proto", 82 deps = [":talent_proto"], 83) 84 85java_grpc_library( 86 name = "talent_java_grpc", 87 srcs = [":talent_proto"], 88 deps = [":talent_java_proto"], 89) 90 91java_gapic_library( 92 name = "talent_java_gapic", 93 srcs = [":talent_proto_with_info"], 94 gapic_yaml = None, 95 grpc_service_config = "talent_grpc_service_config.json", 96 rest_numeric_enums = True, 97 service_yaml = "jobs_v4beta1.yaml", 98 test_deps = [ 99 ":talent_java_grpc", 100 ], 101 transport = "grpc+rest", 102 deps = [ 103 ":talent_java_proto", 104 "//google/api:api_java_proto", 105 ], 106) 107 108java_gapic_test( 109 name = "talent_java_gapic_test_suite", 110 test_classes = [ 111 "com.google.cloud.talent.v4beta1.CompanyServiceClientHttpJsonTest", 112 "com.google.cloud.talent.v4beta1.CompanyServiceClientTest", 113 "com.google.cloud.talent.v4beta1.CompletionClientHttpJsonTest", 114 "com.google.cloud.talent.v4beta1.CompletionClientTest", 115 "com.google.cloud.talent.v4beta1.EventServiceClientHttpJsonTest", 116 "com.google.cloud.talent.v4beta1.EventServiceClientTest", 117 "com.google.cloud.talent.v4beta1.JobServiceClientHttpJsonTest", 118 "com.google.cloud.talent.v4beta1.JobServiceClientTest", 119 "com.google.cloud.talent.v4beta1.TenantServiceClientHttpJsonTest", 120 "com.google.cloud.talent.v4beta1.TenantServiceClientTest", 121 ], 122 runtime_deps = [":talent_java_gapic_test"], 123) 124 125# Open Source Packages 126java_gapic_assembly_gradle_pkg( 127 name = "google-cloud-talent-v4beta1-java", 128 include_samples = True, 129 transport = "grpc+rest", 130 deps = [ 131 ":talent_java_gapic", 132 ":talent_java_grpc", 133 ":talent_java_proto", 134 ":talent_proto", 135 ], 136) 137 138############################################################################## 139# Go 140############################################################################## 141load( 142 "@com_google_googleapis_imports//:imports.bzl", 143 "go_gapic_assembly_pkg", 144 "go_gapic_library", 145 "go_proto_library", 146) 147 148go_proto_library( 149 name = "talent_go_proto", 150 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 151 importpath = "cloud.google.com/go/talent/apiv4beta1/talentpb", 152 protos = [":talent_proto"], 153 deps = [ 154 "//google/api:annotations_go_proto", 155 "//google/longrunning:longrunning_go_proto", 156 "//google/rpc:status_go_proto", 157 "//google/type:date_go_proto", 158 "//google/type:dayofweek_go_proto", 159 "//google/type:latlng_go_proto", 160 "//google/type:money_go_proto", 161 "//google/type:postaladdress_go_proto", 162 "//google/type:timeofday_go_proto", 163 ], 164) 165 166go_gapic_library( 167 name = "talent_go_gapic", 168 srcs = [":talent_proto_with_info"], 169 grpc_service_config = "talent_grpc_service_config.json", 170 importpath = "cloud.google.com/go/talent/apiv4beta1;talent", 171 metadata = True, 172 release_level = "beta", 173 rest_numeric_enums = True, 174 service_yaml = "jobs_v4beta1.yaml", 175 transport = "grpc+rest", 176 deps = [ 177 ":talent_go_proto", 178 "//google/longrunning:longrunning_go_proto", 179 "@com_google_cloud_go_longrunning//:go_default_library", 180 "@com_google_cloud_go_longrunning//autogen:go_default_library", 181 "@io_bazel_rules_go//proto/wkt:duration_go_proto", 182 ], 183) 184 185# Open Source Packages 186go_gapic_assembly_pkg( 187 name = "gapi-cloud-talent-v4beta1-go", 188 deps = [ 189 ":talent_go_gapic", 190 ":talent_go_gapic_srcjar-metadata.srcjar", 191 ":talent_go_gapic_srcjar-snippets.srcjar", 192 ":talent_go_gapic_srcjar-test.srcjar", 193 ":talent_go_proto", 194 ], 195) 196 197############################################################################## 198# Python 199############################################################################## 200load( 201 "@com_google_googleapis_imports//:imports.bzl", 202 "py_gapic_assembly_pkg", 203 "py_gapic_library", 204 "py_test", 205) 206 207py_gapic_library( 208 name = "talent_py_gapic", 209 srcs = [":talent_proto"], 210 grpc_service_config = "talent_grpc_service_config.json", 211 rest_numeric_enums = True, 212 service_yaml = "jobs_v4beta1.yaml", 213 transport = "grpc+rest", 214) 215 216py_test( 217 name = "talent_py_gapic_test", 218 srcs = [ 219 "talent_py_gapic_pytest.py", 220 "talent_py_gapic_test.py", 221 ], 222 legacy_create_init = False, 223 deps = [":talent_py_gapic"], 224) 225 226# Open Source Packages 227py_gapic_assembly_pkg( 228 name = "talent-v4beta1-py", 229 deps = [ 230 ":talent_py_gapic", 231 ], 232) 233 234############################################################################## 235# PHP 236############################################################################## 237load( 238 "@com_google_googleapis_imports//:imports.bzl", 239 "php_gapic_assembly_pkg", 240 "php_gapic_library", 241 "php_proto_library", 242) 243 244php_proto_library( 245 name = "talent_php_proto", 246 deps = [":talent_proto"], 247) 248 249php_gapic_library( 250 name = "talent_php_gapic", 251 srcs = [":talent_proto_with_info"], 252 grpc_service_config = "talent_grpc_service_config.json", 253 rest_numeric_enums = True, 254 service_yaml = "jobs_v4beta1.yaml", 255 transport = "grpc+rest", 256 deps = [":talent_php_proto"], 257) 258 259# Open Source Packages 260php_gapic_assembly_pkg( 261 name = "google-cloud-talent-v4beta1-php", 262 deps = [ 263 ":talent_php_gapic", 264 ":talent_php_proto", 265 ], 266) 267 268############################################################################## 269# Node.js 270############################################################################## 271load( 272 "@com_google_googleapis_imports//:imports.bzl", 273 "nodejs_gapic_assembly_pkg", 274 "nodejs_gapic_library", 275) 276 277nodejs_gapic_library( 278 name = "talent_nodejs_gapic", 279 package_name = "@google-cloud/talent", 280 src = ":talent_proto_with_info", 281 extra_protoc_parameters = ["metadata"], 282 grpc_service_config = "talent_grpc_service_config.json", 283 main_service = "talent", 284 package = "google.cloud.talent.v4beta1", 285 rest_numeric_enums = True, 286 service_yaml = "jobs_v4beta1.yaml", 287 transport = "grpc+rest", 288 deps = [], 289) 290 291nodejs_gapic_assembly_pkg( 292 name = "talent-v4beta1-nodejs", 293 deps = [ 294 ":talent_nodejs_gapic", 295 ":talent_proto", 296 ], 297) 298 299############################################################################## 300# Ruby 301############################################################################## 302load( 303 "@com_google_googleapis_imports//:imports.bzl", 304 "ruby_cloud_gapic_library", 305 "ruby_gapic_assembly_pkg", 306 "ruby_grpc_library", 307 "ruby_proto_library", 308) 309 310ruby_proto_library( 311 name = "talent_ruby_proto", 312 deps = [":talent_proto"], 313) 314 315ruby_grpc_library( 316 name = "talent_ruby_grpc", 317 srcs = [":talent_proto"], 318 deps = [":talent_ruby_proto"], 319) 320 321ruby_cloud_gapic_library( 322 name = "talent_ruby_gapic", 323 srcs = [":talent_proto_with_info"], 324 extra_protoc_parameters = [ 325 "ruby-cloud-api-id=jobs.googleapis.com", 326 "ruby-cloud-api-shortname=jobs", 327 "ruby-cloud-env-prefix=TALENT", 328 "ruby-cloud-gem-name=google-cloud-talent-v4beta1", 329 "ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution", 330 ], 331 grpc_service_config = "talent_grpc_service_config.json", 332 rest_numeric_enums = True, 333 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.", 334 ruby_cloud_title = "Cloud Talent Solution V4beta1", 335 service_yaml = "jobs_v4beta1.yaml", 336 transport = "grpc+rest", 337 deps = [ 338 ":talent_ruby_grpc", 339 ":talent_ruby_proto", 340 ], 341) 342 343# Open Source Packages 344ruby_gapic_assembly_pkg( 345 name = "google-cloud-talent-v4beta1-ruby", 346 deps = [ 347 ":talent_ruby_gapic", 348 ":talent_ruby_grpc", 349 ":talent_ruby_proto", 350 ], 351) 352 353############################################################################## 354# C# 355############################################################################## 356load( 357 "@com_google_googleapis_imports//:imports.bzl", 358 "csharp_gapic_assembly_pkg", 359 "csharp_gapic_library", 360 "csharp_grpc_library", 361 "csharp_proto_library", 362) 363 364csharp_proto_library( 365 name = "talent_csharp_proto", 366 deps = [":talent_proto"], 367) 368 369csharp_grpc_library( 370 name = "talent_csharp_grpc", 371 srcs = [":talent_proto"], 372 deps = [":talent_csharp_proto"], 373) 374 375csharp_gapic_library( 376 name = "talent_csharp_gapic", 377 srcs = [":talent_proto_with_info"], 378 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 379 grpc_service_config = "talent_grpc_service_config.json", 380 rest_numeric_enums = True, 381 service_yaml = "jobs_v4beta1.yaml", 382 transport = "grpc+rest", 383 deps = [ 384 ":talent_csharp_grpc", 385 ":talent_csharp_proto", 386 ], 387) 388 389# Open Source Packages 390csharp_gapic_assembly_pkg( 391 name = "google-cloud-talent-v4beta1-csharp", 392 deps = [ 393 ":talent_csharp_gapic", 394 ":talent_csharp_grpc", 395 ":talent_csharp_proto", 396 ], 397) 398 399############################################################################## 400# C++ 401############################################################################## 402load( 403 "@com_google_googleapis_imports//:imports.bzl", 404 "cc_grpc_library", 405 "cc_proto_library", 406) 407 408cc_proto_library( 409 name = "talent_cc_proto", 410 deps = [":talent_proto"], 411) 412 413cc_grpc_library( 414 name = "talent_cc_grpc", 415 srcs = [":talent_proto"], 416 grpc_only = True, 417 deps = [":talent_cc_proto"], 418) 419