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############################################################################## 13# Common 14############################################################################## 15load("@rules_proto//proto:defs.bzl", "proto_library") 16load( 17 "@com_google_googleapis_imports//:imports.bzl", 18 "cc_grpc_library", 19 "cc_proto_library", 20 "csharp_gapic_assembly_pkg", 21 "csharp_gapic_library", 22 "csharp_grpc_library", 23 "csharp_proto_library", 24 "go_gapic_assembly_pkg", 25 "go_gapic_library", 26 "go_proto_library", 27 "java_gapic_assembly_gradle_pkg", 28 "java_gapic_library", 29 "java_gapic_test", 30 "java_grpc_library", 31 "java_proto_library", 32 "nodejs_gapic_assembly_pkg", 33 "nodejs_gapic_library", 34 "php_gapic_assembly_pkg", 35 "php_gapic_library", 36 "php_proto_library", 37 "proto_library_with_info", 38 "py_gapic_assembly_pkg", 39 "py_gapic_library", 40 "py_test", 41 "ruby_cloud_gapic_library", 42 "ruby_gapic_assembly_pkg", 43 "ruby_grpc_library", 44 "ruby_proto_library", 45) 46 47# This is an API workspace, having public visibility by default makes perfect sense. 48package(default_visibility = ["//visibility:public"]) 49 50proto_library( 51 name = "uidetection_proto", 52 srcs = [ 53 "ui_detection.proto", 54 ], 55 deps = [ 56 "//google/api:annotations_proto", 57 "//google/api:client_proto", 58 "//google/api:field_behavior_proto", 59 ], 60) 61 62proto_library_with_info( 63 name = "uidetection_proto_with_info", 64 deps = [ 65 ":uidetection_proto", 66 "//google/cloud:common_resources_proto", 67 ], 68) 69 70java_proto_library( 71 name = "uidetection_java_proto", 72 deps = [":uidetection_proto"], 73) 74 75java_grpc_library( 76 name = "uidetection_java_grpc", 77 srcs = [":uidetection_proto"], 78 deps = [":uidetection_java_proto"], 79) 80 81java_gapic_library( 82 name = "uidetection_java_gapic", 83 srcs = [":uidetection_proto_with_info"], 84 gapic_yaml = None, 85 grpc_service_config = "ui_detection_grpc_service_config.json", 86 rest_numeric_enums = True, 87 service_yaml = "chromeosuidetection_v1.yaml", 88 test_deps = [ 89 ":uidetection_java_grpc", 90 ], 91 transport = "grpc+rest", 92 deps = [ 93 ":uidetection_java_proto", 94 "//google/api:api_java_proto", 95 ], 96) 97 98java_gapic_test( 99 name = "uidetection_java_gapic_test_suite", 100 test_classes = [ 101 "com.google.chromeos.uidetection.v1.UiDetectionServiceClientHttpJsonTest", 102 "com.google.chromeos.uidetection.v1.UiDetectionServiceClientTest", 103 ], 104 runtime_deps = [":uidetection_java_gapic_test"], 105) 106 107# Open Source Packages 108java_gapic_assembly_gradle_pkg( 109 name = "google-cloud-chromeos-uidetection-v1-java", 110 include_samples = True, 111 transport = "grpc+rest", 112 deps = [ 113 ":uidetection_java_gapic", 114 ":uidetection_java_grpc", 115 ":uidetection_java_proto", 116 ":uidetection_proto", 117 ], 118) 119 120go_proto_library( 121 name = "uidetection_go_proto", 122 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 123 importpath = "google.golang.org/genproto/googleapis/chromeos/uidetection/v1", 124 protos = [":uidetection_proto"], 125 deps = [ 126 "//google/api:annotations_go_proto", 127 ], 128) 129 130go_gapic_library( 131 name = "uidetection_go_gapic", 132 srcs = [":uidetection_proto_with_info"], 133 grpc_service_config = "ui_detection_grpc_service_config.json", 134 importpath = "google.golang.org/google/chromeos/uidetection/v1;uidetection", 135 metadata = True, 136 rest_numeric_enums = True, 137 service_yaml = "chromeosuidetection_v1.yaml", 138 transport = "grpc+rest", 139 deps = [ 140 ":uidetection_go_proto", 141 ], 142) 143 144# Open Source Packages 145go_gapic_assembly_pkg( 146 name = "gapi-cloud-chromeos-uidetection-v1-go", 147 deps = [ 148 ":uidetection_go_gapic", 149 ":uidetection_go_gapic_srcjar-metadata.srcjar", 150 ":uidetection_go_gapic_srcjar-snippets.srcjar", 151 ":uidetection_go_gapic_srcjar-test.srcjar", 152 ":uidetection_go_proto", 153 ], 154) 155 156py_gapic_library( 157 name = "uidetection_py_gapic", 158 srcs = [":uidetection_proto"], 159 grpc_service_config = "ui_detection_grpc_service_config.json", 160 rest_numeric_enums = True, 161 service_yaml = "chromeosuidetection_v1.yaml", 162 transport = "grpc+rest", 163) 164 165py_test( 166 name = "uidetection_py_gapic_test", 167 srcs = [ 168 "uidetection_py_gapic_pytest.py", 169 "uidetection_py_gapic_test.py", 170 ], 171 legacy_create_init = False, 172 deps = [":uidetection_py_gapic"], 173) 174 175# Open Source Packages 176py_gapic_assembly_pkg( 177 name = "chromeos-uidetection-v1-py", 178 deps = [ 179 ":uidetection_py_gapic", 180 ], 181) 182 183php_proto_library( 184 name = "uidetection_php_proto", 185 deps = [":uidetection_proto"], 186) 187 188php_gapic_library( 189 name = "uidetection_php_gapic", 190 srcs = [":uidetection_proto_with_info"], 191 grpc_service_config = "ui_detection_grpc_service_config.json", 192 rest_numeric_enums = True, 193 service_yaml = "chromeosuidetection_v1.yaml", 194 transport = "grpc+rest", 195 deps = [":uidetection_php_proto"], 196) 197 198# Open Source Packages 199php_gapic_assembly_pkg( 200 name = "google-cloud-chromeos-uidetection-v1-php", 201 deps = [ 202 ":uidetection_php_gapic", 203 ":uidetection_php_proto", 204 ], 205) 206 207nodejs_gapic_library( 208 name = "uidetection_nodejs_gapic", 209 package_name = "@google-cloud/uidetection", 210 src = ":uidetection_proto_with_info", 211 extra_protoc_parameters = ["metadata"], 212 grpc_service_config = "ui_detection_grpc_service_config.json", 213 package = "google.chromeos.uidetection.v1", 214 rest_numeric_enums = True, 215 service_yaml = "chromeosuidetection_v1.yaml", 216 transport = "grpc+rest", 217 deps = [], 218) 219 220nodejs_gapic_assembly_pkg( 221 name = "chromeos-uidetection-v1-nodejs", 222 deps = [ 223 ":uidetection_nodejs_gapic", 224 ":uidetection_proto", 225 ], 226) 227 228ruby_proto_library( 229 name = "uidetection_ruby_proto", 230 deps = [":uidetection_proto"], 231) 232 233ruby_grpc_library( 234 name = "uidetection_ruby_grpc", 235 srcs = [":uidetection_proto"], 236 deps = [":uidetection_ruby_proto"], 237) 238 239ruby_cloud_gapic_library( 240 name = "uidetection_ruby_gapic", 241 srcs = [":uidetection_proto_with_info"], 242 extra_protoc_parameters = [ 243 "ruby-cloud-gem-name=google-cloud-chromeos-uidetection-v1", 244 ], 245 grpc_service_config = "ui_detection_grpc_service_config.json", 246 rest_numeric_enums = True, 247 service_yaml = "chromeosuidetection_v1.yaml", 248 transport = "grpc+rest", 249 deps = [ 250 ":uidetection_ruby_grpc", 251 ":uidetection_ruby_proto", 252 ], 253) 254 255# Open Source Packages 256ruby_gapic_assembly_pkg( 257 name = "google-cloud-chromeos-uidetection-v1-ruby", 258 deps = [ 259 ":uidetection_ruby_gapic", 260 ":uidetection_ruby_grpc", 261 ":uidetection_ruby_proto", 262 ], 263) 264 265csharp_proto_library( 266 name = "uidetection_csharp_proto", 267 deps = [":uidetection_proto"], 268) 269 270csharp_grpc_library( 271 name = "uidetection_csharp_grpc", 272 srcs = [":uidetection_proto"], 273 deps = [":uidetection_csharp_proto"], 274) 275 276csharp_gapic_library( 277 name = "uidetection_csharp_gapic", 278 srcs = [":uidetection_proto_with_info"], 279 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 280 grpc_service_config = "ui_detection_grpc_service_config.json", 281 rest_numeric_enums = True, 282 service_yaml = "chromeosuidetection_v1.yaml", 283 transport = "grpc+rest", 284 deps = [ 285 ":uidetection_csharp_grpc", 286 ":uidetection_csharp_proto", 287 ], 288) 289 290# Open Source Packages 291csharp_gapic_assembly_pkg( 292 name = "google-cloud-chromeos-uidetection-v1-csharp", 293 deps = [ 294 ":uidetection_csharp_gapic", 295 ":uidetection_csharp_grpc", 296 ":uidetection_csharp_proto", 297 ], 298) 299 300cc_proto_library( 301 name = "uidetection_cc_proto", 302 deps = [":uidetection_proto"], 303) 304 305cc_grpc_library( 306 name = "uidetection_cc_grpc", 307 srcs = [":uidetection_proto"], 308 grpc_only = True, 309 deps = [":uidetection_cc_proto"], 310) 311