Skip to content

Commit 9d0b90c

Browse files
Google APIscopybara-github
authored andcommitted
feat: baremetalsolution public protos
Committer: @hkdevandla PiperOrigin-RevId: 417443140
1 parent 5518740 commit 9d0b90c

4 files changed

Lines changed: 1457 additions & 0 deletions

File tree

Lines changed: 357 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,357 @@
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 = "baremetalsolution_proto",
23+
srcs = [
24+
"baremetalsolution.proto",
25+
],
26+
deps = [
27+
"//google/api:annotations_proto",
28+
"//google/api:client_proto",
29+
"//google/api:field_behavior_proto",
30+
"//google/api:resource_proto",
31+
"//google/longrunning:operations_proto",
32+
"@com_google_protobuf//:empty_proto",
33+
"@com_google_protobuf//:field_mask_proto",
34+
"@com_google_protobuf//:timestamp_proto",
35+
],
36+
)
37+
38+
proto_library_with_info(
39+
name = "baremetalsolution_proto_with_info",
40+
deps = [
41+
":baremetalsolution_proto",
42+
"//google/cloud:common_resources_proto",
43+
],
44+
)
45+
46+
##############################################################################
47+
# Java
48+
##############################################################################
49+
load(
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+
58+
java_proto_library(
59+
name = "baremetalsolution_java_proto",
60+
deps = [":baremetalsolution_proto"],
61+
)
62+
63+
java_grpc_library(
64+
name = "baremetalsolution_java_grpc",
65+
srcs = [":baremetalsolution_proto"],
66+
deps = [":baremetalsolution_java_proto"],
67+
)
68+
69+
java_gapic_library(
70+
name = "baremetalsolution_java_gapic",
71+
srcs = [":baremetalsolution_proto_with_info"],
72+
gapic_yaml = None,
73+
grpc_service_config = "baremetalsolution_grpc_service_config.json",
74+
service_yaml = "baremetalsolution_v2.yaml",
75+
test_deps = [
76+
":baremetalsolution_java_grpc",
77+
],
78+
deps = [
79+
":baremetalsolution_java_proto",
80+
"//google/api:api_java_proto",
81+
],
82+
)
83+
84+
java_gapic_test(
85+
name = "baremetalsolution_java_gapic_test_suite",
86+
test_classes = [
87+
"com.google.cloud.baremetalsolution.v2.BareMetalSolutionClientTest",
88+
],
89+
runtime_deps = [":baremetalsolution_java_gapic_test"],
90+
)
91+
92+
# Open Source Packages
93+
java_gapic_assembly_gradle_pkg(
94+
name = "google-cloud-baremetalsolution-v2-java",
95+
deps = [
96+
":baremetalsolution_java_gapic",
97+
":baremetalsolution_java_grpc",
98+
":baremetalsolution_java_proto",
99+
":baremetalsolution_proto",
100+
],
101+
)
102+
103+
##############################################################################
104+
# Go
105+
##############################################################################
106+
load(
107+
"@com_google_googleapis_imports//:imports.bzl",
108+
"go_gapic_assembly_pkg",
109+
"go_gapic_library",
110+
"go_proto_library",
111+
"go_test",
112+
)
113+
114+
go_proto_library(
115+
name = "baremetalsolution_go_proto",
116+
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
117+
importpath = "google.golang.org/genproto/googleapis/cloud/baremetalsolution/v2",
118+
protos = [":baremetalsolution_proto"],
119+
deps = [
120+
"//google/api:annotations_go_proto",
121+
"//google/longrunning:longrunning_go_proto",
122+
],
123+
)
124+
125+
go_gapic_library(
126+
name = "baremetalsolution_go_gapic",
127+
srcs = [":baremetalsolution_proto_with_info"],
128+
grpc_service_config = "baremetalsolution_grpc_service_config.json",
129+
importpath = "cloud.google.com/go/baremetalsolution/apiv2;baremetalsolution",
130+
metadata = True,
131+
service_yaml = "baremetalsolution_v2.yaml",
132+
deps = [
133+
":baremetalsolution_go_proto",
134+
"//google/longrunning:longrunning_go_proto",
135+
"@com_google_cloud_go//longrunning:go_default_library",
136+
"@com_google_cloud_go//longrunning/autogen:go_default_library",
137+
],
138+
)
139+
140+
go_test(
141+
name = "baremetalsolution_go_gapic_test",
142+
srcs = [":baremetalsolution_go_gapic_srcjar_test"],
143+
embed = [":baremetalsolution_go_gapic"],
144+
importpath = "cloud.google.com/go/baremetalsolution/apiv2",
145+
)
146+
147+
# Open Source Packages
148+
go_gapic_assembly_pkg(
149+
name = "gapi-cloud-baremetalsolution-v2-go",
150+
deps = [
151+
":baremetalsolution_go_gapic",
152+
":baremetalsolution_go_gapic_srcjar-metadata.srcjar",
153+
":baremetalsolution_go_gapic_srcjar-test.srcjar",
154+
":baremetalsolution_go_proto",
155+
],
156+
)
157+
158+
##############################################################################
159+
# Python
160+
##############################################################################
161+
load(
162+
"@com_google_googleapis_imports//:imports.bzl",
163+
"py_gapic_assembly_pkg",
164+
"py_gapic_library",
165+
)
166+
167+
py_gapic_library(
168+
name = "baremetalsolution_py_gapic",
169+
srcs = [":baremetalsolution_proto"],
170+
grpc_service_config = "baremetalsolution_grpc_service_config.json",
171+
)
172+
173+
# Open Source Packages
174+
py_gapic_assembly_pkg(
175+
name = "baremetalsolution-v2-py",
176+
deps = [
177+
":baremetalsolution_py_gapic",
178+
],
179+
)
180+
181+
##############################################################################
182+
# PHP
183+
##############################################################################
184+
load(
185+
"@com_google_googleapis_imports//:imports.bzl",
186+
"php_gapic_assembly_pkg",
187+
"php_gapic_library",
188+
"php_grpc_library",
189+
"php_proto_library",
190+
)
191+
192+
php_proto_library(
193+
name = "baremetalsolution_php_proto",
194+
deps = [":baremetalsolution_proto"],
195+
)
196+
197+
php_grpc_library(
198+
name = "baremetalsolution_php_grpc",
199+
srcs = [":baremetalsolution_proto"],
200+
deps = [":baremetalsolution_php_proto"],
201+
)
202+
203+
php_gapic_library(
204+
name = "baremetalsolution_php_gapic",
205+
srcs = [":baremetalsolution_proto_with_info"],
206+
grpc_service_config = "baremetalsolution_grpc_service_config.json",
207+
service_yaml = "baremetalsolution_v2.yaml",
208+
deps = [
209+
":baremetalsolution_php_grpc",
210+
":baremetalsolution_php_proto",
211+
],
212+
)
213+
214+
# Open Source Packages
215+
php_gapic_assembly_pkg(
216+
name = "google-cloud-baremetalsolution-v2-php",
217+
deps = [
218+
":baremetalsolution_php_gapic",
219+
":baremetalsolution_php_grpc",
220+
":baremetalsolution_php_proto",
221+
],
222+
)
223+
224+
##############################################################################
225+
# Node.js
226+
##############################################################################
227+
load(
228+
"@com_google_googleapis_imports//:imports.bzl",
229+
"nodejs_gapic_assembly_pkg",
230+
"nodejs_gapic_library",
231+
)
232+
233+
nodejs_gapic_library(
234+
name = "baremetalsolution_nodejs_gapic",
235+
package_name = "@google-cloud/baremetalsolution",
236+
src = ":baremetalsolution_proto_with_info",
237+
extra_protoc_parameters = ["metadata"],
238+
grpc_service_config = "baremetalsolution_grpc_service_config.json",
239+
package = "google.cloud.baremetalsolution.v2",
240+
service_yaml = "baremetalsolution_v2.yaml",
241+
deps = [],
242+
)
243+
244+
nodejs_gapic_assembly_pkg(
245+
name = "baremetalsolution-v2-nodejs",
246+
deps = [
247+
":baremetalsolution_nodejs_gapic",
248+
":baremetalsolution_proto",
249+
],
250+
)
251+
252+
##############################################################################
253+
# Ruby
254+
##############################################################################
255+
load(
256+
"@com_google_googleapis_imports//:imports.bzl",
257+
"ruby_cloud_gapic_library",
258+
"ruby_gapic_assembly_pkg",
259+
"ruby_grpc_library",
260+
"ruby_proto_library",
261+
)
262+
263+
ruby_proto_library(
264+
name = "baremetalsolution_ruby_proto",
265+
deps = [":baremetalsolution_proto"],
266+
)
267+
268+
ruby_grpc_library(
269+
name = "baremetalsolution_ruby_grpc",
270+
srcs = [":baremetalsolution_proto"],
271+
deps = [":baremetalsolution_ruby_proto"],
272+
)
273+
274+
ruby_cloud_gapic_library(
275+
name = "baremetalsolution_ruby_gapic",
276+
srcs = [":baremetalsolution_proto_with_info"],
277+
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-baremetalsolution-v2"],
278+
grpc_service_config = "baremetalsolution_grpc_service_config.json",
279+
deps = [
280+
":baremetalsolution_ruby_grpc",
281+
":baremetalsolution_ruby_proto",
282+
],
283+
)
284+
285+
# Open Source Packages
286+
ruby_gapic_assembly_pkg(
287+
name = "google-cloud-baremetalsolution-v2-ruby",
288+
deps = [
289+
":baremetalsolution_ruby_gapic",
290+
":baremetalsolution_ruby_grpc",
291+
":baremetalsolution_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 = "baremetalsolution_csharp_proto",
308+
deps = [":baremetalsolution_proto"],
309+
)
310+
311+
csharp_grpc_library(
312+
name = "baremetalsolution_csharp_grpc",
313+
srcs = [":baremetalsolution_proto"],
314+
deps = [":baremetalsolution_csharp_proto"],
315+
)
316+
317+
csharp_gapic_library(
318+
name = "baremetalsolution_csharp_gapic",
319+
srcs = [":baremetalsolution_proto_with_info"],
320+
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
321+
grpc_service_config = "baremetalsolution_grpc_service_config.json",
322+
deps = [
323+
":baremetalsolution_csharp_grpc",
324+
":baremetalsolution_csharp_proto",
325+
],
326+
)
327+
328+
# Open Source Packages
329+
csharp_gapic_assembly_pkg(
330+
name = "google-cloud-baremetalsolution-v2-csharp",
331+
deps = [
332+
":baremetalsolution_csharp_gapic",
333+
":baremetalsolution_csharp_grpc",
334+
":baremetalsolution_csharp_proto",
335+
],
336+
)
337+
338+
##############################################################################
339+
# C++
340+
##############################################################################
341+
load(
342+
"@com_google_googleapis_imports//:imports.bzl",
343+
"cc_grpc_library",
344+
"cc_proto_library",
345+
)
346+
347+
cc_proto_library(
348+
name = "baremetalsolution_cc_proto",
349+
deps = [":baremetalsolution_proto"],
350+
)
351+
352+
cc_grpc_library(
353+
name = "baremetalsolution_cc_grpc",
354+
srcs = [":baremetalsolution_proto"],
355+
grpc_only = True,
356+
deps = [":baremetalsolution_cc_proto"],
357+
)

0 commit comments

Comments
 (0)