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 = "agentendpoint_proto", 23 srcs = [ 24 "agentendpoint.proto", 25 "guest_policies.proto", 26 "patch_jobs.proto", 27 "tasks.proto", 28 ], 29 deps = [ 30 "//google/api:annotations_proto", 31 "//google/api:client_proto", 32 "//google/api:field_behavior_proto", 33 ], 34) 35 36proto_library_with_info( 37 name = "agentendpoint_proto_with_info", 38 deps = [ 39 ":agentendpoint_proto", 40 "//google/cloud:common_resources_proto", 41 ], 42) 43 44############################################################################## 45# Java 46############################################################################## 47load( 48 "@com_google_googleapis_imports//:imports.bzl", 49 "java_gapic_assembly_gradle_pkg", 50 "java_gapic_library", 51 "java_gapic_test", 52 "java_grpc_library", 53 "java_proto_library", 54) 55 56java_proto_library( 57 name = "agentendpoint_java_proto", 58 deps = [":agentendpoint_proto"], 59) 60 61java_grpc_library( 62 name = "agentendpoint_java_grpc", 63 srcs = [":agentendpoint_proto"], 64 deps = [":agentendpoint_java_proto"], 65) 66 67java_gapic_library( 68 name = "agentendpoint_java_gapic", 69 srcs = [":agentendpoint_proto_with_info"], 70 gapic_yaml = "osconfig_gapic.yaml", 71 grpc_service_config = "agentendpoint_grpc_service_config.json", 72 rest_numeric_enums = True, 73 service_yaml = "osconfig_v1beta.yaml", 74 test_deps = [ 75 ":agentendpoint_java_grpc", 76 ], 77 transport = "grpc+rest", 78 deps = [ 79 ":agentendpoint_java_proto", 80 "//google/api:api_java_proto", 81 ], 82) 83 84java_gapic_test( 85 name = "agentendpoint_java_gapic_test_suite", 86 test_classes = [ 87 "com.google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointServiceClientTest", 88 ], 89 runtime_deps = [":agentendpoint_java_gapic_test"], 90) 91 92# Open Source Packages 93java_gapic_assembly_gradle_pkg( 94 name = "google-cloud-osconfig-agentendpoint-v1beta-java", 95 include_samples = True, 96 transport = "grpc+rest", 97 deps = [ 98 ":agentendpoint_java_gapic", 99 ":agentendpoint_java_grpc", 100 ":agentendpoint_java_proto", 101 ":agentendpoint_proto", 102 ], 103) 104 105############################################################################## 106# Go 107############################################################################## 108load( 109 "@com_google_googleapis_imports//:imports.bzl", 110 "go_gapic_assembly_pkg", 111 "go_gapic_library", 112 "go_proto_library", 113) 114 115go_proto_library( 116 name = "agentendpoint_go_proto", 117 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 118 importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb", 119 protos = [":agentendpoint_proto"], 120 deps = [ 121 "//google/api:annotations_go_proto", 122 ], 123) 124 125go_gapic_library( 126 name = "agentendpoint_go_gapic", 127 srcs = [":agentendpoint_proto_with_info"], 128 grpc_service_config = "agentendpoint_grpc_service_config.json", 129 importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1beta;agentendpoint", 130 metadata = True, 131 release_level = "beta", 132 rest_numeric_enums = True, 133 service_yaml = "osconfig_v1beta.yaml", 134 transport = "grpc+rest", 135 deps = [ 136 ":agentendpoint_go_proto", 137 ], 138) 139 140# Open Source Packages 141go_gapic_assembly_pkg( 142 name = "gapi-cloud-osconfig-agentendpoint-v1beta-go", 143 deps = [ 144 ":agentendpoint_go_gapic", 145 ":agentendpoint_go_gapic_srcjar-metadata.srcjar", 146 ":agentendpoint_go_gapic_srcjar-snippets.srcjar", 147 ":agentendpoint_go_gapic_srcjar-test.srcjar", 148 ":agentendpoint_go_proto", 149 ], 150) 151 152############################################################################## 153# Python 154############################################################################## 155load( 156 "@com_google_googleapis_imports//:imports.bzl", 157 "py_gapic_assembly_pkg", 158 "py_gapic_library", 159 "py_test", 160) 161 162py_gapic_library( 163 name = "agentendpoint_py_gapic", 164 srcs = [":agentendpoint_proto"], 165 grpc_service_config = "agentendpoint_grpc_service_config.json", 166 rest_numeric_enums = True, 167 service_yaml = "osconfig_v1beta.yaml", 168 transport = "grpc", 169) 170 171py_test( 172 name = "agentendpoint_py_gapic_test", 173 srcs = [ 174 "agentendpoint_py_gapic_pytest.py", 175 "agentendpoint_py_gapic_test.py", 176 ], 177 legacy_create_init = False, 178 deps = [":agentendpoint_py_gapic"], 179) 180 181# Open Source Packages 182py_gapic_assembly_pkg( 183 name = "osconfig-agentendpoint-v1beta-py", 184 deps = [ 185 ":agentendpoint_py_gapic", 186 ], 187) 188 189############################################################################## 190# PHP 191############################################################################## 192load( 193 "@com_google_googleapis_imports//:imports.bzl", 194 "php_gapic_assembly_pkg", 195 "php_gapic_library", 196 "php_proto_library", 197) 198 199php_proto_library( 200 name = "agentendpoint_php_proto", 201 deps = [":agentendpoint_proto"], 202) 203 204php_gapic_library( 205 name = "agentendpoint_php_gapic", 206 srcs = [":agentendpoint_proto_with_info"], 207 grpc_service_config = "agentendpoint_grpc_service_config.json", 208 rest_numeric_enums = True, 209 service_yaml = "osconfig_v1beta.yaml", 210 transport = "grpc+rest", 211 deps = [":agentendpoint_php_proto"], 212) 213 214# Open Source Packages 215php_gapic_assembly_pkg( 216 name = "google-cloud-osconfig-agentendpoint-v1beta-php", 217 deps = [ 218 ":agentendpoint_php_gapic", 219 ":agentendpoint_php_proto", 220 ], 221) 222 223############################################################################## 224# Node.js 225############################################################################## 226load( 227 "@com_google_googleapis_imports//:imports.bzl", 228 "nodejs_gapic_assembly_pkg", 229 "nodejs_gapic_library", 230) 231 232nodejs_gapic_library( 233 name = "agentendpoint_nodejs_gapic", 234 package_name = "@google-cloud/agentendpoint", 235 src = ":agentendpoint_proto_with_info", 236 extra_protoc_parameters = ["metadata"], 237 grpc_service_config = "agentendpoint_grpc_service_config.json", 238 package = "google.cloud.osconfig.agentendpoint.v1beta", 239 rest_numeric_enums = True, 240 service_yaml = "osconfig_v1beta.yaml", 241 transport = "grpc+rest", 242 deps = [], 243) 244 245nodejs_gapic_assembly_pkg( 246 name = "osconfig-agentendpoint-v1beta-nodejs", 247 deps = [ 248 ":agentendpoint_nodejs_gapic", 249 ":agentendpoint_proto", 250 ], 251) 252 253############################################################################## 254# Ruby 255############################################################################## 256load( 257 "@com_google_googleapis_imports//:imports.bzl", 258 "ruby_cloud_gapic_library", 259 "ruby_gapic_assembly_pkg", 260 "ruby_grpc_library", 261 "ruby_proto_library", 262) 263 264ruby_proto_library( 265 name = "agentendpoint_ruby_proto", 266 deps = [":agentendpoint_proto"], 267) 268 269ruby_grpc_library( 270 name = "agentendpoint_ruby_grpc", 271 srcs = [":agentendpoint_proto"], 272 deps = [":agentendpoint_ruby_proto"], 273) 274 275ruby_cloud_gapic_library( 276 name = "agentendpoint_ruby_gapic", 277 srcs = [":agentendpoint_proto_with_info"], 278 extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-agentendpoint-v1beta"], 279 grpc_service_config = "agentendpoint_grpc_service_config.json", 280 rest_numeric_enums = True, 281 service_yaml = "osconfig_v1beta.yaml", 282 transport = "grpc", 283 deps = [ 284 ":agentendpoint_ruby_grpc", 285 ":agentendpoint_ruby_proto", 286 ], 287) 288 289# Open Source Packages 290ruby_gapic_assembly_pkg( 291 name = "google-cloud-osconfig-agentendpoint-v1beta-ruby", 292 deps = [ 293 ":agentendpoint_ruby_gapic", 294 ":agentendpoint_ruby_grpc", 295 ":agentendpoint_ruby_proto", 296 ], 297) 298 299############################################################################## 300# C# 301############################################################################## 302load( 303 "@com_google_googleapis_imports//:imports.bzl", 304 "csharp_gapic_assembly_pkg", 305 "csharp_gapic_library", 306 "csharp_grpc_library", 307 "csharp_proto_library", 308) 309 310csharp_proto_library( 311 name = "agentendpoint_csharp_proto", 312 deps = [":agentendpoint_proto"], 313) 314 315csharp_grpc_library( 316 name = "agentendpoint_csharp_grpc", 317 srcs = [":agentendpoint_proto"], 318 deps = [":agentendpoint_csharp_proto"], 319) 320 321csharp_gapic_library( 322 name = "agentendpoint_csharp_gapic", 323 srcs = [":agentendpoint_proto_with_info"], 324 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 325 grpc_service_config = "agentendpoint_grpc_service_config.json", 326 rest_numeric_enums = True, 327 service_yaml = "osconfig_v1beta.yaml", 328 transport = "grpc", 329 deps = [ 330 ":agentendpoint_csharp_grpc", 331 ":agentendpoint_csharp_proto", 332 ], 333) 334 335# Open Source Packages 336csharp_gapic_assembly_pkg( 337 name = "google-cloud-osconfig-agentendpoint-v1beta-csharp", 338 deps = [ 339 ":agentendpoint_csharp_gapic", 340 ":agentendpoint_csharp_grpc", 341 ":agentendpoint_csharp_proto", 342 ], 343) 344 345############################################################################## 346# C++ 347############################################################################## 348load( 349 "@com_google_googleapis_imports//:imports.bzl", 350 "cc_grpc_library", 351 "cc_proto_library", 352) 353 354cc_proto_library( 355 name = "agentendpoint_cc_proto", 356 deps = [":agentendpoint_proto"], 357) 358 359cc_grpc_library( 360 name = "agentendpoint_cc_grpc", 361 srcs = [":agentendpoint_proto"], 362 grpc_only = True, 363 deps = [":agentendpoint_cc_proto"], 364) 365