Skip to content

Commit 0452945

Browse files
Google APIscopybara-github
authored andcommitted
feat: lifesciences v1 public protos
Committer: @summerji PiperOrigin-RevId: 373243379
1 parent bab2449 commit 0452945

4 files changed

Lines changed: 1213 additions & 0 deletions

File tree

Lines changed: 341 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,341 @@
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.
13+
package(default_visibility = ["//visibility:public"])
14+
15+
##############################################################################
16+
# Common
17+
##############################################################################
18+
load("@rules_proto//proto:defs.bzl", "proto_library")
19+
load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
20+
21+
proto_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+
37+
proto_library_with_info(
38+
name = "lifesciences_proto_with_info",
39+
deps = [
40+
":lifesciences_proto",
41+
"//google/cloud:common_resources_proto",
42+
],
43+
)
44+
45+
##############################################################################
46+
# Java
47+
##############################################################################
48+
load(
49+
"@com_google_googleapis_imports//:imports.bzl",
50+
"java_gapic_assembly_gradle_pkg",
51+
"java_gapic_library",
52+
"java_gapic_test",
53+
"java_grpc_library",
54+
"java_proto_library",
55+
)
56+
57+
java_proto_library(
58+
name = "lifesciences_java_proto",
59+
deps = [":lifesciences_proto"],
60+
)
61+
62+
java_grpc_library(
63+
name = "lifesciences_java_grpc",
64+
srcs = [":lifesciences_proto"],
65+
deps = [":lifesciences_java_proto"],
66+
)
67+
68+
java_gapic_library(
69+
name = "lifesciences_java_gapic",
70+
srcs = [":lifesciences_proto_with_info"],
71+
grpc_service_config = "lifesciences_grpc_service_config.json",
72+
test_deps = [
73+
":lifesciences_java_grpc",
74+
],
75+
deps = [
76+
":lifesciences_java_proto",
77+
],
78+
)
79+
80+
java_gapic_test(
81+
name = "lifesciences_java_gapic_test_suite",
82+
test_classes = [
83+
"com.google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClientTest",
84+
],
85+
runtime_deps = [":lifesciences_java_gapic_test"],
86+
)
87+
88+
# Open Source Packages
89+
java_gapic_assembly_gradle_pkg(
90+
name = "google-cloud-lifesciences-v2beta-java",
91+
deps = [
92+
":lifesciences_java_gapic",
93+
":lifesciences_java_grpc",
94+
":lifesciences_java_proto",
95+
":lifesciences_proto",
96+
],
97+
)
98+
99+
##############################################################################
100+
# Go
101+
##############################################################################
102+
load(
103+
"@com_google_googleapis_imports//:imports.bzl",
104+
"go_gapic_assembly_pkg",
105+
"go_gapic_library",
106+
"go_proto_library",
107+
"go_test",
108+
)
109+
110+
go_proto_library(
111+
name = "lifesciences_go_proto",
112+
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
113+
importpath = "google.golang.org/genproto/googleapis/cloud/lifesciences/v2beta",
114+
protos = [":lifesciences_proto"],
115+
deps = [
116+
"//google/api:annotations_go_proto",
117+
"//google/longrunning:longrunning_go_proto",
118+
"//google/rpc:code_go_proto",
119+
],
120+
)
121+
122+
go_gapic_library(
123+
name = "lifesciences_go_gapic",
124+
srcs = [":lifesciences_proto_with_info"],
125+
grpc_service_config = "lifesciences_grpc_service_config.json",
126+
importpath = "cloud.google.com/go/lifesciences/apiv2beta;lifesciences",
127+
service_yaml = "lifesciences_v2beta.yaml",
128+
metadata = True,
129+
deps = [
130+
":lifesciences_go_proto",
131+
"//google/longrunning:longrunning_go_proto",
132+
"@com_google_cloud_go//longrunning/autogen:go_default_library",
133+
"@com_google_cloud_go//longrunning:go_default_library",
134+
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
135+
],
136+
)
137+
138+
go_test(
139+
name = "lifesciences_go_gapic_test",
140+
srcs = [":lifesciences_go_gapic_srcjar_test"],
141+
embed = [":lifesciences_go_gapic"],
142+
importpath = "cloud.google.com/go/lifesciences/apiv2beta",
143+
)
144+
145+
# Open Source Packages
146+
go_gapic_assembly_pkg(
147+
name = "gapi-cloud-lifesciences-v2beta-go",
148+
deps = [
149+
":lifesciences_go_gapic",
150+
":lifesciences_go_gapic_srcjar-test.srcjar",
151+
":lifesciences_go_gapic_srcjar-metadata.srcjar",
152+
":lifesciences_go_proto",
153+
],
154+
)
155+
156+
##############################################################################
157+
# Python
158+
##############################################################################
159+
load(
160+
"@com_google_googleapis_imports//:imports.bzl",
161+
"py_gapic_assembly_pkg",
162+
"py_gapic_library",
163+
)
164+
165+
py_gapic_library(
166+
name = "lifesciences_py_gapic",
167+
srcs = [":lifesciences_proto"],
168+
grpc_service_config = "lifesciences_grpc_service_config.json",
169+
)
170+
171+
# Open Source Packages
172+
py_gapic_assembly_pkg(
173+
name = "lifesciences-v2beta-py",
174+
deps = [
175+
":lifesciences_py_gapic",
176+
],
177+
)
178+
179+
##############################################################################
180+
# PHP
181+
##############################################################################
182+
load(
183+
"@com_google_googleapis_imports//:imports.bzl",
184+
php_gapic_assembly_pkg = "php_gapic_assembly_pkg2",
185+
php_gapic_library = "php_gapic_library2",
186+
php_grpc_library = "php_grpc_library2",
187+
php_proto_library = "php_proto_library2",
188+
)
189+
190+
php_proto_library(
191+
name = "lifesciences_php_proto",
192+
deps = [":lifesciences_proto"],
193+
)
194+
195+
php_grpc_library(
196+
name = "lifesciences_php_grpc",
197+
srcs = [":lifesciences_proto"],
198+
deps = [":lifesciences_php_proto"],
199+
)
200+
201+
php_gapic_library(
202+
name = "lifesciences_php_gapic",
203+
srcs = [":lifesciences_proto_with_info"],
204+
grpc_service_config = "lifesciences_grpc_service_config.json",
205+
service_yaml = "lifesciences_v2beta.yaml",
206+
deps = [
207+
":lifesciences_php_grpc",
208+
":lifesciences_php_proto",
209+
],
210+
)
211+
212+
# Open Source Packages
213+
php_gapic_assembly_pkg(
214+
name = "google-cloud-lifesciences-v2beta-php",
215+
deps = [
216+
":lifesciences_php_gapic",
217+
":lifesciences_php_grpc",
218+
":lifesciences_php_proto",
219+
],
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+
231+
nodejs_gapic_library(
232+
name = "lifesciences_nodejs_gapic",
233+
package_name = "@google-cloud/lifesciences",
234+
src = ":lifesciences_proto_with_info",
235+
extra_protoc_parameters = ["metadata"],
236+
grpc_service_config = "lifesciences_grpc_service_config.json",
237+
package = "google.cloud.lifesciences.v2beta",
238+
service_yaml = "lifesciences_v2beta.yaml",
239+
deps = [],
240+
)
241+
242+
nodejs_gapic_assembly_pkg(
243+
name = "lifesciences-v2beta-nodejs",
244+
deps = [
245+
":lifesciences_nodejs_gapic",
246+
":lifesciences_proto",
247+
],
248+
)
249+
250+
##############################################################################
251+
# Ruby
252+
##############################################################################
253+
load(
254+
"@com_google_googleapis_imports//:imports.bzl",
255+
"ruby_gapic_assembly_pkg",
256+
"ruby_cloud_gapic_library",
257+
"ruby_grpc_library",
258+
"ruby_proto_library",
259+
)
260+
261+
ruby_proto_library(
262+
name = "lifesciences_ruby_proto",
263+
deps = [":lifesciences_proto"],
264+
)
265+
266+
ruby_grpc_library(
267+
name = "lifesciences_ruby_grpc",
268+
srcs = [":lifesciences_proto"],
269+
deps = [":lifesciences_ruby_proto"],
270+
)
271+
272+
ruby_cloud_gapic_library(
273+
name = "lifesciences_ruby_gapic",
274+
srcs = [":lifesciences_proto_with_info"],
275+
extra_protoc_parameters = [
276+
"ruby-cloud-gem-name=google-cloud-lifesciences-v2beta",
277+
],
278+
grpc_service_config = "lifesciences_grpc_service_config.json",
279+
deps = [
280+
":lifesciences_ruby_grpc",
281+
":lifesciences_ruby_proto",
282+
],
283+
)
284+
285+
# Open Source Packages
286+
ruby_gapic_assembly_pkg(
287+
name = "google-cloud-lifesciences-v2beta-ruby",
288+
deps = [
289+
":lifesciences_ruby_gapic",
290+
":lifesciences_ruby_grpc",
291+
":lifesciences_ruby_proto",
292+
],
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+
306+
csharp_proto_library(
307+
name = "lifesciences_csharp_proto",
308+
deps = [":lifesciences_proto"],
309+
)
310+
311+
csharp_grpc_library(
312+
name = "lifesciences_csharp_grpc",
313+
srcs = [":lifesciences_proto"],
314+
deps = [":lifesciences_csharp_proto"],
315+
)
316+
317+
csharp_gapic_library(
318+
name = "lifesciences_csharp_gapic",
319+
srcs = [":lifesciences_proto_with_info"],
320+
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
321+
grpc_service_config = "lifesciences_grpc_service_config.json",
322+
deps = [
323+
":lifesciences_csharp_grpc",
324+
":lifesciences_csharp_proto",
325+
],
326+
)
327+
328+
# Open Source Packages
329+
csharp_gapic_assembly_pkg(
330+
name = "google-cloud-lifesciences-v2beta-csharp",
331+
deps = [
332+
":lifesciences_csharp_gapic",
333+
":lifesciences_csharp_grpc",
334+
":lifesciences_csharp_proto",
335+
],
336+
)
337+
338+
##############################################################################
339+
# C++
340+
##############################################################################
341+
# Put your C++ rules here
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"methodConfig": [{
3+
"name": [
4+
{ "service": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta" }
5+
],
6+
"timeout": "60s"
7+
}]
8+
}

0 commit comments

Comments
 (0)