xref: /aosp_15_r20/external/googleapis/google/cloud/bigquery/biglake/v1alpha1/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 = "biglake_proto",
23    srcs = [
24        "metastore.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        "@com_google_protobuf//:empty_proto",
32        "@com_google_protobuf//:field_mask_proto",
33        "@com_google_protobuf//:timestamp_proto",
34    ],
35)
36
37proto_library_with_info(
38    name = "biglake_proto_with_info",
39    deps = [
40        ":biglake_proto",
41        "//google/cloud:common_resources_proto",
42    ],
43)
44
45##############################################################################
46# Java
47##############################################################################
48load(
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
57java_proto_library(
58    name = "biglake_java_proto",
59    deps = [":biglake_proto"],
60)
61
62java_grpc_library(
63    name = "biglake_java_grpc",
64    srcs = [":biglake_proto"],
65    deps = [":biglake_java_proto"],
66)
67
68java_gapic_library(
69    name = "biglake_java_gapic",
70    srcs = [":biglake_proto_with_info"],
71    gapic_yaml = None,
72    grpc_service_config = "biglake_v1alpha1_grpc_service_config.json",
73    rest_numeric_enums = True,
74    service_yaml = "biglake_v1alpha1.yaml",
75    test_deps = [
76        ":biglake_java_grpc",
77    ],
78    transport = "grpc+rest",
79    deps = [
80        ":biglake_java_proto",
81        "//google/api:api_java_proto",
82    ],
83)
84
85java_gapic_test(
86    name = "biglake_java_gapic_test_suite",
87    test_classes = [
88        "com.google.cloud.bigquery.biglake.v1alpha1.MetastoreServiceClientHttpJsonTest",
89        "com.google.cloud.bigquery.biglake.v1alpha1.MetastoreServiceClientTest",
90    ],
91    runtime_deps = [":biglake_java_gapic_test"],
92)
93
94# Open Source Packages
95java_gapic_assembly_gradle_pkg(
96    name = "google-cloud-bigquery-biglake-v1alpha1-java",
97    include_samples = True,
98    transport = "grpc+rest",
99    deps = [
100        ":biglake_java_gapic",
101        ":biglake_java_grpc",
102        ":biglake_java_proto",
103        ":biglake_proto",
104    ],
105)
106
107##############################################################################
108# Go
109##############################################################################
110load(
111    "@com_google_googleapis_imports//:imports.bzl",
112    "go_gapic_assembly_pkg",
113    "go_gapic_library",
114    "go_proto_library",
115)
116
117go_proto_library(
118    name = "biglake_go_proto",
119    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
120    importpath = "cloud.google.com/go/bigquery/biglake/apiv1alpha1/biglakepb",
121    protos = [":biglake_proto"],
122    deps = [
123        "//google/api:annotations_go_proto",
124    ],
125)
126
127go_gapic_library(
128    name = "biglake_go_gapic",
129    srcs = [":biglake_proto_with_info"],
130    grpc_service_config = "biglake_v1alpha1_grpc_service_config.json",
131    importpath = "cloud.google.com/go/bigquery/biglake/apiv1alpha1;biglake",
132    metadata = True,
133    release_level = "beta",
134    rest_numeric_enums = True,
135    service_yaml = "biglake_v1alpha1.yaml",
136    transport = "grpc+rest",
137    deps = [
138        ":biglake_go_proto",
139    ],
140)
141
142# Open Source Packages
143go_gapic_assembly_pkg(
144    name = "gapi-cloud-bigquery-biglake-v1alpha1-go",
145    deps = [
146        ":biglake_go_gapic",
147        ":biglake_go_gapic_srcjar-metadata.srcjar",
148        ":biglake_go_gapic_srcjar-snippets.srcjar",
149        ":biglake_go_gapic_srcjar-test.srcjar",
150        ":biglake_go_proto",
151    ],
152)
153
154##############################################################################
155# Python
156##############################################################################
157load(
158    "@com_google_googleapis_imports//:imports.bzl",
159    "py_gapic_assembly_pkg",
160    "py_gapic_library",
161    "py_test",
162)
163
164py_gapic_library(
165    name = "biglake_py_gapic",
166    srcs = [":biglake_proto"],
167    grpc_service_config = "biglake_v1alpha1_grpc_service_config.json",
168    opt_args = [
169        "python-gapic-namespace=google.cloud",
170        "python-gapic-name=bigquery_biglake",
171    ],
172    rest_numeric_enums = True,
173    service_yaml = "biglake_v1alpha1.yaml",
174    transport = "grpc+rest",
175    deps = [
176    ],
177)
178
179py_test(
180    name = "biglake_py_gapic_test",
181    srcs = [
182        "biglake_py_gapic_pytest.py",
183        "biglake_py_gapic_test.py",
184    ],
185    legacy_create_init = False,
186    deps = [":biglake_py_gapic"],
187)
188
189# Open Source Packages
190py_gapic_assembly_pkg(
191    name = "bigquery-biglake-v1alpha1-py",
192    deps = [
193        ":biglake_py_gapic",
194    ],
195)
196
197##############################################################################
198# PHP
199##############################################################################
200load(
201    "@com_google_googleapis_imports//:imports.bzl",
202    "php_gapic_assembly_pkg",
203    "php_gapic_library",
204    "php_proto_library",
205)
206
207php_proto_library(
208    name = "biglake_php_proto",
209    deps = [":biglake_proto"],
210)
211
212php_gapic_library(
213    name = "biglake_php_gapic",
214    srcs = [":biglake_proto_with_info"],
215    grpc_service_config = "biglake_v1alpha1_grpc_service_config.json",
216    rest_numeric_enums = True,
217    service_yaml = "biglake_v1alpha1.yaml",
218    transport = "grpc+rest",
219    deps = [":biglake_php_proto"],
220)
221
222# Open Source Packages
223php_gapic_assembly_pkg(
224    name = "google-cloud-bigquery-biglake-v1alpha1-php",
225    deps = [
226        ":biglake_php_gapic",
227        ":biglake_php_proto",
228    ],
229)
230
231##############################################################################
232# Node.js
233##############################################################################
234load(
235    "@com_google_googleapis_imports//:imports.bzl",
236    "nodejs_gapic_assembly_pkg",
237    "nodejs_gapic_library",
238)
239
240nodejs_gapic_library(
241    name = "biglake_nodejs_gapic",
242    package_name = "@google-cloud/biglake",
243    src = ":biglake_proto_with_info",
244    extra_protoc_parameters = ["metadata"],
245    grpc_service_config = "biglake_v1alpha1_grpc_service_config.json",
246    package = "google.cloud.bigquery.biglake.v1alpha1",
247    rest_numeric_enums = True,
248    service_yaml = "biglake_v1alpha1.yaml",
249    transport = "grpc+rest",
250    deps = [],
251)
252
253nodejs_gapic_assembly_pkg(
254    name = "bigquery-biglake-v1alpha1-nodejs",
255    deps = [
256        ":biglake_nodejs_gapic",
257        ":biglake_proto",
258    ],
259)
260
261##############################################################################
262# Ruby
263##############################################################################
264load(
265    "@com_google_googleapis_imports//:imports.bzl",
266    "ruby_cloud_gapic_library",
267    "ruby_gapic_assembly_pkg",
268    "ruby_grpc_library",
269    "ruby_proto_library",
270)
271
272ruby_proto_library(
273    name = "biglake_ruby_proto",
274    deps = [":biglake_proto"],
275)
276
277ruby_grpc_library(
278    name = "biglake_ruby_grpc",
279    srcs = [":biglake_proto"],
280    deps = [":biglake_ruby_proto"],
281)
282
283ruby_cloud_gapic_library(
284    name = "biglake_ruby_gapic",
285    srcs = [":biglake_proto_with_info"],
286    extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-bigquery-biglake-v1alpha1"],
287    grpc_service_config = "biglake_v1alpha1_grpc_service_config.json",
288    rest_numeric_enums = True,
289    service_yaml = "biglake_v1alpha1.yaml",
290    deps = [
291        ":biglake_ruby_grpc",
292        ":biglake_ruby_proto",
293    ],
294)
295
296# Open Source Packages
297ruby_gapic_assembly_pkg(
298    name = "google-cloud-bigquery-biglake-v1alpha1-ruby",
299    deps = [
300        ":biglake_ruby_gapic",
301        ":biglake_ruby_grpc",
302        ":biglake_ruby_proto",
303    ],
304)
305
306##############################################################################
307# C#
308##############################################################################
309load(
310    "@com_google_googleapis_imports//:imports.bzl",
311    "csharp_gapic_assembly_pkg",
312    "csharp_gapic_library",
313    "csharp_grpc_library",
314    "csharp_proto_library",
315)
316
317csharp_proto_library(
318    name = "biglake_csharp_proto",
319    deps = [":biglake_proto"],
320)
321
322csharp_grpc_library(
323    name = "biglake_csharp_grpc",
324    srcs = [":biglake_proto"],
325    deps = [":biglake_csharp_proto"],
326)
327
328csharp_gapic_library(
329    name = "biglake_csharp_gapic",
330    srcs = [":biglake_proto_with_info"],
331    common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
332    grpc_service_config = "biglake_v1alpha1_grpc_service_config.json",
333    rest_numeric_enums = True,
334    service_yaml = "biglake_v1alpha1.yaml",
335    deps = [
336        ":biglake_csharp_grpc",
337        ":biglake_csharp_proto",
338    ],
339)
340
341# Open Source Packages
342csharp_gapic_assembly_pkg(
343    name = "google-cloud-bigquery-biglake-v1alpha1-csharp",
344    deps = [
345        ":biglake_csharp_gapic",
346        ":biglake_csharp_grpc",
347        ":biglake_csharp_proto",
348    ],
349)
350
351##############################################################################
352# C++
353##############################################################################
354load(
355    "@com_google_googleapis_imports//:imports.bzl",
356    "cc_grpc_library",
357    "cc_proto_library",
358)
359
360cc_proto_library(
361    name = "biglake_cc_proto",
362    deps = [":biglake_proto"],
363)
364
365cc_grpc_library(
366    name = "biglake_cc_grpc",
367    srcs = [":biglake_proto"],
368    grpc_only = True,
369    deps = [":biglake_cc_proto"],
370)
371