xref: /aosp_15_r20/external/googleapis/google/cloud/contactcenterinsights/v1/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 = "contactcenterinsights_proto",
23    srcs = [
24        "contact_center_insights.proto",
25        "resources.proto",
26    ],
27    deps = [
28        "//google/api:annotations_proto",
29        "//google/api:client_proto",
30        "//google/api:field_behavior_proto",
31        "//google/api:resource_proto",
32        "//google/longrunning:operations_proto",
33        "//google/rpc:status_proto",
34        "@com_google_protobuf//:duration_proto",
35        "@com_google_protobuf//:empty_proto",
36        "@com_google_protobuf//:field_mask_proto",
37        "@com_google_protobuf//:timestamp_proto",
38    ],
39)
40
41proto_library_with_info(
42    name = "contactcenterinsights_proto_with_info",
43    deps = [
44        ":contactcenterinsights_proto",
45        "//google/cloud:common_resources_proto",
46    ],
47)
48
49##############################################################################
50# Java
51##############################################################################
52load(
53    "@com_google_googleapis_imports//:imports.bzl",
54    "java_gapic_assembly_gradle_pkg",
55    "java_gapic_library",
56    "java_gapic_test",
57    "java_grpc_library",
58    "java_proto_library",
59)
60
61java_proto_library(
62    name = "contactcenterinsights_java_proto",
63    deps = [":contactcenterinsights_proto"],
64)
65
66java_grpc_library(
67    name = "contactcenterinsights_java_grpc",
68    srcs = [":contactcenterinsights_proto"],
69    deps = [":contactcenterinsights_java_proto"],
70)
71
72java_gapic_library(
73    name = "contactcenterinsights_java_gapic",
74    srcs = [":contactcenterinsights_proto_with_info"],
75    grpc_service_config = "contactcenterinsights_grpc_service_config.json",
76    rest_numeric_enums = True,
77    service_yaml = "contactcenterinsights_v1.yaml",
78    test_deps = [
79        ":contactcenterinsights_java_grpc",
80    ],
81    transport = "grpc+rest",
82    deps = [
83        ":contactcenterinsights_java_proto",
84        "//google/api:api_java_proto",
85    ],
86)
87
88java_gapic_test(
89    name = "contactcenterinsights_java_gapic_test_suite",
90    test_classes = [
91        "com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClientHttpJsonTest",
92        "com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClientTest",
93    ],
94    runtime_deps = [":contactcenterinsights_java_gapic_test"],
95)
96
97# Open Source Packages
98java_gapic_assembly_gradle_pkg(
99    name = "google-cloud-contactcenterinsights-v1-java",
100    include_samples = True,
101    transport = "grpc+rest",
102    deps = [
103        ":contactcenterinsights_java_gapic",
104        ":contactcenterinsights_java_grpc",
105        ":contactcenterinsights_java_proto",
106        ":contactcenterinsights_proto",
107    ],
108)
109
110##############################################################################
111# Go
112##############################################################################
113load(
114    "@com_google_googleapis_imports//:imports.bzl",
115    "go_gapic_assembly_pkg",
116    "go_gapic_library",
117    "go_proto_library",
118)
119
120go_proto_library(
121    name = "contactcenterinsights_go_proto",
122    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
123    importpath = "cloud.google.com/go/contactcenterinsights/apiv1/contactcenterinsightspb",
124    protos = [":contactcenterinsights_proto"],
125    deps = [
126        "//google/api:annotations_go_proto",
127        "//google/longrunning:longrunning_go_proto",
128        "//google/rpc:status_go_proto",
129    ],
130)
131
132go_gapic_library(
133    name = "contactcenterinsights_go_gapic",
134    srcs = [":contactcenterinsights_proto_with_info"],
135    grpc_service_config = "contactcenterinsights_grpc_service_config.json",
136    importpath = "cloud.google.com/go/contactcenterinsights/apiv1;contactcenterinsights",
137    metadata = True,
138    release_level = "ga",
139    rest_numeric_enums = True,
140    service_yaml = "contactcenterinsights_v1.yaml",
141    transport = "grpc+rest",
142    deps = [
143        ":contactcenterinsights_go_proto",
144        "//google/longrunning:longrunning_go_proto",
145        "@com_google_cloud_go_longrunning//:go_default_library",
146        "@com_google_cloud_go_longrunning//autogen:go_default_library",
147        "@io_bazel_rules_go//proto/wkt:duration_go_proto",
148    ],
149)
150
151# Open Source Packages
152go_gapic_assembly_pkg(
153    name = "gapi-cloud-contactcenterinsights-v1-go",
154    deps = [
155        ":contactcenterinsights_go_gapic",
156        ":contactcenterinsights_go_gapic_srcjar-metadata.srcjar",
157        ":contactcenterinsights_go_gapic_srcjar-snippets.srcjar",
158        ":contactcenterinsights_go_gapic_srcjar-test.srcjar",
159        ":contactcenterinsights_go_proto",
160    ],
161)
162
163##############################################################################
164# Python
165##############################################################################
166load(
167    "@com_google_googleapis_imports//:imports.bzl",
168    "py_gapic_assembly_pkg",
169    "py_gapic_library",
170    "py_test",
171)
172
173py_gapic_library(
174    name = "contactcenterinsights_py_gapic",
175    srcs = [":contactcenterinsights_proto"],
176    grpc_service_config = "contactcenterinsights_grpc_service_config.json",
177    opt_args = [
178        "warehouse-package-name=google-cloud-contact-center-insights",
179        "python-gapic-namespace=google.cloud",
180        "python-gapic-name=contact_center_insights",
181    ],
182    rest_numeric_enums = True,
183    service_yaml = "contactcenterinsights_v1.yaml",
184    transport = "grpc+rest",
185)
186
187py_test(
188    name = "contactcenterinsights_py_gapic_test",
189    srcs = [
190        "contactcenterinsights_py_gapic_pytest.py",
191        "contactcenterinsights_py_gapic_test.py",
192    ],
193    legacy_create_init = False,
194    deps = [":contactcenterinsights_py_gapic"],
195)
196
197# Open Source Packages
198py_gapic_assembly_pkg(
199    name = "contactcenterinsights-v1-py",
200    deps = [
201        ":contactcenterinsights_py_gapic",
202    ],
203)
204
205##############################################################################
206# PHP
207##############################################################################
208load(
209    "@com_google_googleapis_imports//:imports.bzl",
210    "php_gapic_assembly_pkg",
211    "php_gapic_library",
212    "php_proto_library",
213)
214
215php_proto_library(
216    name = "contactcenterinsights_php_proto",
217    deps = [":contactcenterinsights_proto"],
218)
219
220php_gapic_library(
221    name = "contactcenterinsights_php_gapic",
222    srcs = [":contactcenterinsights_proto_with_info"],
223    grpc_service_config = "contactcenterinsights_grpc_service_config.json",
224    migration_mode = "MIGRATING",
225    rest_numeric_enums = True,
226    service_yaml = "contactcenterinsights_v1.yaml",
227    transport = "grpc+rest",
228    deps = [":contactcenterinsights_php_proto"],
229)
230
231# Open Source Packages
232php_gapic_assembly_pkg(
233    name = "google-cloud-contactcenterinsights-v1-php",
234    deps = [
235        ":contactcenterinsights_php_gapic",
236        ":contactcenterinsights_php_proto",
237    ],
238)
239
240##############################################################################
241# Node.js
242##############################################################################
243load(
244    "@com_google_googleapis_imports//:imports.bzl",
245    "nodejs_gapic_assembly_pkg",
246    "nodejs_gapic_library",
247)
248
249nodejs_gapic_library(
250    name = "contactcenterinsights_nodejs_gapic",
251    package_name = "@google-cloud/contact-center-insights",
252    src = ":contactcenterinsights_proto_with_info",
253    extra_protoc_parameters = ["metadata"],
254    grpc_service_config = "contactcenterinsights_grpc_service_config.json",
255    package = "google.cloud.contactcenterinsights.v1",
256    rest_numeric_enums = True,
257    service_yaml = "contactcenterinsights_v1.yaml",
258    transport = "grpc+rest",
259    deps = [],
260)
261
262nodejs_gapic_assembly_pkg(
263    name = "contactcenterinsights-v1-nodejs",
264    deps = [
265        ":contactcenterinsights_nodejs_gapic",
266        ":contactcenterinsights_proto",
267    ],
268)
269
270##############################################################################
271# Ruby
272##############################################################################
273load(
274    "@com_google_googleapis_imports//:imports.bzl",
275    "ruby_cloud_gapic_library",
276    "ruby_gapic_assembly_pkg",
277    "ruby_grpc_library",
278    "ruby_proto_library",
279)
280
281ruby_proto_library(
282    name = "contactcenterinsights_ruby_proto",
283    deps = [":contactcenterinsights_proto"],
284)
285
286ruby_grpc_library(
287    name = "contactcenterinsights_ruby_grpc",
288    srcs = [":contactcenterinsights_proto"],
289    deps = [":contactcenterinsights_ruby_proto"],
290)
291
292ruby_cloud_gapic_library(
293    name = "contactcenterinsights_ruby_gapic",
294    srcs = [":contactcenterinsights_proto_with_info"],
295    extra_protoc_parameters = [
296        "ruby-cloud-gem-name=google-cloud-contact_center_insights-v1",
297        "ruby-cloud-product-url=https://cloud.google.com/contact-center/insights/docs",
298        "ruby-cloud-api-id=contactcenterinsights.googleapis.com",
299        "ruby-cloud-api-shortname=contactcenterinsights",
300    ],
301    grpc_service_config = "contactcenterinsights_grpc_service_config.json",
302    rest_numeric_enums = True,
303    ruby_cloud_description = "Contact Center AI Insights helps users detect and visualize patterns in their contact center data. Understanding conversational data drives business value, improves operational efficiency, and provides a voice for customer feedback.",
304    ruby_cloud_title = "Contact Center AI Insights V1",
305    service_yaml = "contactcenterinsights_v1.yaml",
306    transport = "grpc+rest",
307    deps = [
308        ":contactcenterinsights_ruby_grpc",
309        ":contactcenterinsights_ruby_proto",
310    ],
311)
312
313# Open Source Packages
314ruby_gapic_assembly_pkg(
315    name = "google-cloud-contactcenterinsights-v1-ruby",
316    deps = [
317        ":contactcenterinsights_ruby_gapic",
318        ":contactcenterinsights_ruby_grpc",
319        ":contactcenterinsights_ruby_proto",
320    ],
321)
322
323##############################################################################
324# C#
325##############################################################################
326load(
327    "@com_google_googleapis_imports//:imports.bzl",
328    "csharp_gapic_assembly_pkg",
329    "csharp_gapic_library",
330    "csharp_grpc_library",
331    "csharp_proto_library",
332)
333
334csharp_proto_library(
335    name = "contactcenterinsights_csharp_proto",
336    deps = [":contactcenterinsights_proto"],
337)
338
339csharp_grpc_library(
340    name = "contactcenterinsights_csharp_grpc",
341    srcs = [":contactcenterinsights_proto"],
342    deps = [":contactcenterinsights_csharp_proto"],
343)
344
345csharp_gapic_library(
346    name = "contactcenterinsights_csharp_gapic",
347    srcs = [":contactcenterinsights_proto_with_info"],
348    common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
349    grpc_service_config = "contactcenterinsights_grpc_service_config.json",
350    rest_numeric_enums = True,
351    service_yaml = "contactcenterinsights_v1.yaml",
352    transport = "grpc+rest",
353    deps = [
354        ":contactcenterinsights_csharp_grpc",
355        ":contactcenterinsights_csharp_proto",
356    ],
357)
358
359# Open Source Packages
360csharp_gapic_assembly_pkg(
361    name = "google-cloud-contactcenterinsights-v1-csharp",
362    deps = [
363        ":contactcenterinsights_csharp_gapic",
364        ":contactcenterinsights_csharp_grpc",
365        ":contactcenterinsights_csharp_proto",
366    ],
367)
368
369##############################################################################
370# C++
371##############################################################################
372load(
373    "@com_google_googleapis_imports//:imports.bzl",
374    "cc_grpc_library",
375    "cc_proto_library",
376)
377
378cc_proto_library(
379    name = "contactcenterinsights_cc_proto",
380    deps = [":contactcenterinsights_proto"],
381)
382
383cc_grpc_library(
384    name = "contactcenterinsights_cc_grpc",
385    srcs = [":contactcenterinsights_proto"],
386    grpc_only = True,
387    deps = [":contactcenterinsights_cc_proto"],
388)
389