xref: /aosp_15_r20/external/googleapis/google/cloud/telcoautomation/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
12load(
13    "@com_google_googleapis_imports//:imports.bzl",
14    "cc_grpc_library",
15    "cc_proto_library",
16    "csharp_gapic_assembly_pkg",
17    "csharp_gapic_library",
18    "csharp_grpc_library",
19    "csharp_proto_library",
20    "go_gapic_assembly_pkg",
21    "go_gapic_library",
22    "go_proto_library",
23    "java_gapic_assembly_gradle_pkg",
24    "java_gapic_library",
25    "java_gapic_test",
26    "java_grpc_library",
27    "java_proto_library",
28    "nodejs_gapic_assembly_pkg",
29    "nodejs_gapic_library",
30    "php_gapic_assembly_pkg",
31    "php_gapic_library",
32    "php_proto_library",
33    "proto_library_with_info",
34    "py_gapic_assembly_pkg",
35    "py_gapic_library",
36    "py_test",
37    "ruby_cloud_gapic_library",
38    "ruby_gapic_assembly_pkg",
39    "ruby_grpc_library",
40    "ruby_proto_library",
41)
42
43##############################################################################
44# Common
45##############################################################################
46load("@rules_proto//proto:defs.bzl", "proto_library")
47
48# This is an API workspace, having public visibility by default makes perfect sense.
49package(default_visibility = ["//visibility:public"])
50
51proto_library(
52    name = "telcoautomation_proto",
53    srcs = [
54        "telcoautomation.proto",
55    ],
56    deps = [
57        "//google/api:annotations_proto",
58        "//google/api:client_proto",
59        "//google/api:field_behavior_proto",
60        "//google/api:resource_proto",
61        "//google/longrunning:operations_proto",
62        "@com_google_protobuf//:empty_proto",
63        "@com_google_protobuf//:field_mask_proto",
64        "@com_google_protobuf//:timestamp_proto",
65    ],
66)
67
68proto_library_with_info(
69    name = "telcoautomation_proto_with_info",
70    deps = [
71        ":telcoautomation_proto",
72        "//google/cloud:common_resources_proto",
73        "//google/cloud/location:location_proto",
74    ],
75)
76
77java_proto_library(
78    name = "telcoautomation_java_proto",
79    deps = [":telcoautomation_proto"],
80)
81
82java_grpc_library(
83    name = "telcoautomation_java_grpc",
84    srcs = [":telcoautomation_proto"],
85    deps = [":telcoautomation_java_proto"],
86)
87
88java_gapic_library(
89    name = "telcoautomation_java_gapic",
90    srcs = [":telcoautomation_proto_with_info"],
91    gapic_yaml = None,
92    grpc_service_config = "telcoautomation_v1alpha1_grpc_service_config.json",
93    rest_numeric_enums = True,
94    service_yaml = "telcoautomation_v1alpha1.yaml",
95    test_deps = [
96        ":telcoautomation_java_grpc",
97        "//google/cloud/location:location_java_grpc",
98    ],
99    transport = "grpc+rest",
100    deps = [
101        ":telcoautomation_java_proto",
102        "//google/api:api_java_proto",
103        "//google/cloud/location:location_java_proto",
104    ],
105)
106
107java_gapic_test(
108    name = "telcoautomation_java_gapic_test_suite",
109    test_classes = [
110        "com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClientHttpJsonTest",
111        "com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClientTest",
112    ],
113    runtime_deps = [":telcoautomation_java_gapic_test"],
114)
115
116# Open Source Packages
117java_gapic_assembly_gradle_pkg(
118    name = "google-cloud-telcoautomation-v1alpha1-java",
119    include_samples = True,
120    transport = "grpc+rest",
121    deps = [
122        ":telcoautomation_java_gapic",
123        ":telcoautomation_java_grpc",
124        ":telcoautomation_java_proto",
125        ":telcoautomation_proto",
126    ],
127)
128
129go_proto_library(
130    name = "telcoautomation_go_proto",
131    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
132    importpath = "cloud.google.com/go/telcoautomation/apiv1alpha1/telcoautomationpb",
133    protos = [":telcoautomation_proto"],
134    deps = [
135        "//google/api:annotations_go_proto",
136        "//google/longrunning:longrunning_go_proto",
137    ],
138)
139
140go_gapic_library(
141    name = "telcoautomation_go_gapic",
142    srcs = [":telcoautomation_proto_with_info"],
143    grpc_service_config = "telcoautomation_v1alpha1_grpc_service_config.json",
144    importpath = "cloud.google.com/go/telcoautomation/apiv1alpha1;telcoautomation",
145    metadata = True,
146    release_level = "beta",
147    rest_numeric_enums = True,
148    service_yaml = "telcoautomation_v1alpha1.yaml",
149    transport = "grpc+rest",
150    deps = [
151        ":telcoautomation_go_proto",
152        "//google/cloud/location:location_go_proto",
153        "//google/longrunning:longrunning_go_proto",
154        "@com_google_cloud_go_longrunning//:go_default_library",
155        "@com_google_cloud_go_longrunning//autogen:go_default_library",
156    ],
157)
158
159# Open Source Packages
160go_gapic_assembly_pkg(
161    name = "gapi-cloud-telcoautomation-v1alpha1-go",
162    deps = [
163        ":telcoautomation_go_gapic",
164        ":telcoautomation_go_gapic_srcjar-metadata.srcjar",
165        ":telcoautomation_go_gapic_srcjar-snippets.srcjar",
166        ":telcoautomation_go_gapic_srcjar-test.srcjar",
167        ":telcoautomation_go_proto",
168    ],
169)
170
171py_gapic_library(
172    name = "telcoautomation_py_gapic",
173    srcs = [":telcoautomation_proto"],
174    grpc_service_config = "telcoautomation_v1alpha1_grpc_service_config.json",
175    rest_numeric_enums = True,
176    service_yaml = "telcoautomation_v1alpha1.yaml",
177    transport = "grpc+rest",
178    deps = [
179    ],
180)
181
182py_test(
183    name = "telcoautomation_py_gapic_test",
184    srcs = [
185        "telcoautomation_py_gapic_pytest.py",
186        "telcoautomation_py_gapic_test.py",
187    ],
188    legacy_create_init = False,
189    deps = [":telcoautomation_py_gapic"],
190)
191
192# Open Source Packages
193py_gapic_assembly_pkg(
194    name = "telcoautomation-v1alpha1-py",
195    deps = [
196        ":telcoautomation_py_gapic",
197    ],
198)
199
200php_proto_library(
201    name = "telcoautomation_php_proto",
202    deps = [":telcoautomation_proto"],
203)
204
205php_gapic_library(
206    name = "telcoautomation_php_gapic",
207    srcs = [":telcoautomation_proto_with_info"],
208    grpc_service_config = "telcoautomation_v1alpha1_grpc_service_config.json",
209    migration_mode = "NEW_SURFACE_ONLY",
210    rest_numeric_enums = True,
211    service_yaml = "telcoautomation_v1alpha1.yaml",
212    transport = "grpc+rest",
213    deps = [
214        ":telcoautomation_php_proto",
215    ],
216)
217
218# Open Source Packages
219php_gapic_assembly_pkg(
220    name = "google-cloud-telcoautomation-v1alpha1-php",
221    deps = [
222        ":telcoautomation_php_gapic",
223        ":telcoautomation_php_proto",
224    ],
225)
226
227nodejs_gapic_library(
228    name = "telcoautomation_nodejs_gapic",
229    package_name = "@google-cloud/telcoautomation",
230    src = ":telcoautomation_proto_with_info",
231    extra_protoc_parameters = ["metadata"],
232    grpc_service_config = "telcoautomation_v1alpha1_grpc_service_config.json",
233    package = "google.cloud.telcoautomation.v1alpha1",
234    rest_numeric_enums = True,
235    service_yaml = "telcoautomation_v1alpha1.yaml",
236    transport = "grpc+rest",
237    deps = [],
238)
239
240nodejs_gapic_assembly_pkg(
241    name = "telcoautomation-v1alpha1-nodejs",
242    deps = [
243        ":telcoautomation_nodejs_gapic",
244        ":telcoautomation_proto",
245    ],
246)
247
248ruby_proto_library(
249    name = "telcoautomation_ruby_proto",
250    deps = [":telcoautomation_proto"],
251)
252
253ruby_grpc_library(
254    name = "telcoautomation_ruby_grpc",
255    srcs = [":telcoautomation_proto"],
256    deps = [":telcoautomation_ruby_proto"],
257)
258
259ruby_cloud_gapic_library(
260    name = "telcoautomation_ruby_gapic",
261    srcs = [":telcoautomation_proto_with_info"],
262    extra_protoc_parameters = [
263        "ruby-cloud-gem-name=google-cloud-telcoautomation-v1alpha1",
264    ],
265    grpc_service_config = "telcoautomation_v1alpha1_grpc_service_config.json",
266    rest_numeric_enums = True,
267    service_yaml = "telcoautomation_v1alpha1.yaml",
268    transport = "grpc+rest",
269    deps = [
270        ":telcoautomation_ruby_grpc",
271        ":telcoautomation_ruby_proto",
272    ],
273)
274
275# Open Source Packages
276ruby_gapic_assembly_pkg(
277    name = "google-cloud-telcoautomation-v1alpha1-ruby",
278    deps = [
279        ":telcoautomation_ruby_gapic",
280        ":telcoautomation_ruby_grpc",
281        ":telcoautomation_ruby_proto",
282    ],
283)
284
285csharp_proto_library(
286    name = "telcoautomation_csharp_proto",
287    extra_opts = [],
288    deps = [":telcoautomation_proto"],
289)
290
291csharp_grpc_library(
292    name = "telcoautomation_csharp_grpc",
293    srcs = [":telcoautomation_proto"],
294    deps = [":telcoautomation_csharp_proto"],
295)
296
297csharp_gapic_library(
298    name = "telcoautomation_csharp_gapic",
299    srcs = [":telcoautomation_proto_with_info"],
300    common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
301    grpc_service_config = "telcoautomation_v1alpha1_grpc_service_config.json",
302    rest_numeric_enums = True,
303    service_yaml = "telcoautomation_v1alpha1.yaml",
304    deps = [
305        ":telcoautomation_csharp_grpc",
306        ":telcoautomation_csharp_proto",
307    ],
308)
309
310# Open Source Packages
311csharp_gapic_assembly_pkg(
312    name = "google-cloud-telcoautomation-v1alpha1-csharp",
313    deps = [
314        ":telcoautomation_csharp_gapic",
315        ":telcoautomation_csharp_grpc",
316        ":telcoautomation_csharp_proto",
317    ],
318)
319
320cc_proto_library(
321    name = "telcoautomation_cc_proto",
322    deps = [":telcoautomation_proto"],
323)
324
325cc_grpc_library(
326    name = "telcoautomation_cc_grpc",
327    srcs = [":telcoautomation_proto"],
328    grpc_only = True,
329    deps = [":telcoautomation_cc_proto"],
330)
331