Skip to content

Commit 47e44e0

Browse files
Google APIscopybara-github
authored andcommitted
feat: Initial release for V1 Cluster Director client libraries
PiperOrigin-RevId: 873108574
1 parent 1e6955c commit 47e44e0

6 files changed

Lines changed: 2087 additions & 4 deletions

File tree

Lines changed: 397 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,397 @@
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+
# buildifier: disable=load-on-top
13+
14+
# This is an API workspace, having public visibility by default makes perfect sense.
15+
package(default_visibility = ["//visibility:public"])
16+
17+
##############################################################################
18+
# Common
19+
##############################################################################
20+
# buildifier: disable=same-origin-load
21+
load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
22+
load("@rules_proto//proto:defs.bzl", "proto_library")
23+
24+
proto_library(
25+
name = "hypercomputecluster_proto",
26+
srcs = [
27+
"hypercompute_cluster.proto",
28+
"operation_metadata.proto",
29+
],
30+
deps = [
31+
"//google/api:annotations_proto",
32+
"//google/api:client_proto",
33+
"//google/api:field_behavior_proto",
34+
"//google/api:field_info_proto",
35+
"//google/api:resource_proto",
36+
"//google/longrunning:operations_proto",
37+
"@com_google_protobuf//:duration_proto",
38+
"@com_google_protobuf//:empty_proto",
39+
"@com_google_protobuf//:field_mask_proto",
40+
"@com_google_protobuf//:timestamp_proto",
41+
],
42+
)
43+
44+
proto_library_with_info(
45+
name = "hypercomputecluster_proto_with_info",
46+
deps = [
47+
":hypercomputecluster_proto",
48+
"//google/cloud:common_resources_proto",
49+
"//google/cloud/location:location_proto",
50+
],
51+
)
52+
53+
##############################################################################
54+
# Java
55+
##############################################################################
56+
# buildifier: disable=same-origin-load
57+
load(
58+
"@com_google_googleapis_imports//:imports.bzl",
59+
"java_gapic_assembly_gradle_pkg",
60+
"java_gapic_library",
61+
"java_gapic_test",
62+
"java_grpc_library",
63+
"java_proto_library",
64+
)
65+
66+
java_proto_library(
67+
name = "hypercomputecluster_java_proto",
68+
deps = [":hypercomputecluster_proto"],
69+
)
70+
71+
java_grpc_library(
72+
name = "hypercomputecluster_java_grpc",
73+
srcs = [":hypercomputecluster_proto"],
74+
deps = [":hypercomputecluster_java_proto"],
75+
)
76+
77+
java_gapic_library(
78+
name = "hypercomputecluster_java_gapic",
79+
srcs = [":hypercomputecluster_proto_with_info"],
80+
gapic_yaml = None,
81+
grpc_service_config = "hypercomputecluster_v1_grpc_service_config.json",
82+
rest_numeric_enums = True,
83+
service_yaml = "hypercomputecluster_v1.yaml",
84+
test_deps = [
85+
":hypercomputecluster_java_grpc",
86+
"//google/cloud/location:location_java_grpc",
87+
],
88+
transport = "grpc+rest",
89+
deps = [
90+
":hypercomputecluster_java_proto",
91+
"//google/api:api_java_proto",
92+
"//google/cloud/location:location_java_proto",
93+
],
94+
)
95+
96+
java_gapic_test(
97+
name = "hypercomputecluster_java_gapic_test_suite",
98+
test_classes = [
99+
"com.google.cloud.hypercomputecluster.v1.HypercomputeClusterClientHttpJsonTest",
100+
"com.google.cloud.hypercomputecluster.v1.HypercomputeClusterClientTest",
101+
],
102+
runtime_deps = [":hypercomputecluster_java_gapic_test"],
103+
)
104+
105+
# Open Source Packages
106+
java_gapic_assembly_gradle_pkg(
107+
name = "google-cloud-hypercomputecluster-v1-java",
108+
include_samples = True,
109+
transport = "grpc+rest",
110+
deps = [
111+
":hypercomputecluster_java_gapic",
112+
":hypercomputecluster_java_grpc",
113+
":hypercomputecluster_java_proto",
114+
":hypercomputecluster_proto",
115+
],
116+
)
117+
118+
##############################################################################
119+
# Go
120+
##############################################################################
121+
# buildifier: disable=same-origin-load
122+
load(
123+
"@com_google_googleapis_imports//:imports.bzl",
124+
"go_gapic_assembly_pkg",
125+
"go_gapic_library",
126+
"go_grpc_library",
127+
)
128+
129+
go_grpc_library(
130+
name = "hypercomputecluster_go_proto",
131+
importpath = "cloud.google.com/go/hypercomputecluster/apiv1/hypercomputeclusterpb",
132+
protos = [":hypercomputecluster_proto"],
133+
deps = [
134+
"//google/api:annotations_go_proto",
135+
"//google/longrunning:longrunning_go_proto",
136+
],
137+
)
138+
139+
go_gapic_library(
140+
name = "hypercomputecluster_go_gapic",
141+
srcs = [":hypercomputecluster_proto_with_info"],
142+
grpc_service_config = "hypercomputecluster_v1_grpc_service_config.json",
143+
importpath = "cloud.google.com/go/hypercomputecluster/apiv1;hypercomputecluster",
144+
metadata = True,
145+
release_level = "beta",
146+
rest_numeric_enums = True,
147+
service_yaml = "hypercomputecluster_v1.yaml",
148+
transport = "grpc+rest",
149+
deps = [
150+
":hypercomputecluster_go_proto",
151+
"//google/cloud/location:location_go_proto",
152+
"//google/longrunning:longrunning_go_proto",
153+
"@com_google_cloud_go_longrunning//:go_default_library",
154+
"@com_google_cloud_go_longrunning//autogen:go_default_library",
155+
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
156+
],
157+
)
158+
159+
# Open Source Packages
160+
go_gapic_assembly_pkg(
161+
name = "gapi-cloud-hypercomputecluster-v1-go",
162+
deps = [
163+
":hypercomputecluster_go_gapic",
164+
":hypercomputecluster_go_gapic_srcjar-metadata.srcjar",
165+
":hypercomputecluster_go_gapic_srcjar-snippets.srcjar",
166+
":hypercomputecluster_go_gapic_srcjar-test.srcjar",
167+
":hypercomputecluster_go_proto",
168+
],
169+
)
170+
171+
##############################################################################
172+
# Python
173+
##############################################################################
174+
# buildifier: disable=same-origin-load
175+
load(
176+
"@com_google_googleapis_imports//:imports.bzl",
177+
"py_gapic_assembly_pkg",
178+
"py_gapic_library",
179+
"py_test",
180+
)
181+
182+
py_gapic_library(
183+
name = "hypercomputecluster_py_gapic",
184+
srcs = [":hypercomputecluster_proto"],
185+
grpc_service_config = "hypercomputecluster_v1_grpc_service_config.json",
186+
rest_numeric_enums = True,
187+
service_yaml = "hypercomputecluster_v1.yaml",
188+
transport = "grpc+rest",
189+
deps = [
190+
],
191+
)
192+
193+
py_test(
194+
name = "hypercomputecluster_py_gapic_test",
195+
srcs = [
196+
"hypercomputecluster_py_gapic_pytest.py",
197+
"hypercomputecluster_py_gapic_test.py",
198+
],
199+
legacy_create_init = False,
200+
deps = [":hypercomputecluster_py_gapic"],
201+
)
202+
203+
# Open Source Packages
204+
py_gapic_assembly_pkg(
205+
name = "hypercomputecluster-v1-py",
206+
deps = [
207+
":hypercomputecluster_py_gapic",
208+
],
209+
)
210+
211+
##############################################################################
212+
# PHP
213+
##############################################################################
214+
# buildifier: disable=same-origin-load
215+
load(
216+
"@com_google_googleapis_imports//:imports.bzl",
217+
"php_gapic_assembly_pkg",
218+
"php_gapic_library",
219+
"php_proto_library",
220+
)
221+
222+
php_proto_library(
223+
name = "hypercomputecluster_php_proto",
224+
deps = [":hypercomputecluster_proto"],
225+
)
226+
227+
php_gapic_library(
228+
name = "hypercomputecluster_php_gapic",
229+
srcs = [":hypercomputecluster_proto_with_info"],
230+
grpc_service_config = "hypercomputecluster_v1_grpc_service_config.json",
231+
migration_mode = "NEW_SURFACE_ONLY",
232+
rest_numeric_enums = True,
233+
service_yaml = "hypercomputecluster_v1.yaml",
234+
transport = "grpc+rest",
235+
deps = [
236+
":hypercomputecluster_php_proto",
237+
],
238+
)
239+
240+
# Open Source Packages
241+
php_gapic_assembly_pkg(
242+
name = "google-cloud-hypercomputecluster-v1-php",
243+
deps = [
244+
":hypercomputecluster_php_gapic",
245+
":hypercomputecluster_php_proto",
246+
],
247+
)
248+
249+
##############################################################################
250+
# Node.js
251+
##############################################################################
252+
# buildifier: disable=same-origin-load
253+
load(
254+
"@com_google_googleapis_imports//:imports.bzl",
255+
"nodejs_gapic_assembly_pkg",
256+
"nodejs_gapic_library",
257+
)
258+
259+
nodejs_gapic_library(
260+
name = "hypercomputecluster_nodejs_gapic",
261+
package_name = "@google-cloud/hypercomputecluster",
262+
src = ":hypercomputecluster_proto_with_info",
263+
extra_protoc_parameters = ["metadata"],
264+
grpc_service_config = "hypercomputecluster_v1_grpc_service_config.json",
265+
package = "google.cloud.hypercomputecluster.v1",
266+
rest_numeric_enums = True,
267+
service_yaml = "hypercomputecluster_v1.yaml",
268+
transport = "grpc+rest",
269+
deps = [],
270+
)
271+
272+
nodejs_gapic_assembly_pkg(
273+
name = "hypercomputecluster-v1-nodejs",
274+
deps = [
275+
":hypercomputecluster_nodejs_gapic",
276+
":hypercomputecluster_proto",
277+
],
278+
)
279+
280+
##############################################################################
281+
# Ruby
282+
##############################################################################
283+
# buildifier: disable=same-origin-load
284+
load(
285+
"@com_google_googleapis_imports//:imports.bzl",
286+
"ruby_cloud_gapic_library",
287+
"ruby_gapic_assembly_pkg",
288+
"ruby_grpc_library",
289+
"ruby_proto_library",
290+
)
291+
292+
ruby_proto_library(
293+
name = "hypercomputecluster_ruby_proto",
294+
deps = [":hypercomputecluster_proto"],
295+
)
296+
297+
ruby_grpc_library(
298+
name = "hypercomputecluster_ruby_grpc",
299+
srcs = [":hypercomputecluster_proto"],
300+
deps = [":hypercomputecluster_ruby_proto"],
301+
)
302+
303+
ruby_cloud_gapic_library(
304+
name = "hypercomputecluster_ruby_gapic",
305+
srcs = [":hypercomputecluster_proto_with_info"],
306+
extra_protoc_parameters = [
307+
"ruby-cloud-gem-name=google-cloud-hypercomputecluster-v1",
308+
],
309+
grpc_service_config = "hypercomputecluster_v1_grpc_service_config.json",
310+
rest_numeric_enums = True,
311+
service_yaml = "hypercomputecluster_v1.yaml",
312+
transport = "grpc+rest",
313+
deps = [
314+
":hypercomputecluster_ruby_grpc",
315+
":hypercomputecluster_ruby_proto",
316+
],
317+
)
318+
319+
# Open Source Packages
320+
ruby_gapic_assembly_pkg(
321+
name = "google-cloud-hypercomputecluster-v1-ruby",
322+
deps = [
323+
":hypercomputecluster_ruby_gapic",
324+
":hypercomputecluster_ruby_grpc",
325+
":hypercomputecluster_ruby_proto",
326+
],
327+
)
328+
329+
##############################################################################
330+
# C#
331+
##############################################################################
332+
# buildifier: disable=same-origin-load
333+
load(
334+
"@com_google_googleapis_imports//:imports.bzl",
335+
"csharp_gapic_assembly_pkg",
336+
"csharp_gapic_library",
337+
"csharp_grpc_library",
338+
"csharp_proto_library",
339+
)
340+
341+
csharp_proto_library(
342+
name = "hypercomputecluster_csharp_proto",
343+
extra_opts = [],
344+
deps = [":hypercomputecluster_proto"],
345+
)
346+
347+
csharp_grpc_library(
348+
name = "hypercomputecluster_csharp_grpc",
349+
srcs = [":hypercomputecluster_proto"],
350+
deps = [":hypercomputecluster_csharp_proto"],
351+
)
352+
353+
csharp_gapic_library(
354+
name = "hypercomputecluster_csharp_gapic",
355+
srcs = [":hypercomputecluster_proto_with_info"],
356+
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
357+
grpc_service_config = "hypercomputecluster_v1_grpc_service_config.json",
358+
rest_numeric_enums = True,
359+
service_yaml = "hypercomputecluster_v1.yaml",
360+
transport = "grpc+rest",
361+
deps = [
362+
":hypercomputecluster_csharp_grpc",
363+
":hypercomputecluster_csharp_proto",
364+
],
365+
)
366+
367+
# Open Source Packages
368+
csharp_gapic_assembly_pkg(
369+
name = "google-cloud-hypercomputecluster-v1-csharp",
370+
deps = [
371+
":hypercomputecluster_csharp_gapic",
372+
":hypercomputecluster_csharp_grpc",
373+
":hypercomputecluster_csharp_proto",
374+
],
375+
)
376+
377+
##############################################################################
378+
# C++
379+
##############################################################################
380+
# buildifier: disable=same-origin-load
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 = "hypercomputecluster_cc_proto",
389+
deps = [":hypercomputecluster_proto"],
390+
)
391+
392+
cc_grpc_library(
393+
name = "hypercomputecluster_cc_grpc",
394+
srcs = [":hypercomputecluster_proto"],
395+
grpc_only = True,
396+
deps = [":hypercomputecluster_cc_proto"],
397+
)

0 commit comments

Comments
 (0)