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# buildifier: disable=load-on-top 13 14# This is an API workspace, having public visibility by default makes perfect sense. 15package(default_visibility = ["//visibility:public"]) 16 17############################################################################## 18# Common 19############################################################################## 20# buildifier: disable=same-origin-load 21load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") 22load("@rules_proto//proto:defs.bzl", "proto_library") 23 24proto_library( 25 name = "edgecontainer_proto", 26 srcs = [ 27 "resources.proto", 28 "service.proto", 29 ], 30 deps = [ 31 "//google/api:annotations_proto", 32 "//google/api:client_proto", 33 "//google/api:field_behavior_proto", 34 "//google/api:resource_proto", 35 "//google/longrunning:operations_proto", 36 "//google/rpc:status_proto", 37 "@com_google_protobuf//:duration_proto", 38 "@com_google_protobuf//:empty_proto", 39 "@com_google_protobuf//:field_mask_proto", 40 "@com_google_protobuf//:timestamp_proto", 41 ], 42) 43 44proto_library_with_info( 45 name = "edgecontainer_proto_with_info", 46 deps = [ 47 ":edgecontainer_proto", 48 "//google/cloud:common_resources_proto", 49 "//google/cloud/location:location_proto", 50 ], 51) 52 53############################################################################## 54# Java 55############################################################################## 56# buildifier: disable=same-origin-load 57load( 58 "@com_google_googleapis_imports//:imports.bzl", 59 "java_gapic_assembly_gradle_pkg", 60 "java_gapic_library", 61 "java_gapic_test", 62 "java_grpc_library", 63 "java_proto_library", 64) 65 66java_proto_library( 67 name = "edgecontainer_java_proto", 68 deps = [":edgecontainer_proto"], 69) 70 71java_grpc_library( 72 name = "edgecontainer_java_grpc", 73 srcs = [":edgecontainer_proto"], 74 deps = [":edgecontainer_java_proto"], 75) 76 77java_gapic_library( 78 name = "edgecontainer_java_gapic", 79 srcs = [":edgecontainer_proto_with_info"], 80 gapic_yaml = "edgecontainer_gapic.yaml", 81 grpc_service_config = "edgecontainer_grpc_service_config.json", 82 rest_numeric_enums = True, 83 service_yaml = "edgecontainer_v1.yaml", 84 test_deps = [ 85 ":edgecontainer_java_grpc", 86 "//google/cloud/location:location_java_grpc", 87 ], 88 transport = "grpc+rest", 89 deps = [ 90 ":edgecontainer_java_proto", 91 "//google/api:api_java_proto", 92 "//google/cloud/location:location_java_proto", 93 ], 94) 95 96java_gapic_test( 97 name = "edgecontainer_java_gapic_test_suite", 98 test_classes = [ 99 "com.google.cloud.edgecontainer.v1.EdgeContainerClientHttpJsonTest", 100 "com.google.cloud.edgecontainer.v1.EdgeContainerClientTest", 101 ], 102 runtime_deps = [":edgecontainer_java_gapic_test"], 103) 104 105# Open Source Packages 106java_gapic_assembly_gradle_pkg( 107 name = "google-cloud-edgecontainer-v1-java", 108 include_samples = True, 109 transport = "grpc+rest", 110 deps = [ 111 ":edgecontainer_java_gapic", 112 ":edgecontainer_java_grpc", 113 ":edgecontainer_java_proto", 114 ":edgecontainer_proto", 115 ], 116) 117 118############################################################################## 119# Go 120############################################################################## 121# buildifier: disable=same-origin-load 122load( 123 "@com_google_googleapis_imports//:imports.bzl", 124 "go_gapic_assembly_pkg", 125 "go_gapic_library", 126 "go_proto_library", 127) 128 129go_proto_library( 130 name = "edgecontainer_go_proto", 131 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 132 importpath = "cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb", 133 protos = [":edgecontainer_proto"], 134 deps = [ 135 "//google/api:annotations_go_proto", 136 "//google/longrunning:longrunning_go_proto", 137 "//google/rpc:status_go_proto", 138 ], 139) 140 141go_gapic_library( 142 name = "edgecontainer_go_gapic", 143 srcs = [":edgecontainer_proto_with_info"], 144 grpc_service_config = "edgecontainer_grpc_service_config.json", 145 importpath = "cloud.google.com/go/edgecontainer/apiv1;edgecontainer", 146 metadata = True, 147 release_level = "ga", 148 rest_numeric_enums = True, 149 service_yaml = "edgecontainer_v1.yaml", 150 transport = "grpc+rest", 151 deps = [ 152 ":edgecontainer_go_proto", 153 "//google/cloud/location:location_go_proto", 154 "//google/longrunning:longrunning_go_proto", 155 "@com_google_cloud_go_longrunning//:go_default_library", 156 "@com_google_cloud_go_longrunning//autogen:go_default_library", 157 "@io_bazel_rules_go//proto/wkt:duration_go_proto", 158 ], 159) 160 161# Open Source Packages 162go_gapic_assembly_pkg( 163 name = "gapi-cloud-edgecontainer-v1-go", 164 deps = [ 165 ":edgecontainer_go_gapic", 166 ":edgecontainer_go_gapic_srcjar-metadata.srcjar", 167 ":edgecontainer_go_gapic_srcjar-snippets.srcjar", 168 ":edgecontainer_go_gapic_srcjar-test.srcjar", 169 ":edgecontainer_go_proto", 170 ], 171) 172 173############################################################################## 174# Python 175############################################################################## 176# buildifier: disable=same-origin-load 177load( 178 "@com_google_googleapis_imports//:imports.bzl", 179 "py_gapic_assembly_pkg", 180 "py_gapic_library", 181 "py_test", 182) 183 184py_gapic_library( 185 name = "edgecontainer_py_gapic", 186 srcs = [":edgecontainer_proto"], 187 grpc_service_config = "edgecontainer_grpc_service_config.json", 188 rest_numeric_enums = True, 189 service_yaml = "edgecontainer_v1.yaml", 190 transport = "grpc+rest", 191 deps = [ 192 ], 193) 194 195py_test( 196 name = "edgecontainer_py_gapic_test", 197 srcs = [ 198 "edgecontainer_py_gapic_pytest.py", 199 "edgecontainer_py_gapic_test.py", 200 ], 201 legacy_create_init = False, 202 deps = [":edgecontainer_py_gapic"], 203) 204 205# Open Source Packages 206py_gapic_assembly_pkg( 207 name = "edgecontainer-v1-py", 208 deps = [ 209 ":edgecontainer_py_gapic", 210 ], 211) 212 213############################################################################## 214# PHP 215############################################################################## 216# buildifier: disable=same-origin-load 217load( 218 "@com_google_googleapis_imports//:imports.bzl", 219 "php_gapic_assembly_pkg", 220 "php_gapic_library", 221 "php_proto_library", 222) 223 224php_proto_library( 225 name = "edgecontainer_php_proto", 226 deps = [":edgecontainer_proto"], 227) 228 229php_gapic_library( 230 name = "edgecontainer_php_gapic", 231 srcs = [":edgecontainer_proto_with_info"], 232 grpc_service_config = "edgecontainer_grpc_service_config.json", 233 migration_mode = "PRE_MIGRATION_SURFACE_ONLY", 234 rest_numeric_enums = True, 235 service_yaml = "edgecontainer_v1.yaml", 236 transport = "grpc+rest", 237 gapic_yaml = "edgecontainer_gapic.yaml", 238 deps = [ 239 ":edgecontainer_php_proto", 240 ], 241) 242 243# Open Source Packages 244php_gapic_assembly_pkg( 245 name = "google-cloud-edgecontainer-v1-php", 246 deps = [ 247 ":edgecontainer_php_gapic", 248 ":edgecontainer_php_proto", 249 ], 250) 251 252############################################################################## 253# Node.js 254############################################################################## 255# buildifier: disable=same-origin-load 256load( 257 "@com_google_googleapis_imports//:imports.bzl", 258 "nodejs_gapic_assembly_pkg", 259 "nodejs_gapic_library", 260) 261 262nodejs_gapic_library( 263 name = "edgecontainer_nodejs_gapic", 264 package_name = "@google-cloud/edgecontainer", 265 src = ":edgecontainer_proto_with_info", 266 extra_protoc_parameters = ["metadata"], 267 grpc_service_config = "edgecontainer_grpc_service_config.json", 268 package = "google.cloud.edgecontainer.v1", 269 rest_numeric_enums = True, 270 service_yaml = "edgecontainer_v1.yaml", 271 transport = "grpc+rest", 272 deps = [], 273) 274 275nodejs_gapic_assembly_pkg( 276 name = "edgecontainer-v1-nodejs", 277 deps = [ 278 ":edgecontainer_nodejs_gapic", 279 ":edgecontainer_proto", 280 ], 281) 282 283############################################################################## 284# Ruby 285############################################################################## 286# buildifier: disable=same-origin-load 287load( 288 "@com_google_googleapis_imports//:imports.bzl", 289 "ruby_cloud_gapic_library", 290 "ruby_gapic_assembly_pkg", 291 "ruby_grpc_library", 292 "ruby_proto_library", 293) 294 295ruby_proto_library( 296 name = "edgecontainer_ruby_proto", 297 deps = [":edgecontainer_proto"], 298) 299 300ruby_grpc_library( 301 name = "edgecontainer_ruby_grpc", 302 srcs = [":edgecontainer_proto"], 303 deps = [":edgecontainer_ruby_proto"], 304) 305 306ruby_cloud_gapic_library( 307 name = "edgecontainer_ruby_gapic", 308 srcs = [":edgecontainer_proto_with_info"], 309 extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-edgecontainer-v1"], 310 grpc_service_config = "edgecontainer_grpc_service_config.json", 311 rest_numeric_enums = True, 312 service_yaml = "edgecontainer_v1.yaml", 313 transport = "grpc+rest", 314 deps = [ 315 ":edgecontainer_ruby_grpc", 316 ":edgecontainer_ruby_proto", 317 ], 318) 319 320# Open Source Packages 321ruby_gapic_assembly_pkg( 322 name = "google-cloud-edgecontainer-v1-ruby", 323 deps = [ 324 ":edgecontainer_ruby_gapic", 325 ":edgecontainer_ruby_grpc", 326 ":edgecontainer_ruby_proto", 327 ], 328) 329 330############################################################################## 331# C# 332############################################################################## 333# buildifier: disable=same-origin-load 334load( 335 "@com_google_googleapis_imports//:imports.bzl", 336 "csharp_gapic_assembly_pkg", 337 "csharp_gapic_library", 338 "csharp_grpc_library", 339 "csharp_proto_library", 340) 341 342csharp_proto_library( 343 name = "edgecontainer_csharp_proto", 344 extra_opts = [], 345 deps = [":edgecontainer_proto"], 346) 347 348csharp_grpc_library( 349 name = "edgecontainer_csharp_grpc", 350 srcs = [":edgecontainer_proto"], 351 deps = [":edgecontainer_csharp_proto"], 352) 353 354csharp_gapic_library( 355 name = "edgecontainer_csharp_gapic", 356 srcs = [":edgecontainer_proto_with_info"], 357 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 358 grpc_service_config = "edgecontainer_grpc_service_config.json", 359 rest_numeric_enums = True, 360 service_yaml = "edgecontainer_v1.yaml", 361 transport = "grpc+rest", 362 deps = [ 363 ":edgecontainer_csharp_grpc", 364 ":edgecontainer_csharp_proto", 365 ], 366) 367 368# Open Source Packages 369csharp_gapic_assembly_pkg( 370 name = "google-cloud-edgecontainer-v1-csharp", 371 deps = [ 372 ":edgecontainer_csharp_gapic", 373 ":edgecontainer_csharp_grpc", 374 ":edgecontainer_csharp_proto", 375 ], 376) 377 378############################################################################## 379# C++ 380############################################################################## 381# buildifier: disable=same-origin-load 382load( 383 "@com_google_googleapis_imports//:imports.bzl", 384 "cc_grpc_library", 385 "cc_proto_library", 386) 387 388cc_proto_library( 389 name = "edgecontainer_cc_proto", 390 deps = [":edgecontainer_proto"], 391) 392 393cc_grpc_library( 394 name = "edgecontainer_cc_grpc", 395 srcs = [":edgecontainer_proto"], 396 grpc_only = True, 397 deps = [":edgecontainer_cc_proto"], 398) 399