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