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 = "cloudquotas_proto", 23 srcs = [ 24 "cloudquotas.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 "@com_google_protobuf//:field_mask_proto", 33 "@com_google_protobuf//:timestamp_proto", 34 "@com_google_protobuf//:wrappers_proto", 35 ], 36) 37 38proto_library_with_info( 39 name = "cloudquotas_proto_with_info", 40 deps = [ 41 ":cloudquotas_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 = "cloudquotas_java_proto", 59 deps = [":cloudquotas_proto"], 60) 61 62java_grpc_library( 63 name = "cloudquotas_java_grpc", 64 srcs = [":cloudquotas_proto"], 65 deps = [":cloudquotas_java_proto"], 66) 67 68java_gapic_library( 69 name = "cloudquotas_java_gapic", 70 srcs = [":cloudquotas_proto_with_info"], 71 gapic_yaml = None, 72 grpc_service_config = "cloudquotas_v1_grpc_service_config.json", 73 rest_numeric_enums = True, 74 service_yaml = "cloudquotas_v1.yaml", 75 test_deps = [ 76 ":cloudquotas_java_grpc", 77 ], 78 transport = "grpc+rest", 79 deps = [ 80 ":cloudquotas_java_proto", 81 "//google/api:api_java_proto", 82 ], 83) 84 85java_gapic_test( 86 name = "cloudquotas_java_gapic_test_suite", 87 test_classes = [ 88 "com.google.api.cloudquotas.v1.CloudQuotasClientHttpJsonTest", 89 "com.google.api.cloudquotas.v1.CloudQuotasClientTest", 90 ], 91 runtime_deps = [":cloudquotas_java_gapic_test"], 92) 93 94# Open Source Packages 95java_gapic_assembly_gradle_pkg( 96 name = "google-cloud-api-cloudquotas-v1-java", 97 transport = "grpc+rest", 98 deps = [ 99 ":cloudquotas_java_gapic", 100 ":cloudquotas_java_grpc", 101 ":cloudquotas_java_proto", 102 ":cloudquotas_proto", 103 ], 104 include_samples = True, 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 = "cloudquotas_go_proto", 119 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 120 importpath = "cloud.google.com/go/cloudquotas/apiv1/cloudquotaspb", 121 protos = [":cloudquotas_proto"], 122 deps = [ 123 "//google/api:annotations_go_proto", 124 ], 125) 126 127go_gapic_library( 128 name = "cloudquotas_go_gapic", 129 srcs = [":cloudquotas_proto_with_info"], 130 grpc_service_config = "cloudquotas_v1_grpc_service_config.json", 131 importpath = "cloud.google.com/go/cloudquotas/apiv1;cloudquotas", 132 metadata = True, 133 release_level = "beta", 134 rest_numeric_enums = True, 135 service_yaml = "cloudquotas_v1.yaml", 136 transport = "grpc+rest", 137 deps = [ 138 ":cloudquotas_go_proto", 139 ], 140) 141 142# Open Source Packages 143go_gapic_assembly_pkg( 144 name = "gapi-cloud-api-cloudquotas-v1-go", 145 deps = [ 146 ":cloudquotas_go_gapic", 147 ":cloudquotas_go_gapic_srcjar-test.srcjar", 148 ":cloudquotas_go_gapic_srcjar-metadata.srcjar", 149 ":cloudquotas_go_gapic_srcjar-snippets.srcjar", 150 ":cloudquotas_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 = "cloudquotas_py_gapic", 166 srcs = [":cloudquotas_proto"], 167 grpc_service_config = "cloudquotas_v1_grpc_service_config.json", 168 rest_numeric_enums = True, 169 service_yaml = "cloudquotas_v1.yaml", 170 transport = "grpc+rest", 171 deps = [], 172 opt_args = [ 173 "python-gapic-namespace=google.cloud", 174 "warehouse-package-name=google-cloud-quotas", 175 ], 176) 177 178py_test( 179 name = "cloudquotas_py_gapic_test", 180 srcs = [ 181 "cloudquotas_py_gapic_pytest.py", 182 "cloudquotas_py_gapic_test.py", 183 ], 184 legacy_create_init = False, 185 deps = [":cloudquotas_py_gapic"], 186) 187 188# Open Source Packages 189py_gapic_assembly_pkg( 190 name = "api-cloudquotas-v1-py", 191 deps = [ 192 ":cloudquotas_py_gapic", 193 ], 194) 195 196############################################################################## 197# PHP 198############################################################################## 199load( 200 "@com_google_googleapis_imports//:imports.bzl", 201 "php_gapic_assembly_pkg", 202 "php_gapic_library", 203 "php_proto_library", 204) 205 206php_proto_library( 207 name = "cloudquotas_php_proto", 208 deps = [":cloudquotas_proto"], 209) 210 211php_gapic_library( 212 name = "cloudquotas_php_gapic", 213 srcs = [":cloudquotas_proto_with_info"], 214 grpc_service_config = "cloudquotas_v1_grpc_service_config.json", 215 rest_numeric_enums = True, 216 migration_mode = "NEW_SURFACE_ONLY", 217 service_yaml = "cloudquotas_v1.yaml", 218 transport = "grpc+rest", 219 deps = [ 220 ":cloudquotas_php_proto", 221 ], 222) 223 224# Open Source Packages 225php_gapic_assembly_pkg( 226 name = "google-cloud-api-cloudquotas-v1-php", 227 deps = [ 228 ":cloudquotas_php_gapic", 229 ":cloudquotas_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 = "cloudquotas_nodejs_gapic", 244 package_name = "@google-cloud/cloudquotas", 245 src = ":cloudquotas_proto_with_info", 246 extra_protoc_parameters = ["metadata"], 247 grpc_service_config = "cloudquotas_v1_grpc_service_config.json", 248 package = "google.api.cloudquotas.v1", 249 rest_numeric_enums = True, 250 service_yaml = "cloudquotas_v1.yaml", 251 transport = "grpc+rest", 252 deps = [], 253) 254 255nodejs_gapic_assembly_pkg( 256 name = "api-cloudquotas-v1-nodejs", 257 deps = [ 258 ":cloudquotas_nodejs_gapic", 259 ":cloudquotas_proto", 260 ], 261) 262 263############################################################################## 264# Ruby 265############################################################################## 266load( 267 "@com_google_googleapis_imports//:imports.bzl", 268 "ruby_gapic_assembly_pkg", 269 "ruby_cloud_gapic_library", 270 "ruby_grpc_library", 271 "ruby_proto_library", 272) 273 274ruby_proto_library( 275 name = "cloudquotas_ruby_proto", 276 deps = [":cloudquotas_proto"], 277) 278 279ruby_grpc_library( 280 name = "cloudquotas_ruby_grpc", 281 srcs = [":cloudquotas_proto"], 282 deps = [":cloudquotas_ruby_proto"], 283) 284 285ruby_cloud_gapic_library( 286 name = "cloudquotas_ruby_gapic", 287 srcs = [":cloudquotas_proto_with_info"], 288 extra_protoc_parameters = [ 289 "ruby-cloud-gem-name=google-cloud-cloud_quotas-v1", 290 ], 291 grpc_service_config = "cloudquotas_v1_grpc_service_config.json", 292 rest_numeric_enums = True, 293 service_yaml = "cloudquotas_v1.yaml", 294 transport = "grpc+rest", 295 deps = [ 296 ":cloudquotas_ruby_grpc", 297 ":cloudquotas_ruby_proto", 298 ], 299) 300 301# Open Source Packages 302ruby_gapic_assembly_pkg( 303 name = "google-cloud-cloudquotas-v1-ruby", 304 deps = [ 305 ":cloudquotas_ruby_gapic", 306 ":cloudquotas_ruby_grpc", 307 ":cloudquotas_ruby_proto", 308 ], 309) 310 311############################################################################## 312# C# 313############################################################################## 314load( 315 "@com_google_googleapis_imports//:imports.bzl", 316 "csharp_gapic_assembly_pkg", 317 "csharp_gapic_library", 318 "csharp_grpc_library", 319 "csharp_proto_library", 320) 321 322csharp_proto_library( 323 name = "cloudquotas_csharp_proto", 324 extra_opts = [], 325 deps = [":cloudquotas_proto"], 326) 327 328csharp_grpc_library( 329 name = "cloudquotas_csharp_grpc", 330 srcs = [":cloudquotas_proto"], 331 deps = [":cloudquotas_csharp_proto"], 332) 333 334csharp_gapic_library( 335 name = "cloudquotas_csharp_gapic", 336 srcs = [":cloudquotas_proto_with_info"], 337 grpc_service_config = "cloudquotas_v1_grpc_service_config.json", 338 rest_numeric_enums = True, 339 service_yaml = "cloudquotas_v1.yaml", 340 deps = [ 341 ":cloudquotas_csharp_grpc", 342 ":cloudquotas_csharp_proto", 343 ], 344) 345 346# Open Source Packages 347csharp_gapic_assembly_pkg( 348 name = "google-cloud-api-cloudquotas-v1-csharp", 349 deps = [ 350 ":cloudquotas_csharp_gapic", 351 ":cloudquotas_csharp_grpc", 352 ":cloudquotas_csharp_proto", 353 ], 354) 355 356############################################################################## 357# C++ 358############################################################################## 359load( 360 "@com_google_googleapis_imports//:imports.bzl", 361 "cc_grpc_library", 362 "cc_proto_library", 363) 364 365cc_proto_library( 366 name = "cloudquotas_cc_proto", 367 deps = [":cloudquotas_proto"], 368) 369 370cc_grpc_library( 371 name = "cloudquotas_cc_grpc", 372 srcs = [":cloudquotas_proto"], 373 grpc_only = True, 374 deps = [":cloudquotas_cc_proto"], 375) 376