Skip to content

Commit 3ec255e

Browse files
Google APIscopybara-github
authored andcommitted
feat: publish AllocationEndpoint v1alpha API artifacts
PiperOrigin-RevId: 399552457
1 parent 70d5a82 commit 3ec255e

4 files changed

Lines changed: 456 additions & 0 deletions

File tree

Lines changed: 333 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,333 @@
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 = "allocationendpoint_proto",
23+
srcs = [
24+
"allocation_endpoint.proto",
25+
],
26+
deps = [
27+
"//google/api:annotations_proto",
28+
"//google/api:client_proto",
29+
],
30+
)
31+
32+
proto_library_with_info(
33+
name = "allocationendpoint_proto_with_info",
34+
deps = [
35+
":allocationendpoint_proto",
36+
"//google/cloud:common_resources_proto",
37+
],
38+
)
39+
40+
##############################################################################
41+
# Java
42+
##############################################################################
43+
load(
44+
"@com_google_googleapis_imports//:imports.bzl",
45+
"java_gapic_assembly_gradle_pkg",
46+
"java_gapic_library",
47+
"java_gapic_test",
48+
"java_grpc_library",
49+
"java_proto_library",
50+
)
51+
52+
java_proto_library(
53+
name = "allocationendpoint_java_proto",
54+
deps = [":allocationendpoint_proto"],
55+
)
56+
57+
java_grpc_library(
58+
name = "allocationendpoint_java_grpc",
59+
srcs = [":allocationendpoint_proto"],
60+
deps = [":allocationendpoint_java_proto"],
61+
)
62+
63+
java_gapic_library(
64+
name = "allocationendpoint_java_gapic",
65+
srcs = [":allocationendpoint_proto_with_info"],
66+
gapic_yaml = None,
67+
grpc_service_config = "allocation_endpoint_grpc_service_config.json",
68+
service_yaml = "allocation_endpoint_v1alpha.yaml",
69+
test_deps = [
70+
":allocationendpoint_java_grpc",
71+
],
72+
deps = [
73+
":allocationendpoint_java_proto",
74+
"//google/api:api_java_proto",
75+
],
76+
)
77+
78+
java_gapic_test(
79+
name = "allocationendpoint_java_gapic_test_suite",
80+
test_classes = [
81+
"com.google.cloud.gaming.allocationendpoint.v1alpha.AllocationEndpointServiceClientTest",
82+
],
83+
runtime_deps = [":allocationendpoint_java_gapic_test"],
84+
)
85+
86+
# Open Source Packages
87+
java_gapic_assembly_gradle_pkg(
88+
name = "google-cloud-gaming-allocationendpoint-v1alpha-java",
89+
deps = [
90+
":allocationendpoint_java_gapic",
91+
":allocationendpoint_java_grpc",
92+
":allocationendpoint_java_proto",
93+
":allocationendpoint_proto",
94+
],
95+
)
96+
97+
##############################################################################
98+
# Go
99+
##############################################################################
100+
load(
101+
"@com_google_googleapis_imports//:imports.bzl",
102+
"go_gapic_assembly_pkg",
103+
"go_gapic_library",
104+
"go_proto_library",
105+
"go_test",
106+
)
107+
108+
go_proto_library(
109+
name = "allocationendpoint_go_proto",
110+
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
111+
importpath = "google.golang.org/genproto/googleapis/cloud/gaming/allocationendpoint/v1alpha",
112+
protos = [":allocationendpoint_proto"],
113+
deps = [
114+
"//google/api:annotations_go_proto",
115+
],
116+
)
117+
118+
go_gapic_library(
119+
name = "allocationendpoint_go_gapic",
120+
srcs = [":allocationendpoint_proto_with_info"],
121+
grpc_service_config = "allocation_endpoint_grpc_service_config.json",
122+
importpath = "cloud.google.com/go/gaming/allocationendpoint/apiv1alpha;allocationendpoint",
123+
service_yaml = "allocation_endpoint_v1alpha.yaml",
124+
metadata = True,
125+
deps = [
126+
":allocationendpoint_go_proto",
127+
],
128+
)
129+
130+
go_test(
131+
name = "allocationendpoint_go_gapic_test",
132+
srcs = [":allocationendpoint_go_gapic_srcjar_test"],
133+
embed = [":allocationendpoint_go_gapic"],
134+
importpath = "cloud.google.com/go/gaming/allocationendpoint/apiv1alpha",
135+
)
136+
137+
# Open Source Packages
138+
go_gapic_assembly_pkg(
139+
name = "gapi-cloud-gaming-allocationendpoint-v1alpha-go",
140+
deps = [
141+
":allocationendpoint_go_gapic",
142+
":allocationendpoint_go_gapic_srcjar-test.srcjar",
143+
":allocationendpoint_go_gapic_srcjar-metadata.srcjar",
144+
":allocationendpoint_go_proto",
145+
],
146+
)
147+
148+
##############################################################################
149+
# Python
150+
##############################################################################
151+
load(
152+
"@com_google_googleapis_imports//:imports.bzl",
153+
"py_gapic_assembly_pkg",
154+
"py_gapic_library",
155+
)
156+
157+
py_gapic_library(
158+
name = "allocationendpoint_py_gapic",
159+
srcs = [":allocationendpoint_proto"],
160+
grpc_service_config = "allocation_endpoint_grpc_service_config.json",
161+
)
162+
163+
# Open Source Packages
164+
py_gapic_assembly_pkg(
165+
name = "gaming-allocationendpoint-v1alpha-py",
166+
deps = [
167+
":allocationendpoint_py_gapic",
168+
],
169+
)
170+
171+
##############################################################################
172+
# PHP
173+
##############################################################################
174+
load(
175+
"@com_google_googleapis_imports//:imports.bzl",
176+
"php_gapic_assembly_pkg",
177+
"php_gapic_library",
178+
"php_grpc_library",
179+
"php_proto_library",
180+
)
181+
182+
php_proto_library(
183+
name = "allocationendpoint_php_proto",
184+
deps = [":allocationendpoint_proto"],
185+
)
186+
187+
php_grpc_library(
188+
name = "allocationendpoint_php_grpc",
189+
srcs = [":allocationendpoint_proto"],
190+
deps = [":allocationendpoint_php_proto"],
191+
)
192+
193+
php_gapic_library(
194+
name = "allocationendpoint_php_gapic",
195+
srcs = [":allocationendpoint_proto_with_info"],
196+
grpc_service_config = "allocation_endpoint_grpc_service_config.json",
197+
service_yaml = "allocation_endpoint_v1alpha.yaml",
198+
deps = [
199+
":allocationendpoint_php_grpc",
200+
":allocationendpoint_php_proto",
201+
],
202+
)
203+
204+
# Open Source Packages
205+
php_gapic_assembly_pkg(
206+
name = "google-cloud-gaming-allocationendpoint-v1alpha-php",
207+
deps = [
208+
":allocationendpoint_php_gapic",
209+
":allocationendpoint_php_grpc",
210+
":allocationendpoint_php_proto",
211+
],
212+
)
213+
214+
##############################################################################
215+
# Node.js
216+
##############################################################################
217+
load(
218+
"@com_google_googleapis_imports//:imports.bzl",
219+
"nodejs_gapic_assembly_pkg",
220+
"nodejs_gapic_library",
221+
)
222+
223+
nodejs_gapic_library(
224+
name = "allocationendpoint_nodejs_gapic",
225+
package_name = "@google-cloud/allocationendpoint",
226+
src = ":allocationendpoint_proto_with_info",
227+
extra_protoc_parameters = ["metadata"],
228+
grpc_service_config = "allocation_endpoint_grpc_service_config.json",
229+
package = "google.cloud.gaming.allocationendpoint.v1alpha",
230+
service_yaml = "allocation_endpoint_v1alpha.yaml",
231+
deps = [],
232+
)
233+
234+
nodejs_gapic_assembly_pkg(
235+
name = "gaming-allocationendpoint-v1alpha-nodejs",
236+
deps = [
237+
":allocationendpoint_nodejs_gapic",
238+
":allocationendpoint_proto",
239+
],
240+
)
241+
242+
##############################################################################
243+
# Ruby
244+
##############################################################################
245+
load(
246+
"@com_google_googleapis_imports//:imports.bzl",
247+
"ruby_gapic_assembly_pkg",
248+
"ruby_cloud_gapic_library",
249+
"ruby_grpc_library",
250+
"ruby_proto_library",
251+
)
252+
253+
ruby_proto_library(
254+
name = "allocationendpoint_ruby_proto",
255+
deps = [":allocationendpoint_proto"],
256+
)
257+
258+
ruby_grpc_library(
259+
name = "allocationendpoint_ruby_grpc",
260+
srcs = [":allocationendpoint_proto"],
261+
deps = [":allocationendpoint_ruby_proto"],
262+
)
263+
264+
ruby_cloud_gapic_library(
265+
name = "allocationendpoint_ruby_gapic",
266+
srcs = [":allocationendpoint_proto_with_info"],
267+
extra_protoc_parameters = [
268+
"ruby-cloud-gem-name=google-cloud-gaming-allocationendpoint-v1alpha",
269+
],
270+
grpc_service_config = "allocation_endpoint_grpc_service_config.json",
271+
deps = [
272+
":allocationendpoint_ruby_grpc",
273+
":allocationendpoint_ruby_proto",
274+
],
275+
)
276+
277+
# Open Source Packages
278+
ruby_gapic_assembly_pkg(
279+
name = "google-cloud-gaming-allocationendpoint-v1alpha-ruby",
280+
deps = [
281+
":allocationendpoint_ruby_gapic",
282+
":allocationendpoint_ruby_grpc",
283+
":allocationendpoint_ruby_proto",
284+
],
285+
)
286+
287+
##############################################################################
288+
# C#
289+
##############################################################################
290+
load(
291+
"@com_google_googleapis_imports//:imports.bzl",
292+
"csharp_gapic_assembly_pkg",
293+
"csharp_gapic_library",
294+
"csharp_grpc_library",
295+
"csharp_proto_library",
296+
)
297+
298+
csharp_proto_library(
299+
name = "allocationendpoint_csharp_proto",
300+
deps = [":allocationendpoint_proto"],
301+
)
302+
303+
csharp_grpc_library(
304+
name = "allocationendpoint_csharp_grpc",
305+
srcs = [":allocationendpoint_proto"],
306+
deps = [":allocationendpoint_csharp_proto"],
307+
)
308+
309+
csharp_gapic_library(
310+
name = "allocationendpoint_csharp_gapic",
311+
srcs = [":allocationendpoint_proto_with_info"],
312+
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
313+
grpc_service_config = "allocation_endpoint_grpc_service_config.json",
314+
deps = [
315+
":allocationendpoint_csharp_grpc",
316+
":allocationendpoint_csharp_proto",
317+
],
318+
)
319+
320+
# Open Source Packages
321+
csharp_gapic_assembly_pkg(
322+
name = "google-cloud-gaming-allocationendpoint-v1alpha-csharp",
323+
deps = [
324+
":allocationendpoint_csharp_gapic",
325+
":allocationendpoint_csharp_grpc",
326+
":allocationendpoint_csharp_proto",
327+
],
328+
)
329+
330+
##############################################################################
331+
# C++
332+
##############################################################################
333+
# Put your C++ rules here

0 commit comments

Comments
 (0)