xref: /aosp_15_r20/external/googleapis/google/cloud/lifesciences/v2beta/BUILD.bazel (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
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 = "lifesciences_proto",
23    srcs = [
24        "workflows.proto",
25    ],
26    deps = [
27        "//google/api:annotations_proto",
28        "//google/api:client_proto",
29        "//google/api:field_behavior_proto",
30        "//google/longrunning:operations_proto",
31        "//google/rpc:code_proto",
32        "@com_google_protobuf//:duration_proto",
33        "@com_google_protobuf//:timestamp_proto",
34    ],
35)
36
37proto_library_with_info(
38    name = "lifesciences_proto_with_info",
39    deps = [
40        ":lifesciences_proto",
41        "//google/cloud:common_resources_proto",
42        "//google/cloud/location:location_proto",
43    ],
44)
45
46##############################################################################
47# Java
48##############################################################################
49load(
50    "@com_google_googleapis_imports//:imports.bzl",
51    "java_gapic_assembly_gradle_pkg",
52    "java_gapic_library",
53    "java_gapic_test",
54    "java_grpc_library",
55    "java_proto_library",
56)
57
58java_proto_library(
59    name = "lifesciences_java_proto",
60    deps = [":lifesciences_proto"],
61)
62
63java_grpc_library(
64    name = "lifesciences_java_grpc",
65    srcs = [":lifesciences_proto"],
66    deps = [":lifesciences_java_proto"],
67)
68
69java_gapic_library(
70    name = "lifesciences_java_gapic",
71    srcs = [":lifesciences_proto_with_info"],
72    gapic_yaml = None,
73    grpc_service_config = "lifesciences_grpc_service_config.json",
74    rest_numeric_enums = True,
75    service_yaml = "lifesciences_v2beta.yaml",
76    test_deps = [
77        ":lifesciences_java_grpc",
78        "//google/cloud/location:location_java_grpc",
79    ],
80    transport = "grpc+rest",
81    deps = [
82        ":lifesciences_java_proto",
83        "//google/api:api_java_proto",
84        "//google/cloud/location:location_java_proto",
85    ],
86)
87
88java_gapic_test(
89    name = "lifesciences_java_gapic_test_suite",
90    test_classes = [
91        "com.google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClientHttpJsonTest",
92        "com.google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClientTest",
93    ],
94    runtime_deps = [":lifesciences_java_gapic_test"],
95)
96
97# Open Source Packages
98java_gapic_assembly_gradle_pkg(
99    name = "google-cloud-lifesciences-v2beta-java",
100    include_samples = True,
101    transport = "grpc+rest",
102    deps = [
103        ":lifesciences_java_gapic",
104        ":lifesciences_java_grpc",
105        ":lifesciences_java_proto",
106        ":lifesciences_proto",
107    ],
108)
109
110##############################################################################
111# Go
112##############################################################################
113load(
114    "@com_google_googleapis_imports//:imports.bzl",
115    "go_gapic_assembly_pkg",
116    "go_gapic_library",
117    "go_proto_library",
118)
119
120go_proto_library(
121    name = "lifesciences_go_proto",
122    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
123    importpath = "cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb",
124    protos = [":lifesciences_proto"],
125    deps = [
126        "//google/api:annotations_go_proto",
127        "//google/longrunning:longrunning_go_proto",
128        "//google/rpc:code_go_proto",
129    ],
130)
131
132go_gapic_library(
133    name = "lifesciences_go_gapic",
134    srcs = [":lifesciences_proto_with_info"],
135    grpc_service_config = "lifesciences_grpc_service_config.json",
136    importpath = "cloud.google.com/go/lifesciences/apiv2beta;lifesciences",
137    metadata = True,
138    release_level = "beta",
139    rest_numeric_enums = True,
140    service_yaml = "lifesciences_v2beta.yaml",
141    transport = "grpc+rest",
142    deps = [
143        ":lifesciences_go_proto",
144        "//google/cloud/location:location_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:duration_go_proto",
149    ],
150)
151
152# Open Source Packages
153go_gapic_assembly_pkg(
154    name = "gapi-cloud-lifesciences-v2beta-go",
155    deps = [
156        ":lifesciences_go_gapic",
157        ":lifesciences_go_gapic_srcjar-metadata.srcjar",
158        ":lifesciences_go_gapic_srcjar-snippets.srcjar",
159        ":lifesciences_go_gapic_srcjar-test.srcjar",
160        ":lifesciences_go_proto",
161    ],
162)
163
164##############################################################################
165# Python
166##############################################################################
167load(
168    "@com_google_googleapis_imports//:imports.bzl",
169    "py_gapic_assembly_pkg",
170    "py_gapic_library",
171    "py_test",
172)
173
174py_gapic_library(
175    name = "lifesciences_py_gapic",
176    srcs = [":lifesciences_proto"],
177    grpc_service_config = "lifesciences_grpc_service_config.json",
178    opt_args = ["warehouse-package-name=google-cloud-life-sciences"],
179    rest_numeric_enums = True,
180    service_yaml = "lifesciences_v2beta.yaml",
181    transport = "grpc+rest",
182    deps = [
183    ],
184)
185
186py_test(
187    name = "lifesciences_py_gapic_test",
188    srcs = [
189        "lifesciences_py_gapic_pytest.py",
190        "lifesciences_py_gapic_test.py",
191    ],
192    legacy_create_init = False,
193    deps = [":lifesciences_py_gapic"],
194)
195
196# Open Source Packages
197py_gapic_assembly_pkg(
198    name = "lifesciences-v2beta-py",
199    deps = [
200        ":lifesciences_py_gapic",
201    ],
202)
203
204##############################################################################
205# PHP
206##############################################################################
207load(
208    "@com_google_googleapis_imports//:imports.bzl",
209    "php_gapic_assembly_pkg",
210    "php_gapic_library",
211    "php_proto_library",
212)
213
214php_proto_library(
215    name = "lifesciences_php_proto",
216    deps = [":lifesciences_proto"],
217)
218
219php_gapic_library(
220    name = "lifesciences_php_gapic",
221    srcs = [":lifesciences_proto_with_info"],
222    grpc_service_config = "lifesciences_grpc_service_config.json",
223    migration_mode = "MIGRATING",
224    rest_numeric_enums = True,
225    service_yaml = "lifesciences_v2beta.yaml",
226    transport = "grpc+rest",
227    deps = [":lifesciences_php_proto"],
228)
229
230# Open Source Packages
231php_gapic_assembly_pkg(
232    name = "google-cloud-lifesciences-v2beta-php",
233    deps = [
234        ":lifesciences_php_gapic",
235        ":lifesciences_php_proto",
236    ],
237)
238
239##############################################################################
240# Node.js
241##############################################################################
242load(
243    "@com_google_googleapis_imports//:imports.bzl",
244    "nodejs_gapic_assembly_pkg",
245    "nodejs_gapic_library",
246)
247
248nodejs_gapic_library(
249    name = "lifesciences_nodejs_gapic",
250    package_name = "@google-cloud/life-sciences",
251    src = ":lifesciences_proto_with_info",
252    extra_protoc_parameters = ["metadata"],
253    grpc_service_config = "lifesciences_grpc_service_config.json",
254    package = "google.cloud.lifesciences.v2beta",
255    rest_numeric_enums = True,
256    service_yaml = "lifesciences_v2beta.yaml",
257    transport = "grpc+rest",
258    deps = [],
259)
260
261nodejs_gapic_assembly_pkg(
262    name = "lifesciences-v2beta-nodejs",
263    deps = [
264        ":lifesciences_nodejs_gapic",
265        ":lifesciences_proto",
266    ],
267)
268
269##############################################################################
270# Ruby
271##############################################################################
272load(
273    "@com_google_googleapis_imports//:imports.bzl",
274    "ruby_cloud_gapic_library",
275    "ruby_gapic_assembly_pkg",
276    "ruby_grpc_library",
277    "ruby_proto_library",
278)
279
280ruby_proto_library(
281    name = "lifesciences_ruby_proto",
282    deps = [":lifesciences_proto"],
283)
284
285ruby_grpc_library(
286    name = "lifesciences_ruby_grpc",
287    srcs = [":lifesciences_proto"],
288    deps = [":lifesciences_ruby_proto"],
289)
290
291ruby_cloud_gapic_library(
292    name = "lifesciences_ruby_gapic",
293    srcs = [":lifesciences_proto_with_info"],
294    extra_protoc_parameters = [
295        "ruby-cloud-api-id=lifesciences.googleapis.com",
296        "ruby-cloud-api-shortname=lifesciences",
297        "ruby-cloud-env-prefix=LIFE_SCIENCES",
298        "ruby-cloud-gem-name=google-cloud-life_sciences-v2beta",
299        "ruby-cloud-product-url=https://cloud.google.com/life-sciences/",
300        "ruby-cloud-service-override=WorkflowsServiceV2Beta=WorkflowsService",
301    ],
302    grpc_service_config = "lifesciences_grpc_service_config.json",
303    rest_numeric_enums = True,
304    ruby_cloud_description = "Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data. It also enables advanced insights and operational workflows using highly scalable and compliant infrastructure.",
305    ruby_cloud_title = "Cloud Life Sciences V2beta",
306    service_yaml = "lifesciences_v2beta.yaml",
307    transport = "grpc+rest",
308    deps = [
309        ":lifesciences_ruby_grpc",
310        ":lifesciences_ruby_proto",
311    ],
312)
313
314# Open Source Packages
315ruby_gapic_assembly_pkg(
316    name = "google-cloud-lifesciences-v2beta-ruby",
317    deps = [
318        ":lifesciences_ruby_gapic",
319        ":lifesciences_ruby_grpc",
320        ":lifesciences_ruby_proto",
321    ],
322)
323
324##############################################################################
325# C#
326##############################################################################
327load(
328    "@com_google_googleapis_imports//:imports.bzl",
329    "csharp_gapic_assembly_pkg",
330    "csharp_gapic_library",
331    "csharp_grpc_library",
332    "csharp_proto_library",
333)
334
335csharp_proto_library(
336    name = "lifesciences_csharp_proto",
337    deps = [":lifesciences_proto"],
338)
339
340csharp_grpc_library(
341    name = "lifesciences_csharp_grpc",
342    srcs = [":lifesciences_proto"],
343    deps = [":lifesciences_csharp_proto"],
344)
345
346csharp_gapic_library(
347    name = "lifesciences_csharp_gapic",
348    srcs = [":lifesciences_proto_with_info"],
349    common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
350    grpc_service_config = "lifesciences_grpc_service_config.json",
351    rest_numeric_enums = True,
352    service_yaml = "lifesciences_v2beta.yaml",
353    transport = "grpc+rest",
354    deps = [
355        ":lifesciences_csharp_grpc",
356        ":lifesciences_csharp_proto",
357    ],
358)
359
360# Open Source Packages
361csharp_gapic_assembly_pkg(
362    name = "google-cloud-lifesciences-v2beta-csharp",
363    deps = [
364        ":lifesciences_csharp_gapic",
365        ":lifesciences_csharp_grpc",
366        ":lifesciences_csharp_proto",
367    ],
368)
369
370##############################################################################
371# C++
372##############################################################################
373load(
374    "@com_google_googleapis_imports//:imports.bzl",
375    "cc_grpc_library",
376    "cc_proto_library",
377)
378
379cc_proto_library(
380    name = "lifesciences_cc_proto",
381    deps = [":lifesciences_proto"],
382)
383
384cc_grpc_library(
385    name = "lifesciences_cc_grpc",
386    srcs = [":lifesciences_proto"],
387    grpc_only = True,
388    deps = [":lifesciences_cc_proto"],
389)
390