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 = "telcoautomation_proto", 23 srcs = [ 24 "telcoautomation.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 "//google/longrunning:operations_proto", 32 "@com_google_protobuf//:empty_proto", 33 "@com_google_protobuf//:field_mask_proto", 34 "@com_google_protobuf//:timestamp_proto", 35 ], 36) 37 38proto_library_with_info( 39 name = "telcoautomation_proto_with_info", 40 deps = [ 41 ":telcoautomation_proto", 42 "//google/cloud/location:location_proto", 43 "//google/cloud:common_resources_proto", 44 ], 45) 46 47############################################################################## 48# Java 49############################################################################## 50load( 51 "@com_google_googleapis_imports//:imports.bzl", 52 "java_gapic_assembly_gradle_pkg", 53 "java_gapic_library", 54 "java_gapic_test", 55 "java_grpc_library", 56 "java_proto_library", 57) 58 59java_proto_library( 60 name = "telcoautomation_java_proto", 61 deps = [":telcoautomation_proto"], 62) 63 64java_grpc_library( 65 name = "telcoautomation_java_grpc", 66 srcs = [":telcoautomation_proto"], 67 deps = [":telcoautomation_java_proto"], 68) 69 70java_gapic_library( 71 name = "telcoautomation_java_gapic", 72 srcs = [":telcoautomation_proto_with_info"], 73 gapic_yaml = None, 74 grpc_service_config = "telcoautomation_v1_grpc_service_config.json", 75 rest_numeric_enums = True, 76 service_yaml = "telcoautomation_v1.yaml", 77 test_deps = [ 78 "//google/cloud/location:location_java_grpc", 79 ":telcoautomation_java_grpc", 80 ], 81 transport = "grpc+rest", 82 deps = [ 83 ":telcoautomation_java_proto", 84 "//google/api:api_java_proto", 85 "//google/cloud/location:location_java_proto", 86 ], 87) 88 89java_gapic_test( 90 name = "telcoautomation_java_gapic_test_suite", 91 test_classes = [ 92 "com.google.cloud.telcoautomation.v1.TelcoAutomationClientHttpJsonTest", 93 "com.google.cloud.telcoautomation.v1.TelcoAutomationClientTest", 94 ], 95 runtime_deps = [":telcoautomation_java_gapic_test"], 96) 97 98# Open Source Packages 99java_gapic_assembly_gradle_pkg( 100 name = "google-cloud-telcoautomation-v1-java", 101 transport = "grpc+rest", 102 deps = [ 103 ":telcoautomation_java_gapic", 104 ":telcoautomation_java_grpc", 105 ":telcoautomation_java_proto", 106 ":telcoautomation_proto", 107 ], 108 include_samples = True, 109) 110 111############################################################################## 112# Go 113############################################################################## 114load( 115 "@com_google_googleapis_imports//:imports.bzl", 116 "go_gapic_assembly_pkg", 117 "go_gapic_library", 118 "go_proto_library", 119) 120 121go_proto_library( 122 name = "telcoautomation_go_proto", 123 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 124 importpath = "cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb", 125 protos = [":telcoautomation_proto"], 126 deps = [ 127 "//google/api:annotations_go_proto", 128 "//google/longrunning:longrunning_go_proto", 129 ], 130) 131 132go_gapic_library( 133 name = "telcoautomation_go_gapic", 134 srcs = [":telcoautomation_proto_with_info"], 135 grpc_service_config = "telcoautomation_v1_grpc_service_config.json", 136 importpath = "cloud.google.com/go/telcoautomation/apiv1;telcoautomation", 137 metadata = True, 138 release_level = "beta", 139 rest_numeric_enums = True, 140 service_yaml = "telcoautomation_v1.yaml", 141 transport = "grpc+rest", 142 deps = [ 143 ":telcoautomation_go_proto", 144 "//google/cloud/location:location_go_proto", 145 "//google/longrunning:longrunning_go_proto", 146 "@com_google_cloud_go_longrunning//:go_default_library", 147 "@com_google_cloud_go_longrunning//autogen:go_default_library", 148 ], 149) 150 151# Open Source Packages 152go_gapic_assembly_pkg( 153 name = "gapi-cloud-telcoautomation-v1-go", 154 deps = [ 155 ":telcoautomation_go_gapic", 156 ":telcoautomation_go_gapic_srcjar-test.srcjar", 157 ":telcoautomation_go_gapic_srcjar-metadata.srcjar", 158 ":telcoautomation_go_gapic_srcjar-snippets.srcjar", 159 ":telcoautomation_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 = "telcoautomation_py_gapic", 175 srcs = [":telcoautomation_proto"], 176 grpc_service_config = "telcoautomation_v1_grpc_service_config.json", 177 rest_numeric_enums = True, 178 service_yaml = "telcoautomation_v1.yaml", 179 transport = "grpc+rest", 180 deps = [ 181 182 ], 183) 184 185py_test( 186 name = "telcoautomation_py_gapic_test", 187 srcs = [ 188 "telcoautomation_py_gapic_pytest.py", 189 "telcoautomation_py_gapic_test.py", 190 ], 191 legacy_create_init = False, 192 deps = [":telcoautomation_py_gapic"], 193) 194 195# Open Source Packages 196py_gapic_assembly_pkg( 197 name = "telcoautomation-v1-py", 198 deps = [ 199 ":telcoautomation_py_gapic", 200 ], 201) 202 203############################################################################## 204# PHP 205############################################################################## 206load( 207 "@com_google_googleapis_imports//:imports.bzl", 208 "php_gapic_assembly_pkg", 209 "php_gapic_library", 210 "php_proto_library", 211) 212 213php_proto_library( 214 name = "telcoautomation_php_proto", 215 deps = [":telcoautomation_proto"], 216) 217 218php_gapic_library( 219 name = "telcoautomation_php_gapic", 220 srcs = [":telcoautomation_proto_with_info"], 221 grpc_service_config = "telcoautomation_v1_grpc_service_config.json", 222 rest_numeric_enums = True, 223 migration_mode = "NEW_SURFACE_ONLY", 224 service_yaml = "telcoautomation_v1.yaml", 225 transport = "grpc+rest", 226 deps = [ 227 ":telcoautomation_php_proto", 228 ], 229) 230 231# Open Source Packages 232php_gapic_assembly_pkg( 233 name = "google-cloud-telcoautomation-v1-php", 234 deps = [ 235 ":telcoautomation_php_gapic", 236 ":telcoautomation_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 = "telcoautomation_nodejs_gapic", 251 package_name = "@google-cloud/telcoautomation", 252 src = ":telcoautomation_proto_with_info", 253 extra_protoc_parameters = ["metadata"], 254 grpc_service_config = "telcoautomation_v1_grpc_service_config.json", 255 package = "google.cloud.telcoautomation.v1", 256 rest_numeric_enums = True, 257 service_yaml = "telcoautomation_v1.yaml", 258 transport = "grpc+rest", 259 deps = [], 260) 261 262nodejs_gapic_assembly_pkg( 263 name = "telcoautomation-v1-nodejs", 264 deps = [ 265 ":telcoautomation_nodejs_gapic", 266 ":telcoautomation_proto", 267 ], 268) 269 270############################################################################## 271# Ruby 272############################################################################## 273load( 274 "@com_google_googleapis_imports//:imports.bzl", 275 "ruby_gapic_assembly_pkg", 276 "ruby_cloud_gapic_library", 277 "ruby_grpc_library", 278 "ruby_proto_library", 279) 280 281ruby_proto_library( 282 name = "telcoautomation_ruby_proto", 283 deps = [":telcoautomation_proto"], 284) 285 286ruby_grpc_library( 287 name = "telcoautomation_ruby_grpc", 288 srcs = [":telcoautomation_proto"], 289 deps = [":telcoautomation_ruby_proto"], 290) 291 292ruby_cloud_gapic_library( 293 name = "telcoautomation_ruby_gapic", 294 srcs = [":telcoautomation_proto_with_info"], 295 extra_protoc_parameters = [ 296 "ruby-cloud-gem-name=google-cloud-telco_automation-v1", 297 ], 298 grpc_service_config = "telcoautomation_v1_grpc_service_config.json", 299 rest_numeric_enums = True, 300 service_yaml = "telcoautomation_v1.yaml", 301 transport = "grpc+rest", 302 deps = [ 303 ":telcoautomation_ruby_grpc", 304 ":telcoautomation_ruby_proto", 305 ], 306) 307 308# Open Source Packages 309ruby_gapic_assembly_pkg( 310 name = "google-cloud-telcoautomation-v1-ruby", 311 deps = [ 312 ":telcoautomation_ruby_gapic", 313 ":telcoautomation_ruby_grpc", 314 ":telcoautomation_ruby_proto", 315 ], 316) 317 318############################################################################## 319# C# 320############################################################################## 321load( 322 "@com_google_googleapis_imports//:imports.bzl", 323 "csharp_gapic_assembly_pkg", 324 "csharp_gapic_library", 325 "csharp_grpc_library", 326 "csharp_proto_library", 327) 328 329csharp_proto_library( 330 name = "telcoautomation_csharp_proto", 331 extra_opts = [], 332 deps = [":telcoautomation_proto"], 333) 334 335csharp_grpc_library( 336 name = "telcoautomation_csharp_grpc", 337 srcs = [":telcoautomation_proto"], 338 deps = [":telcoautomation_csharp_proto"], 339) 340 341csharp_gapic_library( 342 name = "telcoautomation_csharp_gapic", 343 srcs = [":telcoautomation_proto_with_info"], 344 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 345 grpc_service_config = "telcoautomation_v1_grpc_service_config.json", 346 rest_numeric_enums = True, 347 service_yaml = "telcoautomation_v1.yaml", 348 deps = [ 349 ":telcoautomation_csharp_grpc", 350 ":telcoautomation_csharp_proto", 351 ], 352) 353 354# Open Source Packages 355csharp_gapic_assembly_pkg( 356 name = "google-cloud-telcoautomation-v1-csharp", 357 deps = [ 358 ":telcoautomation_csharp_gapic", 359 ":telcoautomation_csharp_grpc", 360 ":telcoautomation_csharp_proto", 361 ], 362) 363 364############################################################################## 365# C++ 366############################################################################## 367load( 368 "@com_google_googleapis_imports//:imports.bzl", 369 "cc_grpc_library", 370 "cc_proto_library", 371) 372 373cc_proto_library( 374 name = "telcoautomation_cc_proto", 375 deps = [":telcoautomation_proto"], 376) 377 378cc_grpc_library( 379 name = "telcoautomation_cc_grpc", 380 srcs = [":telcoautomation_proto"], 381 grpc_only = True, 382 deps = [":telcoautomation_cc_proto"], 383) 384