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 = "texttospeech_proto", 23 srcs = [ 24 "cloud_tts.proto", 25 "cloud_tts_lrs.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 "@com_google_protobuf//:timestamp_proto", 34 ], 35) 36 37proto_library_with_info( 38 name = "texttospeech_proto_with_info", 39 deps = [ 40 ":texttospeech_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 = "texttospeech_java_proto", 59 deps = [":texttospeech_proto"], 60) 61 62java_grpc_library( 63 name = "texttospeech_java_grpc", 64 srcs = [":texttospeech_proto"], 65 deps = [":texttospeech_java_proto"], 66) 67 68java_gapic_library( 69 name = "texttospeech_java_gapic", 70 srcs = [":texttospeech_proto_with_info"], 71 gapic_yaml = None, 72 grpc_service_config = "texttospeech_grpc_service_config.json", 73 rest_numeric_enums = True, 74 service_yaml = "texttospeech_v1beta1.yaml", 75 test_deps = [ 76 ":texttospeech_java_grpc", 77 ], 78 transport = "grpc+rest", 79 deps = [ 80 ":texttospeech_java_proto", 81 "//google/api:api_java_proto", 82 ], 83) 84 85java_gapic_test( 86 name = "texttospeech_java_gapic_test_suite", 87 test_classes = [ 88 "com.google.cloud.texttospeech.v1beta1.TextToSpeechClientHttpJsonTest", 89 "com.google.cloud.texttospeech.v1beta1.TextToSpeechClientTest", 90 "com.google.cloud.texttospeech.v1beta1.TextToSpeechLongAudioSynthesizeClientHttpJsonTest", 91 "com.google.cloud.texttospeech.v1beta1.TextToSpeechLongAudioSynthesizeClientTest", 92 ], 93 runtime_deps = [":texttospeech_java_gapic_test"], 94) 95 96# Open Source Packages 97java_gapic_assembly_gradle_pkg( 98 name = "google-cloud-texttospeech-v1beta1-java", 99 include_samples = True, 100 transport = "grpc+rest", 101 deps = [ 102 ":texttospeech_java_gapic", 103 ":texttospeech_java_grpc", 104 ":texttospeech_java_proto", 105 ":texttospeech_proto", 106 ], 107) 108 109############################################################################## 110# Go 111############################################################################## 112load( 113 "@com_google_googleapis_imports//:imports.bzl", 114 "go_gapic_assembly_pkg", 115 "go_gapic_library", 116 "go_proto_library", 117) 118 119go_proto_library( 120 name = "texttospeech_go_proto", 121 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 122 importpath = "cloud.google.com/go/texttospeech/apiv1beta1/texttospeechpb", 123 protos = [":texttospeech_proto"], 124 deps = [ 125 "//google/api:annotations_go_proto", 126 "//google/longrunning:longrunning_go_proto", 127 ], 128) 129 130go_gapic_library( 131 name = "texttospeech_go_gapic", 132 srcs = [":texttospeech_proto_with_info"], 133 grpc_service_config = "texttospeech_grpc_service_config.json", 134 importpath = "cloud.google.com/go/texttospeech/apiv1beta1;texttospeech", 135 metadata = True, 136 release_level = "beta", 137 rest_numeric_enums = True, 138 service_yaml = "texttospeech_v1beta1.yaml", 139 transport = "grpc+rest", 140 deps = [ 141 ":texttospeech_go_proto", 142 "//google/longrunning:longrunning_go_proto", 143 "@com_google_cloud_go_longrunning//:go_default_library", 144 "@com_google_cloud_go_longrunning//autogen:go_default_library", 145 ], 146) 147 148# Open Source Packages 149go_gapic_assembly_pkg( 150 name = "gapi-cloud-texttospeech-v1beta1-go", 151 deps = [ 152 ":texttospeech_go_gapic", 153 ":texttospeech_go_gapic_srcjar-metadata.srcjar", 154 ":texttospeech_go_gapic_srcjar-snippets.srcjar", 155 ":texttospeech_go_gapic_srcjar-test.srcjar", 156 ":texttospeech_go_proto", 157 ], 158) 159 160############################################################################## 161# Python 162############################################################################## 163load( 164 "@com_google_googleapis_imports//:imports.bzl", 165 "py_gapic_assembly_pkg", 166 "py_gapic_library", 167 "py_test", 168) 169 170py_gapic_library( 171 name = "texttospeech_py_gapic", 172 srcs = [":texttospeech_proto"], 173 grpc_service_config = "texttospeech_grpc_service_config.json", 174 rest_numeric_enums = False, 175 service_yaml = "texttospeech_v1beta1.yaml", 176 transport = "grpc+rest", 177 deps = [ 178 ], 179) 180 181py_test( 182 name = "texttospeech_py_gapic_test", 183 srcs = [ 184 "texttospeech_py_gapic_pytest.py", 185 "texttospeech_py_gapic_test.py", 186 ], 187 legacy_create_init = False, 188 deps = [":texttospeech_py_gapic"], 189) 190 191# Open Source Packages 192py_gapic_assembly_pkg( 193 name = "texttospeech-v1beta1-py", 194 deps = [ 195 ":texttospeech_py_gapic", 196 ], 197) 198 199############################################################################## 200# PHP 201############################################################################## 202load( 203 "@com_google_googleapis_imports//:imports.bzl", 204 "php_gapic_assembly_pkg", 205 "php_gapic_library", 206 "php_proto_library", 207) 208 209php_proto_library( 210 name = "texttospeech_php_proto", 211 deps = [":texttospeech_proto"], 212) 213 214php_gapic_library( 215 name = "texttospeech_php_gapic", 216 srcs = [":texttospeech_proto_with_info"], 217 grpc_service_config = "texttospeech_grpc_service_config.json", 218 rest_numeric_enums = True, 219 service_yaml = "texttospeech_v1beta1.yaml", 220 transport = "grpc+rest", 221 deps = [":texttospeech_php_proto"], 222) 223 224# Open Source Packages 225php_gapic_assembly_pkg( 226 name = "google-cloud-texttospeech-v1beta1-php", 227 deps = [ 228 ":texttospeech_php_gapic", 229 ":texttospeech_php_proto", 230 ], 231) 232 233############################################################################## 234# Node.js 235############################################################################## 236load( 237 "@com_google_googleapis_imports//:imports.bzl", 238 "nodejs_gapic_assembly_pkg", 239 "nodejs_gapic_library", 240) 241 242nodejs_gapic_library( 243 name = "texttospeech_nodejs_gapic", 244 package_name = "@google-cloud/text-to-speech", 245 src = ":texttospeech_proto_with_info", 246 extra_protoc_parameters = ["metadata"], 247 grpc_service_config = "texttospeech_grpc_service_config.json", 248 package = "google.cloud.texttospeech.v1beta1", 249 rest_numeric_enums = True, 250 service_yaml = "texttospeech_v1beta1.yaml", 251 transport = "grpc+rest", 252 deps = [], 253) 254 255nodejs_gapic_assembly_pkg( 256 name = "texttospeech-v1beta1-nodejs", 257 deps = [ 258 ":texttospeech_nodejs_gapic", 259 ":texttospeech_proto", 260 ], 261) 262 263############################################################################## 264# Ruby 265############################################################################## 266load( 267 "@com_google_googleapis_imports//:imports.bzl", 268 "ruby_cloud_gapic_library", 269 "ruby_gapic_assembly_pkg", 270 "ruby_grpc_library", 271 "ruby_proto_library", 272) 273 274ruby_proto_library( 275 name = "texttospeech_ruby_proto", 276 deps = [":texttospeech_proto"], 277) 278 279ruby_grpc_library( 280 name = "texttospeech_ruby_grpc", 281 srcs = [":texttospeech_proto"], 282 deps = [":texttospeech_ruby_proto"], 283) 284 285ruby_cloud_gapic_library( 286 name = "texttospeech_ruby_gapic", 287 srcs = [":texttospeech_proto_with_info"], 288 extra_protoc_parameters = [ 289 "ruby-cloud-api-id=texttospeech.googleapis.com", 290 "ruby-cloud-api-shortname=texttospeech", 291 "ruby-cloud-env-prefix=TEXTTOSPEECH", 292 "ruby-cloud-gem-name=google-cloud-text_to_speech-v1beta1", 293 "ruby-cloud-product-url=https://cloud.google.com/text-to-speech", 294 ], 295 grpc_service_config = "texttospeech_grpc_service_config.json", 296 rest_numeric_enums = True, 297 ruby_cloud_description = "Text-to-Speech converts text or Speech Synthesis Markup Language (SSML) input into audio data of natural human speech.", 298 ruby_cloud_title = "Cloud Text-to-Speech V1beta1", 299 service_yaml = "texttospeech_v1beta1.yaml", 300 transport = "grpc+rest", 301 deps = [ 302 ":texttospeech_ruby_grpc", 303 ":texttospeech_ruby_proto", 304 ], 305) 306 307# Open Source Packages 308ruby_gapic_assembly_pkg( 309 name = "google-cloud-texttospeech-v1beta1-ruby", 310 deps = [ 311 ":texttospeech_ruby_gapic", 312 ":texttospeech_ruby_grpc", 313 ":texttospeech_ruby_proto", 314 ], 315) 316 317############################################################################## 318# C# 319############################################################################## 320load( 321 "@com_google_googleapis_imports//:imports.bzl", 322 "csharp_gapic_assembly_pkg", 323 "csharp_gapic_library", 324 "csharp_grpc_library", 325 "csharp_proto_library", 326) 327 328csharp_proto_library( 329 name = "texttospeech_csharp_proto", 330 deps = [":texttospeech_proto"], 331) 332 333csharp_grpc_library( 334 name = "texttospeech_csharp_grpc", 335 srcs = [":texttospeech_proto"], 336 deps = [":texttospeech_csharp_proto"], 337) 338 339csharp_gapic_library( 340 name = "texttospeech_csharp_gapic", 341 srcs = [":texttospeech_proto_with_info"], 342 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 343 grpc_service_config = "texttospeech_grpc_service_config.json", 344 rest_numeric_enums = True, 345 service_yaml = "texttospeech_v1beta1.yaml", 346 transport = "grpc+rest", 347 deps = [ 348 ":texttospeech_csharp_grpc", 349 ":texttospeech_csharp_proto", 350 ], 351) 352 353# Open Source Packages 354csharp_gapic_assembly_pkg( 355 name = "google-cloud-texttospeech-v1beta1-csharp", 356 deps = [ 357 ":texttospeech_csharp_gapic", 358 ":texttospeech_csharp_grpc", 359 ":texttospeech_csharp_proto", 360 ], 361) 362 363############################################################################## 364# C++ 365############################################################################## 366load( 367 "@com_google_googleapis_imports//:imports.bzl", 368 "cc_grpc_library", 369 "cc_proto_library", 370) 371 372cc_proto_library( 373 name = "texttospeech_cc_proto", 374 deps = [":texttospeech_proto"], 375) 376 377cc_grpc_library( 378 name = "texttospeech_cc_grpc", 379 srcs = [":texttospeech_proto"], 380 grpc_only = True, 381 deps = [":texttospeech_cc_proto"], 382) 383