1
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.
2
11
3
12
# This is an API workspace, having public visibility by default makes perfect sense.
4
13
package (default_visibility = ["//visibility:public" ])
@@ -12,8 +21,6 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
12
21
proto_library (
13
22
name = "talent_proto" ,
14
23
srcs = [
15
- "application.proto" ,
16
- "application_service.proto" ,
17
24
"batch.proto" ,
18
25
"common.proto" ,
19
26
"company.proto" ,
@@ -25,8 +32,6 @@ proto_library(
25
32
"histogram.proto" ,
26
33
"job.proto" ,
27
34
"job_service.proto" ,
28
- "profile.proto" ,
29
- "profile_service.proto" ,
30
35
"tenant.proto" ,
31
36
"tenant_service.proto" ,
32
37
],
@@ -37,12 +42,10 @@ proto_library(
37
42
"//google/api:resource_proto" ,
38
43
"//google/longrunning:operations_proto" ,
39
44
"//google/rpc:status_proto" ,
40
- "//google/type:date_proto" ,
41
45
"//google/type:latlng_proto" ,
42
46
"//google/type:money_proto" ,
43
47
"//google/type:postal_address_proto" ,
44
48
"//google/type:timeofday_proto" ,
45
- "@com_google_protobuf//:any_proto" ,
46
49
"@com_google_protobuf//:duration_proto" ,
47
50
"@com_google_protobuf//:empty_proto" ,
48
51
"@com_google_protobuf//:field_mask_proto" ,
@@ -85,24 +88,25 @@ java_grpc_library(
85
88
java_gapic_library (
86
89
name = "talent_java_gapic" ,
87
90
srcs = [":talent_proto_with_info" ],
91
+ gapic_yaml = None ,
88
92
grpc_service_config = "talent_grpc_service_config.json" ,
93
+ service_yaml = "jobs_v4beta1.yaml" ,
89
94
test_deps = [
90
95
":talent_java_grpc" ,
91
96
],
92
97
deps = [
93
98
":talent_java_proto" ,
99
+ "//google/api:api_java_proto" ,
94
100
],
95
101
)
96
102
97
103
java_gapic_test (
98
104
name = "talent_java_gapic_test_suite" ,
99
105
test_classes = [
100
- "com.google.cloud.talent.v4beta1.ApplicationServiceClientTest" ,
101
106
"com.google.cloud.talent.v4beta1.CompanyServiceClientTest" ,
102
107
"com.google.cloud.talent.v4beta1.CompletionClientTest" ,
103
108
"com.google.cloud.talent.v4beta1.EventServiceClientTest" ,
104
109
"com.google.cloud.talent.v4beta1.JobServiceClientTest" ,
105
- "com.google.cloud.talent.v4beta1.ProfileServiceClientTest" ,
106
110
"com.google.cloud.talent.v4beta1.TenantServiceClientTest" ,
107
111
],
108
112
runtime_deps = [":talent_java_gapic_test" ],
@@ -139,7 +143,6 @@ go_proto_library(
139
143
"//google/api:annotations_go_proto" ,
140
144
"//google/longrunning:longrunning_go_proto" ,
141
145
"//google/rpc:status_go_proto" ,
142
- "//google/type:date_go_proto" ,
143
146
"//google/type:latlng_go_proto" ,
144
147
"//google/type:money_go_proto" ,
145
148
"//google/type:postaladdress_go_proto" ,
@@ -152,13 +155,13 @@ go_gapic_library(
152
155
srcs = [":talent_proto_with_info" ],
153
156
grpc_service_config = "talent_grpc_service_config.json" ,
154
157
importpath = "cloud.google.com/go/talent/apiv4beta1;talent" ,
155
- service_yaml = "//google/cloud
6D40
/talent:talent_v4beta1.yaml" ,
158
+ metadata = True ,
159
+ service_yaml = "jobs_v4beta1.yaml" ,
156
160
deps = [
157
161
":talent_go_proto" ,
158
162
"//google/longrunning:longrunning_go_proto" ,
159
163
"@com_google_cloud_go//longrunning:go_default_library" ,
160
164
"@com_google_cloud_go//longrunning/autogen:go_default_library" ,
161
- "@io_bazel_rules_go//proto/wkt:any_go_proto" ,
162
165
"@io_bazel_rules_go//proto/wkt:duration_go_proto" ,
163
166
],
164
167
)
@@ -175,6 +178,7 @@ go_gapic_assembly_pkg(
175
178
name = "gapi-cloud-talent-v4beta1-go" ,
176
179
deps = [
177
180
":talent_go_gapic" ,
181
+ ":talent_go_gapic_srcjar-metadata.srcjar" ,
178
182
":talent_go_gapic_srcjar-test.srcjar" ,
179
183
":talent_go_proto" ,
180
184
],
@@ -193,8 +197,10 @@ py_gapic_library(
193
197
name = "talent_py_gapic" ,
194
198
srcs = [":talent_proto" ],
195
199
grpc_service_config = "talent_grpc_service_config.json" ,
200
+ service_yaml = "jobs_v4beta1.yaml" ,
196
201
)
197
202
203
+ # Open Source Packages
198
204
py_gapic_assembly_pkg (
199
205
name = "talent-v4beta1-py" ,
200
206
deps = [
@@ -262,7 +268,7 @@ nodejs_gapic_library(
262
268
grpc_service_config = "talent_grpc_service_config.json" ,
263
269
main_service = "talent" ,
264
270
package = "google.cloud.talent.v4beta1" ,
265
- service_yaml = "//google/cloud/talent:talent_v4beta1 .yaml" ,
271
+ service_yaml = "jobs_v4beta1 .yaml" ,
266
272
deps = [],
267
273
)
268
274
@@ -300,11 +306,11 @@ ruby_cloud_gapic_library(
300
306
name = "talent_ruby_gapic" ,
301
307
srcs = [":talent_proto_with_info" ],
302
308
extra_protoc_parameters = [
303
- "ruby-cloud-gem-name=google-cloud-talent-v4beta1" ,
304
- "ruby-cloud-env-prefix=TALENT" ,
305
- "ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution" ,
306
309
"ruby-cloud-api-id=jobs.googleapis.com" ,
307
310
"ruby-cloud-api-shortname=jobs" ,
311
+ "ruby-cloud-env-prefix=TALENT" ,
312
+ "ruby-cloud-gem-name=google-cloud-talent-v4beta1" ,
313
+ "ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution" ,
308
314
],
309
315
grpc_service_config = "talent_grpc_service_config.json" ,
310
316
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." ,
@@ -352,7 +358,7 @@ csharp_gapic_library(
352
358
srcs = [":talent_proto_with_info" ],
353
359
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json" ,
354
360
grpc_service_config = "talent_grpc_service_config.json" ,
355
- service_yaml = "//google/cloud/talent:talent_v4beta1 .yaml" ,
361
+ service_yaml = "jobs_v4beta1 .yaml" ,
356
362
deps = [
357
363
":talent_csharp_grpc" ,
358
364
":talent_csharp_proto" ,
@@ -372,4 +378,20 @@ csharp_gapic_assembly_pkg(
372
378
##############################################################################
373
379
# C++
374
380
##############################################################################
375
- # Put your C++ rules here
381
+ load (
382
+ "@com_google_googleapis_imports//:imports.bzl" ,
383
+ "cc_grpc_library" ,
384
+ "cc_proto_library" ,
385
+ )
386
+
387
+ cc_proto_library (
388
+ name = "talent_cc_proto" ,
389
+ deps = [":talent_proto" ],
390
+ )
391
+
392
+ cc_grpc_library (
393
+ name = "talent_cc_grpc" ,
394
+ srcs = [":talent_proto" ],
395
+ grpc_only = True ,
396
+ deps = [":talent_cc_proto" ],
397
+ )
0 commit comments